@deallony/shared 1.0.81 → 1.0.84
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/dist/cjs/abstract/baseService.d.ts +24 -0
- package/dist/cjs/abstract/baseService.js +6 -0
- package/dist/cjs/index.d.ts +3 -0
- package/dist/cjs/index.js +42 -0
- package/dist/{types/AdType.d.ts → cjs/types/ad/Ad.d.ts} +17 -19
- package/dist/cjs/types/ad/Ad.js +25 -0
- package/dist/cjs/types/ad/AdLocation.js +2 -0
- package/dist/{types/AdPromotionType.d.ts → cjs/types/ad/AdPromotion.d.ts} +3 -3
- package/dist/cjs/types/ad/AdPromotion.js +2 -0
- package/dist/cjs/types/ad/index.d.ts +3 -0
- package/dist/cjs/types/ad/index.js +19 -0
- package/dist/cjs/types/ad-common/Feature.d.ts +7 -0
- package/dist/cjs/types/ad-common/Feature.js +2 -0
- package/dist/cjs/types/ad-common/OfferType.d.ts +5 -0
- package/dist/cjs/types/ad-common/OfferType.js +2 -0
- package/dist/{types/PriceTypeType.d.ts → cjs/types/ad-common/PriceType.d.ts} +2 -2
- package/dist/cjs/types/ad-common/PriceType.js +2 -0
- package/dist/cjs/types/ad-common/PublisherType.d.ts +5 -0
- package/dist/cjs/types/ad-common/PublisherType.js +2 -0
- package/dist/cjs/types/ad-common/UsedProductAge.d.ts +7 -0
- package/dist/cjs/types/ad-common/UsedProductAge.js +2 -0
- package/dist/cjs/types/ad-common/UsedProductCondition.d.ts +7 -0
- package/dist/cjs/types/ad-common/UsedProductCondition.js +2 -0
- package/dist/cjs/types/ad-common/index.d.ts +6 -0
- package/dist/cjs/types/ad-common/index.js +25 -0
- package/dist/{types → cjs/types}/analysis/AnalysisDailySnapshot.d.ts +0 -3
- package/dist/cjs/types/analysis/AnalysisDailySnapshot.js +2 -0
- package/dist/cjs/types/analysis/index.d.ts +1 -0
- package/dist/cjs/types/analysis/index.js +2 -0
- package/dist/cjs/types/attributes/CarBody.d.ts +5 -0
- package/dist/cjs/types/attributes/CarBody.js +2 -0
- package/dist/cjs/types/attributes/Category.d.ts +17 -0
- package/dist/cjs/types/attributes/Category.js +2 -0
- package/dist/{types/CategoryWorkTypeType.d.ts → cjs/types/attributes/CategoryWorkType.d.ts} +3 -3
- package/dist/cjs/types/attributes/CategoryWorkType.js +2 -0
- package/dist/cjs/types/attributes/Color.d.ts +5 -0
- package/dist/cjs/types/attributes/Color.js +2 -0
- package/dist/{types/CurrencyType.d.ts → cjs/types/attributes/Currency.d.ts} +1 -2
- package/dist/cjs/types/attributes/Currency.js +2 -0
- package/dist/cjs/types/attributes/Facility.d.ts +6 -0
- package/dist/cjs/types/attributes/Facility.js +2 -0
- package/dist/cjs/types/attributes/Feature.d.ts +7 -0
- package/dist/cjs/types/attributes/Feature.js +2 -0
- package/dist/cjs/types/attributes/FuelType.d.ts +5 -0
- package/dist/cjs/types/attributes/FuelType.js +2 -0
- package/dist/cjs/types/attributes/LicenseType.d.ts +5 -0
- package/dist/cjs/types/attributes/LicenseType.js +2 -0
- package/dist/cjs/types/attributes/OfferType.d.ts +5 -0
- package/dist/cjs/types/attributes/OfferType.js +2 -0
- package/dist/cjs/types/attributes/PriceType.d.ts +7 -0
- package/dist/cjs/types/attributes/PriceType.js +2 -0
- package/dist/cjs/types/attributes/PropertyStatus.d.ts +5 -0
- package/dist/cjs/types/attributes/PropertyStatus.js +2 -0
- package/dist/cjs/types/attributes/PublisherType.d.ts +5 -0
- package/dist/cjs/types/attributes/PublisherType.js +2 -0
- package/dist/cjs/types/attributes/RegionalSpec.d.ts +5 -0
- package/dist/cjs/types/attributes/RegionalSpec.js +2 -0
- package/dist/cjs/types/attributes/Transmission.d.ts +5 -0
- package/dist/cjs/types/attributes/Transmission.js +2 -0
- package/dist/{types/UnitType.d.ts → cjs/types/attributes/Unit.d.ts} +1 -1
- package/dist/cjs/types/attributes/Unit.js +2 -0
- package/dist/cjs/types/attributes/UsedProductAge.d.ts +7 -0
- package/dist/cjs/types/attributes/UsedProductAge.js +2 -0
- package/dist/cjs/types/attributes/UsedProductCondition.d.ts +7 -0
- package/dist/cjs/types/attributes/UsedProductCondition.js +2 -0
- package/dist/{types/WorkTypeType.d.ts → cjs/types/attributes/WorkType.d.ts} +1 -1
- package/dist/cjs/types/attributes/WorkType.js +2 -0
- package/dist/cjs/types/attributes/index.d.ts +4 -0
- package/dist/cjs/types/attributes/index.js +20 -0
- package/dist/cjs/types/common/AccessType.js +2 -0
- package/dist/cjs/types/common/Config.js +2 -0
- package/dist/{types/LocalizedNameType.d.ts → cjs/types/common/LocalizedName.d.ts} +2 -2
- package/dist/cjs/types/common/LocalizedName.js +5 -0
- package/dist/{types/ResponseType.d.ts → cjs/types/common/Response.d.ts} +1 -1
- package/dist/cjs/types/common/Response.js +2 -0
- package/dist/{types/StatusType.d.ts → cjs/types/common/Status.d.ts} +3 -3
- package/dist/cjs/types/common/Status.js +2 -0
- package/dist/{types/SubjectType.d.ts → cjs/types/common/Subject.d.ts} +4 -5
- package/dist/cjs/types/common/Subject.js +16 -0
- package/dist/cjs/types/common/index.d.ts +5 -0
- package/dist/cjs/types/common/index.js +21 -0
- package/dist/{types/AppStartScreenType.d.ts → cjs/types/communication/AppStartScreen.d.ts} +2 -2
- package/dist/cjs/types/communication/AppStartScreen.js +2 -0
- package/dist/{types/ChatType.d.ts → cjs/types/communication/Chat.d.ts} +7 -7
- package/dist/cjs/types/communication/Chat.js +8 -0
- package/dist/{types/DeviceType.d.ts → cjs/types/communication/Device.d.ts} +1 -1
- package/dist/cjs/types/communication/Device.js +2 -0
- package/dist/{types/MessageTemplateType.d.ts → cjs/types/communication/MessageTemplate.d.ts} +1 -1
- package/dist/cjs/types/communication/MessageTemplate.js +2 -0
- package/dist/{types/NotificationTokenType.d.ts → cjs/types/communication/NotificationToken.d.ts} +1 -1
- package/dist/cjs/types/communication/NotificationToken.js +2 -0
- package/dist/cjs/types/communication/index.d.ts +5 -0
- package/dist/cjs/types/communication/index.js +21 -0
- package/dist/{types/AdminBoundaryType.d.ts → cjs/types/geo/AdminBoundary.d.ts} +2 -2
- package/dist/cjs/types/geo/AdminBoundary.js +2 -0
- package/dist/cjs/types/geo/City.d.ts +10 -0
- package/dist/cjs/types/geo/City.js +2 -0
- package/dist/{types/DistrictType.d.ts → cjs/types/geo/District.d.ts} +2 -2
- package/dist/cjs/types/geo/District.js +2 -0
- package/dist/cjs/types/geo/index.d.ts +3 -0
- package/dist/cjs/types/geo/index.js +19 -0
- package/dist/cjs/types/index.d.ts +53 -0
- package/dist/cjs/types/index.js +99 -0
- package/dist/cjs/types/integrations/Google.js +2 -0
- package/dist/cjs/types/integrations/index.d.ts +1 -0
- package/dist/cjs/types/integrations/index.js +17 -0
- package/dist/cjs/types/listings/Ad.d.ts +93 -0
- package/dist/cjs/types/listings/Ad.js +25 -0
- package/dist/cjs/types/listings/AdLocation.d.ts +5 -0
- package/dist/cjs/types/listings/AdLocation.js +2 -0
- package/dist/cjs/types/listings/AdPromotion.d.ts +12 -0
- package/dist/cjs/types/listings/AdPromotion.js +2 -0
- package/dist/{types/MotorType.d.ts → cjs/types/listings/Motor.d.ts} +3 -4
- package/dist/cjs/types/listings/Motor.js +17 -0
- package/dist/cjs/types/listings/MotorTrim.d.ts +6 -0
- package/dist/cjs/types/listings/MotorTrim.js +2 -0
- package/dist/{types/PropertyType.d.ts → cjs/types/listings/Property.d.ts} +17 -18
- package/dist/cjs/types/listings/Property.js +14 -0
- package/dist/cjs/types/listings/PropertySubType.d.ts +6 -0
- package/dist/cjs/types/listings/PropertySubType.js +2 -0
- package/dist/cjs/types/listings/Service.d.ts +14 -0
- package/dist/cjs/types/listings/Service.js +9 -0
- package/dist/{types/UsedProductType.d.ts → cjs/types/listings/UsedProduct.d.ts} +2 -3
- package/dist/cjs/types/listings/UsedProduct.js +7 -0
- package/dist/cjs/types/listings/index.d.ts +5 -0
- package/dist/cjs/types/listings/index.js +21 -0
- package/dist/{types/ImageType.d.ts → cjs/types/media/Image.d.ts} +1 -1
- package/dist/cjs/types/media/Image.js +2 -0
- package/dist/cjs/types/media/Media.js +2 -0
- package/dist/{types/SocialMediaPlatformType.d.ts → cjs/types/media/SocialMediaPlatform.d.ts} +2 -2
- package/dist/cjs/types/media/SocialMediaPlatform.js +2 -0
- package/dist/{types/SocialMediaProfileType.d.ts → cjs/types/media/SocialMediaProfile.d.ts} +1 -1
- package/dist/cjs/types/media/SocialMediaProfile.js +2 -0
- package/dist/cjs/types/media/index.d.ts +4 -0
- package/dist/cjs/types/media/index.js +20 -0
- package/dist/cjs/types/motor/CarBody.d.ts +5 -0
- package/dist/cjs/types/motor/CarBody.js +2 -0
- package/dist/cjs/types/motor/FuelType.d.ts +5 -0
- package/dist/cjs/types/motor/FuelType.js +2 -0
- package/dist/cjs/types/motor/Motor.d.ts +24 -0
- package/dist/cjs/types/motor/Motor.js +17 -0
- package/dist/cjs/types/motor/MotorTrim.d.ts +6 -0
- package/dist/cjs/types/motor/MotorTrim.js +2 -0
- package/dist/cjs/types/motor/RegionalSpec.d.ts +5 -0
- package/dist/cjs/types/motor/RegionalSpec.js +2 -0
- package/dist/cjs/types/motor/Transmission.d.ts +5 -0
- package/dist/cjs/types/motor/Transmission.js +2 -0
- package/dist/cjs/types/motor/index.d.ts +6 -0
- package/dist/cjs/types/motor/index.js +22 -0
- package/dist/cjs/types/property/Facility.d.ts +6 -0
- package/dist/cjs/types/property/Facility.js +2 -0
- package/dist/cjs/types/property/LicenseType.d.ts +5 -0
- package/dist/cjs/types/property/LicenseType.js +2 -0
- package/dist/cjs/types/property/Property.d.ts +37 -0
- package/dist/cjs/types/property/Property.js +14 -0
- package/dist/cjs/types/property/PropertyStatus.d.ts +5 -0
- package/dist/cjs/types/property/PropertyStatus.js +2 -0
- package/dist/cjs/types/property/PropertySubType.d.ts +6 -0
- package/dist/cjs/types/property/PropertySubType.js +2 -0
- package/dist/cjs/types/property/index.d.ts +5 -0
- package/dist/cjs/types/property/index.js +21 -0
- package/dist/cjs/types/service/AccessType.d.ts +5 -0
- package/dist/cjs/types/service/AccessType.js +2 -0
- package/dist/cjs/types/service/Service.d.ts +14 -0
- package/dist/cjs/types/service/Service.js +9 -0
- package/dist/cjs/types/service/Unit.d.ts +5 -0
- package/dist/cjs/types/service/Unit.js +2 -0
- package/dist/cjs/types/service/WorkType.d.ts +6 -0
- package/dist/cjs/types/service/WorkType.js +2 -0
- package/dist/cjs/types/service/index.d.ts +4 -0
- package/dist/cjs/types/service/index.js +20 -0
- package/dist/cjs/types/used-product/UsedProduct.d.ts +8 -0
- package/dist/cjs/types/used-product/UsedProduct.js +7 -0
- package/dist/cjs/types/used-product/index.d.ts +1 -0
- package/dist/cjs/types/used-product/index.js +17 -0
- package/dist/cjs/types/user/Permission.d.ts +6 -0
- package/dist/cjs/types/user/Permission.js +6 -0
- package/dist/{types/PotentialUserType.d.ts → cjs/types/user/PotentialUser.d.ts} +3 -3
- package/dist/cjs/types/user/PotentialUser.js +2 -0
- package/dist/{types/RoleType.d.ts → cjs/types/user/Role.d.ts} +1 -1
- package/dist/cjs/types/user/Role.js +2 -0
- package/dist/cjs/types/user/User.d.ts +33 -0
- package/dist/cjs/types/user/User.js +2 -0
- package/dist/{types/WalletType.d.ts → cjs/types/user/Wallet.d.ts} +1 -1
- package/dist/cjs/types/user/Wallet.js +2 -0
- package/dist/cjs/types/user/index.d.ts +5 -0
- package/dist/cjs/types/user/index.js +21 -0
- package/dist/cjs/utils/converter.js +10 -0
- package/dist/cjs/utils/translation.d.ts +6 -0
- package/dist/cjs/utils/translation.js +11 -0
- package/dist/cjs/validation/ad/save-ad.js +55 -0
- package/dist/esm/abstract/baseService.js +2 -0
- package/dist/esm/index.js +3 -0
- package/dist/esm/types/ad/Ad.js +22 -0
- package/dist/esm/types/ad/index.js +3 -0
- package/dist/esm/types/ad-common/index.js +9 -0
- package/dist/esm/types/attributes/index.js +4 -0
- package/dist/{types/LocalizedNameType.js → esm/types/common/LocalizedName.js} +0 -1
- package/dist/{types/SubjectType.js → esm/types/common/Subject.js} +4 -4
- package/dist/esm/types/common/index.js +5 -0
- package/dist/esm/types/communication/Chat.js +5 -0
- package/dist/esm/types/communication/index.js +5 -0
- package/dist/esm/types/geo/index.js +3 -0
- package/dist/esm/types/index.js +62 -0
- package/dist/esm/types/integrations/index.js +1 -0
- package/dist/{types/AdType.js → esm/types/listings/Ad.js} +8 -5
- package/dist/{types/UsedProductType.js → esm/types/listings/UsedProduct.js} +0 -1
- package/dist/esm/types/listings/index.js +5 -0
- package/dist/esm/types/media/SocialMediaPlatform.js +1 -0
- package/dist/esm/types/media/SocialMediaProfile.js +1 -0
- package/dist/esm/types/media/index.js +4 -0
- package/dist/esm/types/motor/CarBody.js +1 -0
- package/dist/esm/types/motor/FuelType.js +1 -0
- package/dist/esm/types/motor/Motor.js +14 -0
- package/dist/esm/types/motor/MotorTrim.js +1 -0
- package/dist/esm/types/motor/RegionalSpec.js +1 -0
- package/dist/esm/types/motor/Transmission.js +1 -0
- package/dist/esm/types/motor/index.js +6 -0
- package/dist/esm/types/property/Facility.js +1 -0
- package/dist/esm/types/property/LicenseType.js +1 -0
- package/dist/esm/types/property/Property.js +11 -0
- package/dist/esm/types/property/PropertyStatus.js +1 -0
- package/dist/esm/types/property/PropertySubType.js +1 -0
- package/dist/esm/types/property/index.js +5 -0
- package/dist/esm/types/service/AccessType.js +1 -0
- package/dist/esm/types/service/Service.js +6 -0
- package/dist/esm/types/service/Unit.js +1 -0
- package/dist/esm/types/service/WorkType.js +1 -0
- package/dist/esm/types/service/index.js +4 -0
- package/dist/esm/types/used-product/UsedProduct.js +4 -0
- package/dist/esm/types/used-product/index.js +1 -0
- package/dist/esm/types/user/PotentialUser.js +1 -0
- package/dist/esm/types/user/Role.js +1 -0
- package/dist/esm/types/user/User.js +1 -0
- package/dist/esm/types/user/Wallet.js +1 -0
- package/dist/esm/types/user/index.js +5 -0
- package/package.json +15 -5
- package/dist/index.d.ts +0 -3
- package/dist/index.js +0 -2
- package/dist/types/BaseService.d.ts +0 -7
- package/dist/types/CarBodyType.d.ts +0 -5
- package/dist/types/CategoryType.d.ts +0 -17
- package/dist/types/ChatType.js +0 -5
- package/dist/types/CityType.d.ts +0 -11
- package/dist/types/ColorType.d.ts +0 -5
- package/dist/types/FacilityType.d.ts +0 -6
- package/dist/types/FeatureType.d.ts +0 -7
- package/dist/types/FuelTypeType.d.ts +0 -5
- package/dist/types/LicenseTypeType.d.ts +0 -5
- package/dist/types/MotorTrimType.d.ts +0 -6
- package/dist/types/OfferTypeType.d.ts +0 -5
- package/dist/types/PermissionType.d.ts +0 -6
- package/dist/types/PropertyStatusType.d.ts +0 -5
- package/dist/types/PropertyTypeType.d.ts +0 -6
- package/dist/types/PublisherTypeType.d.ts +0 -5
- package/dist/types/RegionalSpecType.d.ts +0 -5
- package/dist/types/ResponseType.js +0 -2
- package/dist/types/ServiceType.d.ts +0 -10
- package/dist/types/ServicesLocationsType.d.ts +0 -6
- package/dist/types/TransmissionType.d.ts +0 -5
- package/dist/types/UsedProductAge.d.ts +0 -7
- package/dist/types/UsedProductCondation.d.ts +0 -7
- package/dist/types/UsedProductCondition.d.ts +0 -7
- package/dist/types/UserType.d.ts +0 -34
- package/dist/types/__index__.d.ts +0 -56
- package/dist/types/__index__.js +0 -57
- package/dist/types/analysis/__index.d.ts +0 -1
- package/dist/types/index.d.ts +0 -5
- package/dist/types/index.js +0 -5
- package/dist/types/product/ProductCategoryType.d.ts +0 -15
- package/dist/types/product/ProductCategoryType.js +0 -1
- package/dist/types/product/UsedProductAge.d.ts +0 -7
- package/dist/types/product/UsedProductAge.js +0 -1
- package/dist/types/product/UsedProductCondation.d.ts +0 -7
- package/dist/types/product/UsedProductCondation.js +0 -1
- package/dist/types/product/UsedProductType.d.ts +0 -6
- package/dist/types/product/UsedProductType.js +0 -2
- package/dist/utils/translation.d.ts +0 -6
- /package/dist/{types/AdLocationType.d.ts → cjs/types/ad/AdLocation.d.ts} +0 -0
- /package/dist/{types/AccessTypeType.d.ts → cjs/types/common/AccessType.d.ts} +0 -0
- /package/dist/{types/ConfigType.d.ts → cjs/types/common/Config.d.ts} +0 -0
- /package/dist/{types/GoogleType.d.ts → cjs/types/integrations/Google.d.ts} +0 -0
- /package/dist/{types/MediaType.d.ts → cjs/types/media/Media.d.ts} +0 -0
- /package/dist/{utils → cjs/utils}/converter.d.ts +0 -0
- /package/dist/{validation → cjs/validation}/ad/save-ad.d.ts +0 -0
- /package/dist/{types/AppStartScreenType.js → esm/types/ad/AdLocation.js} +0 -0
- /package/dist/{types/BaseService.js → esm/types/ad/AdPromotion.js} +0 -0
- /package/dist/{types/AccessTypeType.js → esm/types/ad-common/Feature.js} +0 -0
- /package/dist/{types/AdLocationType.js → esm/types/ad-common/OfferType.js} +0 -0
- /package/dist/{types/AdPromotionType.js → esm/types/ad-common/PriceType.js} +0 -0
- /package/dist/{types/AdminBoundaryType.js → esm/types/ad-common/PublisherType.js} +0 -0
- /package/dist/{types → esm/types/ad-common}/UsedProductAge.js +0 -0
- /package/dist/{types → esm/types/ad-common}/UsedProductCondition.js +0 -0
- /package/dist/{types → esm/types}/analysis/AnalysisDailySnapshot.js +0 -0
- /package/dist/{types/CarBodyType.js → esm/types/analysis/index.js} +0 -0
- /package/dist/{types/CategoryType.js → esm/types/attributes/CarBody.js} +0 -0
- /package/dist/{types/CategoryWorkTypeType.js → esm/types/attributes/Category.js} +0 -0
- /package/dist/{types/CityType.js → esm/types/attributes/CategoryWorkType.js} +0 -0
- /package/dist/{types/ColorType.js → esm/types/attributes/Color.js} +0 -0
- /package/dist/{types/ConfigType.js → esm/types/attributes/Currency.js} +0 -0
- /package/dist/{types/CurrencyType.js → esm/types/attributes/Facility.js} +0 -0
- /package/dist/{types/DeviceType.js → esm/types/attributes/Feature.js} +0 -0
- /package/dist/{types/DistrictType.js → esm/types/attributes/FuelType.js} +0 -0
- /package/dist/{types/FacilityType.js → esm/types/attributes/LicenseType.js} +0 -0
- /package/dist/{types/FeatureType.js → esm/types/attributes/OfferType.js} +0 -0
- /package/dist/{types/FuelTypeType.js → esm/types/attributes/PriceType.js} +0 -0
- /package/dist/{types/GoogleType.js → esm/types/attributes/PropertyStatus.js} +0 -0
- /package/dist/{types/ImageType.js → esm/types/attributes/PublisherType.js} +0 -0
- /package/dist/{types/LicenseTypeType.js → esm/types/attributes/RegionalSpec.js} +0 -0
- /package/dist/{types/MediaType.js → esm/types/attributes/Transmission.js} +0 -0
- /package/dist/{types/MessageTemplateType.js → esm/types/attributes/Unit.js} +0 -0
- /package/dist/{types/MotorTrimType.js → esm/types/attributes/UsedProductAge.js} +0 -0
- /package/dist/{types/NotificationTokenType.js → esm/types/attributes/UsedProductCondition.js} +0 -0
- /package/dist/{types/OfferTypeType.js → esm/types/attributes/WorkType.js} +0 -0
- /package/dist/{types/PotentialUserType.js → esm/types/common/AccessType.js} +0 -0
- /package/dist/{types/PriceTypeType.js → esm/types/common/Config.js} +0 -0
- /package/dist/{types/PropertyStatusType.js → esm/types/common/Response.js} +0 -0
- /package/dist/{types/PropertyTypeType.js → esm/types/common/Status.js} +0 -0
- /package/dist/{types/PublisherTypeType.js → esm/types/communication/AppStartScreen.js} +0 -0
- /package/dist/{types/RegionalSpecType.js → esm/types/communication/Device.js} +0 -0
- /package/dist/{types/RoleType.js → esm/types/communication/MessageTemplate.js} +0 -0
- /package/dist/{types/ServicesLocationsType.js → esm/types/communication/NotificationToken.js} +0 -0
- /package/dist/{types/SocialMediaPlatformType.js → esm/types/geo/AdminBoundary.js} +0 -0
- /package/dist/{types/SocialMediaProfileType.js → esm/types/geo/City.js} +0 -0
- /package/dist/{types/StatusType.js → esm/types/geo/District.js} +0 -0
- /package/dist/{types/TransmissionType.js → esm/types/integrations/Google.js} +0 -0
- /package/dist/{types/UnitType.js → esm/types/listings/AdLocation.js} +0 -0
- /package/dist/{types/UsedProductCondation.js → esm/types/listings/AdPromotion.js} +0 -0
- /package/dist/{types/MotorType.js → esm/types/listings/Motor.js} +0 -0
- /package/dist/{types/UserType.js → esm/types/listings/MotorTrim.js} +0 -0
- /package/dist/{types/PropertyType.js → esm/types/listings/Property.js} +0 -0
- /package/dist/{types/WalletType.js → esm/types/listings/PropertySubType.js} +0 -0
- /package/dist/{types/ServiceType.js → esm/types/listings/Service.js} +0 -0
- /package/dist/{types/WorkTypeType.js → esm/types/media/Image.js} +0 -0
- /package/dist/{types/analysis/__index.js → esm/types/media/Media.js} +0 -0
- /package/dist/{types/PermissionType.js → esm/types/user/Permission.js} +0 -0
- /package/dist/{utils → esm/utils}/converter.js +0 -0
- /package/dist/{utils → esm/utils}/translation.js +0 -0
- /package/dist/{validation → esm/validation}/ad/save-ad.js +0 -0
package/package.json
CHANGED
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deallony/shared",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.84",
|
|
4
4
|
"private": false,
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"
|
|
5
|
+
"main": "dist/cjs/index.js",
|
|
6
|
+
"module": "dist/esm/index.js",
|
|
7
|
+
"react-native": "dist/esm/index.js",
|
|
8
|
+
"types": "dist/cjs/index.d.ts",
|
|
9
|
+
"sideEffects": false,
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"require": "./dist/cjs/index.js",
|
|
13
|
+
"import": "./dist/esm/index.js",
|
|
14
|
+
"types": "./dist/cjs/index.d.ts"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
7
17
|
"files": [
|
|
8
18
|
"dist"
|
|
9
19
|
],
|
|
@@ -17,8 +27,8 @@
|
|
|
17
27
|
"dashboard:update": "cd ../frontend-react-aloo && pnpm uninstall @deallony/shared && pnpm install @deallony/shared@latest",
|
|
18
28
|
"current": "npm view @deallony/shared version",
|
|
19
29
|
"========": "============ DEFAULT ============",
|
|
20
|
-
"build": "tsc",
|
|
21
|
-
"watch": "tsc --watch",
|
|
30
|
+
"build": "tsc -p tsconfig.cjs.json && tsc -p tsconfig.esm.json",
|
|
31
|
+
"watch": "tsc -p tsconfig.cjs.json --watch",
|
|
22
32
|
"deploy:publish": "npm publish --access public"
|
|
23
33
|
},
|
|
24
34
|
"dependencies": {
|
package/dist/index.d.ts
DELETED
package/dist/index.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ICategoryWorkType } from "./CategoryWorkTypeType";
|
|
2
|
-
import { IMedia } from "./MediaType";
|
|
3
|
-
import { SubjectTableType } from "./SubjectType";
|
|
4
|
-
export type CategoryType = {
|
|
5
|
-
id?: number;
|
|
6
|
-
parent_id?: number | null;
|
|
7
|
-
name: string;
|
|
8
|
-
description?: string;
|
|
9
|
-
display_order?: number;
|
|
10
|
-
children?: CategoryType[];
|
|
11
|
-
category_work_types?: Array<ICategoryWorkType>;
|
|
12
|
-
isBranch: boolean;
|
|
13
|
-
should_validate?: boolean;
|
|
14
|
-
type?: SubjectTableType;
|
|
15
|
-
props?: Record<string, any>;
|
|
16
|
-
media: IMedia;
|
|
17
|
-
};
|
package/dist/types/ChatType.js
DELETED
package/dist/types/CityType.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { IServiceLocation } from "./ServicesLocationsType";
|
|
2
|
-
export type ServiceType = {
|
|
3
|
-
id?: number;
|
|
4
|
-
unit_id: number | null;
|
|
5
|
-
access_type_id: number | null;
|
|
6
|
-
work_type_id: number | null;
|
|
7
|
-
locations: IServiceLocation[];
|
|
8
|
-
};
|
|
9
|
-
export type IService = ServiceType;
|
|
10
|
-
export declare const emptyService: ServiceType;
|
package/dist/types/UserType.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { IAd } from "./AdType";
|
|
2
|
-
import { NotificationTokenType } from "./NotificationTokenType";
|
|
3
|
-
import { SocialMediaProfileType } from "./SocialMediaProfileType";
|
|
4
|
-
import { WalletType } from "./WalletType";
|
|
5
|
-
import { RoleType } from "./RoleType";
|
|
6
|
-
export type UserType = {
|
|
7
|
-
id?: number;
|
|
8
|
-
name: string;
|
|
9
|
-
token: string;
|
|
10
|
-
phone: string;
|
|
11
|
-
referral_id?: number | null;
|
|
12
|
-
referral_code?: string | null;
|
|
13
|
-
role_id: number;
|
|
14
|
-
role: RoleType;
|
|
15
|
-
phone_numbers?: Array<{
|
|
16
|
-
number: string;
|
|
17
|
-
name: string;
|
|
18
|
-
is_primary: boolean;
|
|
19
|
-
}>;
|
|
20
|
-
ads?: IAd[];
|
|
21
|
-
notificationTokens?: NotificationTokenType[];
|
|
22
|
-
socialMediaProfiles?: SocialMediaProfileType[];
|
|
23
|
-
referredUsers?: Array<{
|
|
24
|
-
id: number;
|
|
25
|
-
name: string;
|
|
26
|
-
phone: string;
|
|
27
|
-
}>;
|
|
28
|
-
wallet?: WalletType;
|
|
29
|
-
created_at?: string;
|
|
30
|
-
updated_at?: string;
|
|
31
|
-
blocked_at?: string | null;
|
|
32
|
-
};
|
|
33
|
-
export type IUser = UserType;
|
|
34
|
-
export type UserTypeOrNull = UserType | null;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
export * as Ad from './AdType';
|
|
2
|
-
export * as AdLocation from './AdLocationType';
|
|
3
|
-
export * as Motor from './MotorType';
|
|
4
|
-
export * as Property from './PropertyType';
|
|
5
|
-
export * as Service from './ServiceType';
|
|
6
|
-
export * as LegacyServiceLocation from './ServicesLocationsType';
|
|
7
|
-
export * as Product from './UsedProductType';
|
|
8
|
-
export * as SubjectTable from './SubjectType';
|
|
9
|
-
export * as AdminBoundary from './AdminBoundaryType';
|
|
10
|
-
export * as Media from './MediaType';
|
|
11
|
-
export * from './PropertyTypeType';
|
|
12
|
-
export * as Google from './GoogleType';
|
|
13
|
-
export * as User from './UserType';
|
|
14
|
-
export * as MessageTemplate from './MessageTemplateType';
|
|
15
|
-
export * as Confog from './ConfigType';
|
|
16
|
-
export * as Config from './ConfigType';
|
|
17
|
-
export * as AccessType from './AccessTypeType';
|
|
18
|
-
export * as AdPromotion from './AdPromotionType';
|
|
19
|
-
export * as AppStartScreen from './AppStartScreenType';
|
|
20
|
-
export * as BaseService from './BaseService';
|
|
21
|
-
export * as CarBody from './CarBodyType';
|
|
22
|
-
export * as Category from './CategoryType';
|
|
23
|
-
export * as CategoryWorkType from './CategoryWorkTypeType';
|
|
24
|
-
export * as Chat from './ChatType';
|
|
25
|
-
export * as City from './CityType';
|
|
26
|
-
export * as Color from './ColorType';
|
|
27
|
-
export * as Currency from './CurrencyType';
|
|
28
|
-
export * as Device from './DeviceType';
|
|
29
|
-
export * as District from './DistrictType';
|
|
30
|
-
export * as Facility from './FacilityType';
|
|
31
|
-
export * as Feature from './FeatureType';
|
|
32
|
-
export * as FuelType from './FuelTypeType';
|
|
33
|
-
export * as Image from './ImageType';
|
|
34
|
-
export * as LicenseType from './LicenseTypeType';
|
|
35
|
-
export * as LocalizedName from './LocalizedNameType';
|
|
36
|
-
export * as MotorTrim from './MotorTrimType';
|
|
37
|
-
export * as NotificationToken from './NotificationTokenType';
|
|
38
|
-
export * as OfferType from './OfferTypeType';
|
|
39
|
-
export * as Permission from './PermissionType';
|
|
40
|
-
export * as PotentialUser from './PotentialUserType';
|
|
41
|
-
export * as PriceType from './PriceTypeType';
|
|
42
|
-
export * as PropertyStatus from './PropertyStatusType';
|
|
43
|
-
export * as PublisherType from './PublisherTypeType';
|
|
44
|
-
export * as RegionalSpec from './RegionalSpecType';
|
|
45
|
-
export * as Response from './ResponseType';
|
|
46
|
-
export * as Role from './RoleType';
|
|
47
|
-
export * as SocialMediaPlatform from './SocialMediaPlatformType';
|
|
48
|
-
export * as SocialMediaProfile from './SocialMediaProfileType';
|
|
49
|
-
export * as Status from './StatusType';
|
|
50
|
-
export * as Transmission from './TransmissionType';
|
|
51
|
-
export * as Unit from './UnitType';
|
|
52
|
-
export * as UsedProductAge from './UsedProductAge';
|
|
53
|
-
export * as UsedProductCondition from './UsedProductCondition';
|
|
54
|
-
export * as Wallet from './WalletType';
|
|
55
|
-
export * as WorkType from './WorkTypeType';
|
|
56
|
-
export * as Analysis from './analysis/AnalysisDailySnapshot';
|
package/dist/types/__index__.js
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
export * as Ad from './AdType';
|
|
2
|
-
export * as AdLocation from './AdLocationType';
|
|
3
|
-
export * as Motor from './MotorType';
|
|
4
|
-
export * as Property from './PropertyType';
|
|
5
|
-
export * as Service from './ServiceType';
|
|
6
|
-
export * as LegacyServiceLocation from './ServicesLocationsType';
|
|
7
|
-
export * as Product from './UsedProductType';
|
|
8
|
-
export * as SubjectTable from './SubjectType';
|
|
9
|
-
export * as AdminBoundary from './AdminBoundaryType';
|
|
10
|
-
export * as Media from './MediaType';
|
|
11
|
-
export * from './PropertyTypeType';
|
|
12
|
-
export * as Google from './GoogleType';
|
|
13
|
-
export * as User from './UserType';
|
|
14
|
-
export * as MessageTemplate from './MessageTemplateType';
|
|
15
|
-
export * as Confog from './ConfigType';
|
|
16
|
-
export * as Config from './ConfigType';
|
|
17
|
-
export * as AccessType from './AccessTypeType';
|
|
18
|
-
export * as AdPromotion from './AdPromotionType';
|
|
19
|
-
export * as AppStartScreen from './AppStartScreenType';
|
|
20
|
-
export * as BaseService from './BaseService';
|
|
21
|
-
export * as CarBody from './CarBodyType';
|
|
22
|
-
export * as Category from './CategoryType';
|
|
23
|
-
export * as CategoryWorkType from './CategoryWorkTypeType';
|
|
24
|
-
export * as Chat from './ChatType';
|
|
25
|
-
export * as City from './CityType';
|
|
26
|
-
export * as Color from './ColorType';
|
|
27
|
-
export * as Currency from './CurrencyType';
|
|
28
|
-
export * as Device from './DeviceType';
|
|
29
|
-
export * as District from './DistrictType';
|
|
30
|
-
export * as Facility from './FacilityType';
|
|
31
|
-
export * as Feature from './FeatureType';
|
|
32
|
-
export * as FuelType from './FuelTypeType';
|
|
33
|
-
export * as Image from './ImageType';
|
|
34
|
-
export * as LicenseType from './LicenseTypeType';
|
|
35
|
-
export * as LocalizedName from './LocalizedNameType';
|
|
36
|
-
export * as MotorTrim from './MotorTrimType';
|
|
37
|
-
export * as NotificationToken from './NotificationTokenType';
|
|
38
|
-
export * as OfferType from './OfferTypeType';
|
|
39
|
-
export * as Permission from './PermissionType';
|
|
40
|
-
export * as PotentialUser from './PotentialUserType';
|
|
41
|
-
export * as PriceType from './PriceTypeType';
|
|
42
|
-
export * as PropertyStatus from './PropertyStatusType';
|
|
43
|
-
export * as PublisherType from './PublisherTypeType';
|
|
44
|
-
export * as RegionalSpec from './RegionalSpecType';
|
|
45
|
-
export * as Response from './ResponseType';
|
|
46
|
-
export * as Role from './RoleType';
|
|
47
|
-
export * as SocialMediaPlatform from './SocialMediaPlatformType';
|
|
48
|
-
export * as SocialMediaProfile from './SocialMediaProfileType';
|
|
49
|
-
export * as Status from './StatusType';
|
|
50
|
-
export * as Transmission from './TransmissionType';
|
|
51
|
-
export * as Unit from './UnitType';
|
|
52
|
-
export * as UsedProductAge from './UsedProductAge';
|
|
53
|
-
export * as UsedProductCondition from './UsedProductCondition';
|
|
54
|
-
export * as Wallet from './WalletType';
|
|
55
|
-
export * as WorkType from './WorkTypeType';
|
|
56
|
-
// Analysis types
|
|
57
|
-
export * as Analysis from './analysis/AnalysisDailySnapshot';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { IAnalysisDailySnapshot } from './AnalysisDailySnapshot';
|
package/dist/types/index.d.ts
DELETED
package/dist/types/index.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { MediaType } from "../MediaType";
|
|
2
|
-
export type ProductCategoryType = {
|
|
3
|
-
id?: number;
|
|
4
|
-
parent_id: number | null;
|
|
5
|
-
name: string;
|
|
6
|
-
media?: MediaType;
|
|
7
|
-
created_at: string;
|
|
8
|
-
updated_at: string;
|
|
9
|
-
parent?: ProductCategoryType;
|
|
10
|
-
isBranch?: boolean;
|
|
11
|
-
children?: ProductCategoryType[];
|
|
12
|
-
savedBy?: {
|
|
13
|
-
id: number;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{types/NotificationTokenType.js → esm/types/attributes/UsedProductCondition.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{types/ServicesLocationsType.js → esm/types/communication/NotificationToken.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|