acomm-core-lib 2.6.2
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 +75 -0
- package/dist/package.json +125 -0
- package/dist/src/app.controller.d.ts +8 -0
- package/dist/src/app.controller.js +69 -0
- package/dist/src/app.controller.js.map +1 -0
- package/dist/src/app.module.d.ts +2 -0
- package/dist/src/app.module.js +151 -0
- package/dist/src/app.module.js.map +1 -0
- package/dist/src/app.service.d.ts +5 -0
- package/dist/src/app.service.js +30 -0
- package/dist/src/app.service.js.map +1 -0
- package/dist/src/app_cluster.service.d.ts +3 -0
- package/dist/src/app_cluster.service.js +64 -0
- package/dist/src/app_cluster.service.js.map +1 -0
- package/dist/src/core/activity_log/activity_log.enum.d.ts +31 -0
- package/dist/src/core/activity_log/activity_log.enum.js +38 -0
- package/dist/src/core/activity_log/activity_log.enum.js.map +1 -0
- package/dist/src/core/activity_log/activity_log.layout.d.ts +2 -0
- package/dist/src/core/activity_log/activity_log.layout.js +331 -0
- package/dist/src/core/activity_log/activity_log.layout.js.map +1 -0
- package/dist/src/core/activity_log/activity_log.module.d.ts +2 -0
- package/dist/src/core/activity_log/activity_log.module.js +39 -0
- package/dist/src/core/activity_log/activity_log.module.js.map +1 -0
- package/dist/src/core/activity_log/activity_log.schema.d.ts +24 -0
- package/dist/src/core/activity_log/activity_log.schema.js +117 -0
- package/dist/src/core/activity_log/activity_log.schema.js.map +1 -0
- package/dist/src/core/activity_log/activity_log.service.d.ts +14 -0
- package/dist/src/core/activity_log/activity_log.service.js +58 -0
- package/dist/src/core/activity_log/activity_log.service.js.map +1 -0
- package/dist/src/core/address/address.enum.d.ts +8 -0
- package/dist/src/core/address/address.enum.js +13 -0
- package/dist/src/core/address/address.enum.js.map +1 -0
- package/dist/src/core/address/address.layout.d.ts +7 -0
- package/dist/src/core/address/address.layout.js +1297 -0
- package/dist/src/core/address/address.layout.js.map +1 -0
- package/dist/src/core/address/address.module.d.ts +2 -0
- package/dist/src/core/address/address.module.js +87 -0
- package/dist/src/core/address/address.module.js.map +1 -0
- package/dist/src/core/address/address.schema.d.ts +69 -0
- package/dist/src/core/address/address.schema.js +267 -0
- package/dist/src/core/address/address.schema.js.map +1 -0
- package/dist/src/core/address/address.service.d.ts +49 -0
- package/dist/src/core/address/address.service.js +171 -0
- package/dist/src/core/address/address.service.js.map +1 -0
- package/dist/src/core/address/data/country.json +1484 -0
- package/dist/src/core/address/data/time_zone.json +1702 -0
- package/dist/src/core/api_key/api_key.constant.d.ts +29 -0
- package/dist/src/core/api_key/api_key.constant.js +34 -0
- package/dist/src/core/api_key/api_key.constant.js.map +1 -0
- package/dist/src/core/api_key/api_key.controller.d.ts +8 -0
- package/dist/src/core/api_key/api_key.controller.js +60 -0
- package/dist/src/core/api_key/api_key.controller.js.map +1 -0
- package/dist/src/core/api_key/api_key.enum.d.ts +5 -0
- package/dist/src/core/api_key/api_key.enum.js +10 -0
- package/dist/src/core/api_key/api_key.enum.js.map +1 -0
- package/dist/src/core/api_key/api_key.layout.d.ts +2 -0
- package/dist/src/core/api_key/api_key.layout.js +1133 -0
- package/dist/src/core/api_key/api_key.layout.js.map +1 -0
- package/dist/src/core/api_key/api_key.module.d.ts +2 -0
- package/dist/src/core/api_key/api_key.module.js +40 -0
- package/dist/src/core/api_key/api_key.module.js.map +1 -0
- package/dist/src/core/api_key/api_key.schema.d.ts +42 -0
- package/dist/src/core/api_key/api_key.schema.js +189 -0
- package/dist/src/core/api_key/api_key.schema.js.map +1 -0
- package/dist/src/core/api_key/api_key.service.d.ts +23 -0
- package/dist/src/core/api_key/api_key.service.js +278 -0
- package/dist/src/core/api_key/api_key.service.js.map +1 -0
- package/dist/src/core/attachment/attachment.config.d.ts +4 -0
- package/dist/src/core/attachment/attachment.config.js +8 -0
- package/dist/src/core/attachment/attachment.config.js.map +1 -0
- package/dist/src/core/attachment/attachment.controller.d.ts +15 -0
- package/dist/src/core/attachment/attachment.controller.js +141 -0
- package/dist/src/core/attachment/attachment.controller.js.map +1 -0
- package/dist/src/core/attachment/attachment.enum.d.ts +22 -0
- package/dist/src/core/attachment/attachment.enum.js +28 -0
- package/dist/src/core/attachment/attachment.enum.js.map +1 -0
- package/dist/src/core/attachment/attachment.layout.d.ts +2 -0
- package/dist/src/core/attachment/attachment.layout.js +100 -0
- package/dist/src/core/attachment/attachment.layout.js.map +1 -0
- package/dist/src/core/attachment/attachment.module.d.ts +2 -0
- package/dist/src/core/attachment/attachment.module.js +42 -0
- package/dist/src/core/attachment/attachment.module.js.map +1 -0
- package/dist/src/core/attachment/attachment.schema.d.ts +26 -0
- package/dist/src/core/attachment/attachment.schema.js +131 -0
- package/dist/src/core/attachment/attachment.schema.js.map +1 -0
- package/dist/src/core/attachment/attachment.service.d.ts +38 -0
- package/dist/src/core/attachment/attachment.service.js +417 -0
- package/dist/src/core/attachment/attachment.service.js.map +1 -0
- package/dist/src/core/attachment/providers/local.provider.d.ts +14 -0
- package/dist/src/core/attachment/providers/local.provider.js +71 -0
- package/dist/src/core/attachment/providers/local.provider.js.map +1 -0
- package/dist/src/core/attachment/providers/provider.base.d.ts +6 -0
- package/dist/src/core/attachment/providers/provider.base.js +16 -0
- package/dist/src/core/attachment/providers/provider.base.js.map +1 -0
- package/dist/src/core/attachment/providers/provider.interface.d.ts +5 -0
- package/dist/src/core/attachment/providers/provider.interface.js +3 -0
- package/dist/src/core/attachment/providers/provider.interface.js.map +1 -0
- package/dist/src/core/audit_log/audit_log.enum.d.ts +48 -0
- package/dist/src/core/audit_log/audit_log.enum.js +54 -0
- package/dist/src/core/audit_log/audit_log.enum.js.map +1 -0
- package/dist/src/core/audit_log/audit_log.layout.d.ts +2 -0
- package/dist/src/core/audit_log/audit_log.layout.js +372 -0
- package/dist/src/core/audit_log/audit_log.layout.js.map +1 -0
- package/dist/src/core/audit_log/audit_log.module.d.ts +2 -0
- package/dist/src/core/audit_log/audit_log.module.js +39 -0
- package/dist/src/core/audit_log/audit_log.module.js.map +1 -0
- package/dist/src/core/audit_log/audit_log.schema.d.ts +14 -0
- package/dist/src/core/audit_log/audit_log.schema.js +67 -0
- package/dist/src/core/audit_log/audit_log.schema.js.map +1 -0
- package/dist/src/core/audit_log/audit_log.service.d.ts +14 -0
- package/dist/src/core/audit_log/audit_log.service.js +68 -0
- package/dist/src/core/audit_log/audit_log.service.js.map +1 -0
- package/dist/src/core/auth/auth.controller.d.ts +22 -0
- package/dist/src/core/auth/auth.controller.js +266 -0
- package/dist/src/core/auth/auth.controller.js.map +1 -0
- package/dist/src/core/auth/auth.module.d.ts +2 -0
- package/dist/src/core/auth/auth.module.js +37 -0
- package/dist/src/core/auth/auth.module.js.map +1 -0
- package/dist/src/core/auth/auth.service.d.ts +87 -0
- package/dist/src/core/auth/auth.service.js +930 -0
- package/dist/src/core/auth/auth.service.js.map +1 -0
- package/dist/src/core/auth/constants.d.ts +7 -0
- package/dist/src/core/auth/constants.js +9 -0
- package/dist/src/core/auth/constants.js.map +1 -0
- package/dist/src/core/auth/guards/basic.guard.d.ts +1 -0
- package/dist/src/core/auth/guards/basic.guard.js +7 -0
- package/dist/src/core/auth/guards/basic.guard.js.map +1 -0
- package/dist/src/core/auth/guards/jwt_auth.guard.d.ts +19 -0
- package/dist/src/core/auth/guards/jwt_auth.guard.js +526 -0
- package/dist/src/core/auth/guards/jwt_auth.guard.js.map +1 -0
- package/dist/src/core/auth/guards/public.guard.d.ts +1 -0
- package/dist/src/core/auth/guards/public.guard.js +7 -0
- package/dist/src/core/auth/guards/public.guard.js.map +1 -0
- package/dist/src/core/auth/providers/auth_local.provider.d.ts +13 -0
- package/dist/src/core/auth/providers/auth_local.provider.js +75 -0
- package/dist/src/core/auth/providers/auth_local.provider.js.map +1 -0
- package/dist/src/core/auth/providers/auth_otp.provider.d.ts +13 -0
- package/dist/src/core/auth/providers/auth_otp.provider.js +77 -0
- package/dist/src/core/auth/providers/auth_otp.provider.js.map +1 -0
- package/dist/src/core/auth/providers/auth_provider.interface.d.ts +12 -0
- package/dist/src/core/auth/providers/auth_provider.interface.js +3 -0
- package/dist/src/core/auth/providers/auth_provider.interface.js.map +1 -0
- package/dist/src/core/auth/providers/base_auth.provider.d.ts +7 -0
- package/dist/src/core/auth/providers/base_auth.provider.js +25 -0
- package/dist/src/core/auth/providers/base_auth.provider.js.map +1 -0
- package/dist/src/core/auth/strategies/jwt.strategy.d.ts +6 -0
- package/dist/src/core/auth/strategies/jwt.strategy.js +37 -0
- package/dist/src/core/auth/strategies/jwt.strategy.js.map +1 -0
- package/dist/src/core/cache/cache.controller.d.ts +13 -0
- package/dist/src/core/cache/cache.controller.js +67 -0
- package/dist/src/core/cache/cache.controller.js.map +1 -0
- package/dist/src/core/cache/cache.decorator.d.ts +1 -0
- package/dist/src/core/cache/cache.decorator.js +7 -0
- package/dist/src/core/cache/cache.decorator.js.map +1 -0
- package/dist/src/core/cache/cache.interceptor.d.ts +8 -0
- package/dist/src/core/cache/cache.interceptor.js +57 -0
- package/dist/src/core/cache/cache.interceptor.js.map +1 -0
- package/dist/src/core/cache/cache.module.d.ts +2 -0
- package/dist/src/core/cache/cache.module.js +29 -0
- package/dist/src/core/cache/cache.module.js.map +1 -0
- package/dist/src/core/cache/cache.service.d.ts +15 -0
- package/dist/src/core/cache/cache.service.js +60 -0
- package/dist/src/core/cache/cache.service.js.map +1 -0
- package/dist/src/core/cache/cache.utils.d.ts +12 -0
- package/dist/src/core/cache/cache.utils.js +116 -0
- package/dist/src/core/cache/cache.utils.js.map +1 -0
- package/dist/src/core/comment_data/comment_data.controller.d.ts +8 -0
- package/dist/src/core/comment_data/comment_data.controller.js +56 -0
- package/dist/src/core/comment_data/comment_data.controller.js.map +1 -0
- package/dist/src/core/comment_data/comment_data.layout.d.ts +2 -0
- package/dist/src/core/comment_data/comment_data.layout.js +274 -0
- package/dist/src/core/comment_data/comment_data.layout.js.map +1 -0
- package/dist/src/core/comment_data/comment_data.module.d.ts +2 -0
- package/dist/src/core/comment_data/comment_data.module.js +40 -0
- package/dist/src/core/comment_data/comment_data.module.js.map +1 -0
- package/dist/src/core/comment_data/comment_data.schema.d.ts +13 -0
- package/dist/src/core/comment_data/comment_data.schema.js +53 -0
- package/dist/src/core/comment_data/comment_data.schema.js.map +1 -0
- package/dist/src/core/comment_data/comment_data.service.d.ts +15 -0
- package/dist/src/core/comment_data/comment_data.service.js +63 -0
- package/dist/src/core/comment_data/comment_data.service.js.map +1 -0
- package/dist/src/core/common/base/base.controller.d.ts +42 -0
- package/dist/src/core/common/base/base.controller.js +440 -0
- package/dist/src/core/common/base/base.controller.js.map +1 -0
- package/dist/src/core/common/base/base.schema.d.ts +12 -0
- package/dist/src/core/common/base/base.schema.js +61 -0
- package/dist/src/core/common/base/base.schema.js.map +1 -0
- package/dist/src/core/common/base/base.service.d.ts +87 -0
- package/dist/src/core/common/base/base.service.js +1218 -0
- package/dist/src/core/common/base/base.service.js.map +1 -0
- package/dist/src/core/common/base/base_external_data_source.provider.d.ts +18 -0
- package/dist/src/core/common/base/base_external_data_source.provider.js +50 -0
- package/dist/src/core/common/base/base_external_data_source.provider.js.map +1 -0
- package/dist/src/core/common/base/base_log.controller.d.ts +7 -0
- package/dist/src/core/common/base/base_log.controller.js +35 -0
- package/dist/src/core/common/base/base_log.controller.js.map +1 -0
- package/dist/src/core/common/base/base_log.service.d.ts +13 -0
- package/dist/src/core/common/base/base_log.service.js +142 -0
- package/dist/src/core/common/base/base_log.service.js.map +1 -0
- package/dist/src/core/common/base/base_module.controller.d.ts +9 -0
- package/dist/src/core/common/base/base_module.controller.js +63 -0
- package/dist/src/core/common/base/base_module.controller.js.map +1 -0
- package/dist/src/core/common/base/base_module.service.d.ts +20 -0
- package/dist/src/core/common/base/base_module.service.js +56 -0
- package/dist/src/core/common/base/base_module.service.js.map +1 -0
- package/dist/src/core/common/constants.d.ts +57 -0
- package/dist/src/core/common/constants.js +98 -0
- package/dist/src/core/common/constants.js.map +1 -0
- package/dist/src/core/common/decorator/safe_params.decorator.d.ts +1 -0
- package/dist/src/core/common/decorator/safe_params.decorator.js +11 -0
- package/dist/src/core/common/decorator/safe_params.decorator.js.map +1 -0
- package/dist/src/core/common/dto/search_query.dto.d.ts +6 -0
- package/dist/src/core/common/dto/search_query.dto.js +7 -0
- package/dist/src/core/common/dto/search_query.dto.js.map +1 -0
- package/dist/src/core/common/dto/search_result.dto.d.ts +7 -0
- package/dist/src/core/common/dto/search_result.dto.js +7 -0
- package/dist/src/core/common/dto/search_result.dto.js.map +1 -0
- package/dist/src/core/common/filter/all_exception.filter.d.ts +4 -0
- package/dist/src/core/common/filter/all_exception.filter.js +31 -0
- package/dist/src/core/common/filter/all_exception.filter.js.map +1 -0
- package/dist/src/core/common/function/andConditions.d.ts +12 -0
- package/dist/src/core/common/function/andConditions.js +17 -0
- package/dist/src/core/common/function/andConditions.js.map +1 -0
- package/dist/src/core/common/function/autoGenerateO2M.d.ts +14 -0
- package/dist/src/core/common/function/autoGenerateO2M.js +57 -0
- package/dist/src/core/common/function/autoGenerateO2M.js.map +1 -0
- package/dist/src/core/common/function/cleanData.d.ts +9 -0
- package/dist/src/core/common/function/cleanData.js +23 -0
- package/dist/src/core/common/function/cleanData.js.map +1 -0
- package/dist/src/core/common/function/convertArrayObjToField.d.ts +17 -0
- package/dist/src/core/common/function/convertArrayObjToField.js +23 -0
- package/dist/src/core/common/function/convertArrayObjToField.js.map +1 -0
- package/dist/src/core/common/function/convertArrayToO2M.d.ts +13 -0
- package/dist/src/core/common/function/convertArrayToO2M.js +23 -0
- package/dist/src/core/common/function/convertArrayToO2M.js.map +1 -0
- package/dist/src/core/common/function/convertArrayToOption.d.ts +12 -0
- package/dist/src/core/common/function/convertArrayToOption.js +34 -0
- package/dist/src/core/common/function/convertArrayToOption.js.map +1 -0
- package/dist/src/core/common/function/convertAttributeArray.d.ts +12 -0
- package/dist/src/core/common/function/convertAttributeArray.js +29 -0
- package/dist/src/core/common/function/convertAttributeArray.js.map +1 -0
- package/dist/src/core/common/function/convertDate.d.ts +17 -0
- package/dist/src/core/common/function/convertDate.js +39 -0
- package/dist/src/core/common/function/convertDate.js.map +1 -0
- package/dist/src/core/common/function/convertImage.d.ts +17 -0
- package/dist/src/core/common/function/convertImage.js +18 -0
- package/dist/src/core/common/function/convertImage.js.map +1 -0
- package/dist/src/core/common/function/convertJSONAttrToO2M.d.ts +14 -0
- package/dist/src/core/common/function/convertJSONAttrToO2M.js +79 -0
- package/dist/src/core/common/function/convertJSONAttrToO2M.js.map +1 -0
- package/dist/src/core/common/function/convertStringDate.d.ts +12 -0
- package/dist/src/core/common/function/convertStringDate.js +23 -0
- package/dist/src/core/common/function/convertStringDate.js.map +1 -0
- package/dist/src/core/common/function/convertTime.d.ts +12 -0
- package/dist/src/core/common/function/convertTime.js +41 -0
- package/dist/src/core/common/function/convertTime.js.map +1 -0
- package/dist/src/core/common/function/convertTimestampToDate.d.ts +13 -0
- package/dist/src/core/common/function/convertTimestampToDate.js +14 -0
- package/dist/src/core/common/function/convertTimestampToDate.js.map +1 -0
- package/dist/src/core/common/function/convertToJSONStructure.d.ts +12 -0
- package/dist/src/core/common/function/convertToJSONStructure.js +23 -0
- package/dist/src/core/common/function/convertToJSONStructure.js.map +1 -0
- package/dist/src/core/common/function/convertXMLArray.d.ts +12 -0
- package/dist/src/core/common/function/convertXMLArray.js +81 -0
- package/dist/src/core/common/function/convertXMLArray.js.map +1 -0
- package/dist/src/core/common/function/convertXMLObject.d.ts +12 -0
- package/dist/src/core/common/function/convertXMLObject.js +62 -0
- package/dist/src/core/common/function/convertXMLObject.js.map +1 -0
- package/dist/src/core/common/function/currency.d.ts +12 -0
- package/dist/src/core/common/function/currency.js +49 -0
- package/dist/src/core/common/function/currency.js.map +1 -0
- package/dist/src/core/common/function/currentDate.d.ts +12 -0
- package/dist/src/core/common/function/currentDate.js +34 -0
- package/dist/src/core/common/function/currentDate.js.map +1 -0
- package/dist/src/core/common/function/customSplit.d.ts +12 -0
- package/dist/src/core/common/function/customSplit.js +21 -0
- package/dist/src/core/common/function/customSplit.js.map +1 -0
- package/dist/src/core/common/function/dateIso.d.ts +13 -0
- package/dist/src/core/common/function/dateIso.js +19 -0
- package/dist/src/core/common/function/dateIso.js.map +1 -0
- package/dist/src/core/common/function/defaultType.json +23 -0
- package/dist/src/core/common/function/findData.d.ts +12 -0
- package/dist/src/core/common/function/findData.js +33 -0
- package/dist/src/core/common/function/findData.js.map +1 -0
- package/dist/src/core/common/function/findKeyValueArray.d.ts +12 -0
- package/dist/src/core/common/function/findKeyValueArray.js +29 -0
- package/dist/src/core/common/function/findKeyValueArray.js.map +1 -0
- package/dist/src/core/common/function/formatDate.d.ts +12 -0
- package/dist/src/core/common/function/formatDate.js +34 -0
- package/dist/src/core/common/function/formatDate.js.map +1 -0
- package/dist/src/core/common/function/freeStyle.d.ts +9 -0
- package/dist/src/core/common/function/freeStyle.js +13 -0
- package/dist/src/core/common/function/freeStyle.js.map +1 -0
- package/dist/src/core/common/function/generateBarcode.d.ts +17 -0
- package/dist/src/core/common/function/generateBarcode.js +34 -0
- package/dist/src/core/common/function/generateBarcode.js.map +1 -0
- package/dist/src/core/common/function/generateFilters.d.ts +12 -0
- package/dist/src/core/common/function/generateFilters.js +18 -0
- package/dist/src/core/common/function/generateFilters.js.map +1 -0
- package/dist/src/core/common/function/generateUUID.d.ts +9 -0
- package/dist/src/core/common/function/generateUUID.js +14 -0
- package/dist/src/core/common/function/generateUUID.js.map +1 -0
- package/dist/src/core/common/function/get.d.ts +17 -0
- package/dist/src/core/common/function/get.js +28 -0
- package/dist/src/core/common/function/get.js.map +1 -0
- package/dist/src/core/common/function/getCompany.d.ts +14 -0
- package/dist/src/core/common/function/getCompany.js +26 -0
- package/dist/src/core/common/function/getCompany.js.map +1 -0
- package/dist/src/core/common/function/getCurrentCollapseData.d.ts +13 -0
- package/dist/src/core/common/function/getCurrentCollapseData.js +22 -0
- package/dist/src/core/common/function/getCurrentCollapseData.js.map +1 -0
- package/dist/src/core/common/function/getCurrentDate.d.ts +12 -0
- package/dist/src/core/common/function/getCurrentDate.js +16 -0
- package/dist/src/core/common/function/getCurrentDate.js.map +1 -0
- package/dist/src/core/common/function/getCurrentFilters.d.ts +9 -0
- package/dist/src/core/common/function/getCurrentFilters.js +14 -0
- package/dist/src/core/common/function/getCurrentFilters.js.map +1 -0
- package/dist/src/core/common/function/getCurrentForm.d.ts +12 -0
- package/dist/src/core/common/function/getCurrentForm.js +18 -0
- package/dist/src/core/common/function/getCurrentForm.js.map +1 -0
- package/dist/src/core/common/function/getCurrentId.d.ts +9 -0
- package/dist/src/core/common/function/getCurrentId.js +14 -0
- package/dist/src/core/common/function/getCurrentId.js.map +1 -0
- package/dist/src/core/common/function/getCurrentIndexData.d.ts +12 -0
- package/dist/src/core/common/function/getCurrentIndexData.js +18 -0
- package/dist/src/core/common/function/getCurrentIndexData.js.map +1 -0
- package/dist/src/core/common/function/getDocument.d.ts +13 -0
- package/dist/src/core/common/function/getDocument.js +16 -0
- package/dist/src/core/common/function/getDocument.js.map +1 -0
- package/dist/src/core/common/function/getEndExportdate.d.ts +17 -0
- package/dist/src/core/common/function/getEndExportdate.js +32 -0
- package/dist/src/core/common/function/getEndExportdate.js.map +1 -0
- package/dist/src/core/common/function/getEntityId.d.ts +12 -0
- package/dist/src/core/common/function/getEntityId.js +15 -0
- package/dist/src/core/common/function/getEntityId.js.map +1 -0
- package/dist/src/core/common/function/getEntityRecord.d.ts +12 -0
- package/dist/src/core/common/function/getEntityRecord.js +42 -0
- package/dist/src/core/common/function/getEntityRecord.js.map +1 -0
- package/dist/src/core/common/function/getErrors.d.ts +12 -0
- package/dist/src/core/common/function/getErrors.js +17 -0
- package/dist/src/core/common/function/getErrors.js.map +1 -0
- package/dist/src/core/common/function/getGlobalSetting.d.ts +12 -0
- package/dist/src/core/common/function/getGlobalSetting.js +21 -0
- package/dist/src/core/common/function/getGlobalSetting.js.map +1 -0
- package/dist/src/core/common/function/getHeaders.d.ts +13 -0
- package/dist/src/core/common/function/getHeaders.js +28 -0
- package/dist/src/core/common/function/getHeaders.js.map +1 -0
- package/dist/src/core/common/function/getJSONData.d.ts +13 -0
- package/dist/src/core/common/function/getJSONData.js +17 -0
- package/dist/src/core/common/function/getJSONData.js.map +1 -0
- package/dist/src/core/common/function/getJSONKeys.d.ts +17 -0
- package/dist/src/core/common/function/getJSONKeys.js +24 -0
- package/dist/src/core/common/function/getJSONKeys.js.map +1 -0
- package/dist/src/core/common/function/getMimeType.d.ts +12 -0
- package/dist/src/core/common/function/getMimeType.js +20 -0
- package/dist/src/core/common/function/getMimeType.js.map +1 -0
- package/dist/src/core/common/function/getNameFromUrl.d.ts +12 -0
- package/dist/src/core/common/function/getNameFromUrl.js +19 -0
- package/dist/src/core/common/function/getNameFromUrl.js.map +1 -0
- package/dist/src/core/common/function/getObjectData.d.ts +12 -0
- package/dist/src/core/common/function/getObjectData.js +27 -0
- package/dist/src/core/common/function/getObjectData.js.map +1 -0
- package/dist/src/core/common/function/getOptionFromApi.d.ts +17 -0
- package/dist/src/core/common/function/getOptionFromApi.js +24 -0
- package/dist/src/core/common/function/getOptionFromApi.js.map +1 -0
- package/dist/src/core/common/function/getOptions.d.ts +12 -0
- package/dist/src/core/common/function/getOptions.js +18 -0
- package/dist/src/core/common/function/getOptions.js.map +1 -0
- package/dist/src/core/common/function/getOriginalData.d.ts +17 -0
- package/dist/src/core/common/function/getOriginalData.js +18 -0
- package/dist/src/core/common/function/getOriginalData.js.map +1 -0
- package/dist/src/core/common/function/getParentData.d.ts +13 -0
- package/dist/src/core/common/function/getParentData.js +14 -0
- package/dist/src/core/common/function/getParentData.js.map +1 -0
- package/dist/src/core/common/function/getProfile.d.ts +13 -0
- package/dist/src/core/common/function/getProfile.js +30 -0
- package/dist/src/core/common/function/getProfile.js.map +1 -0
- package/dist/src/core/common/function/getProfileImage.d.ts +9 -0
- package/dist/src/core/common/function/getProfileImage.js +20 -0
- package/dist/src/core/common/function/getProfileImage.js.map +1 -0
- package/dist/src/core/common/function/getRawData.d.ts +12 -0
- package/dist/src/core/common/function/getRawData.js +17 -0
- package/dist/src/core/common/function/getRawData.js.map +1 -0
- package/dist/src/core/common/function/getRequestData.d.ts +11 -0
- package/dist/src/core/common/function/getRequestData.js +16 -0
- package/dist/src/core/common/function/getRequestData.js.map +1 -0
- package/dist/src/core/common/function/getRequestStatus.d.ts +9 -0
- package/dist/src/core/common/function/getRequestStatus.js +14 -0
- package/dist/src/core/common/function/getRequestStatus.js.map +1 -0
- package/dist/src/core/common/function/getResponse.d.ts +12 -0
- package/dist/src/core/common/function/getResponse.js +17 -0
- package/dist/src/core/common/function/getResponse.js.map +1 -0
- package/dist/src/core/common/function/getResult.d.ts +12 -0
- package/dist/src/core/common/function/getResult.js +17 -0
- package/dist/src/core/common/function/getResult.js.map +1 -0
- package/dist/src/core/common/function/getRunningNumber.d.ts +12 -0
- package/dist/src/core/common/function/getRunningNumber.js +19 -0
- package/dist/src/core/common/function/getRunningNumber.js.map +1 -0
- package/dist/src/core/common/function/getSetting.d.ts +12 -0
- package/dist/src/core/common/function/getSetting.js +17 -0
- package/dist/src/core/common/function/getSetting.js.map +1 -0
- package/dist/src/core/common/function/getStartExportdate.d.ts +17 -0
- package/dist/src/core/common/function/getStartExportdate.js +34 -0
- package/dist/src/core/common/function/getStartExportdate.js.map +1 -0
- package/dist/src/core/common/function/getTableColumn.d.ts +13 -0
- package/dist/src/core/common/function/getTableColumn.js +57 -0
- package/dist/src/core/common/function/getTableColumn.js.map +1 -0
- package/dist/src/core/common/function/getTimeLogs.d.ts +12 -0
- package/dist/src/core/common/function/getTimeLogs.js +17 -0
- package/dist/src/core/common/function/getTimeLogs.js.map +1 -0
- package/dist/src/core/common/function/hideString.d.ts +12 -0
- package/dist/src/core/common/function/hideString.js +27 -0
- package/dist/src/core/common/function/hideString.js.map +1 -0
- package/dist/src/core/common/function/ifConditions.d.ts +12 -0
- package/dist/src/core/common/function/ifConditions.js +27 -0
- package/dist/src/core/common/function/ifConditions.js.map +1 -0
- package/dist/src/core/common/function/isEmpty.d.ts +12 -0
- package/dist/src/core/common/function/isEmpty.js +18 -0
- package/dist/src/core/common/function/isEmpty.js.map +1 -0
- package/dist/src/core/common/function/jsonArray.d.ts +12 -0
- package/dist/src/core/common/function/jsonArray.js +22 -0
- package/dist/src/core/common/function/jsonArray.js.map +1 -0
- package/dist/src/core/common/function/last.d.ts +17 -0
- package/dist/src/core/common/function/last.js +25 -0
- package/dist/src/core/common/function/last.js.map +1 -0
- package/dist/src/core/common/function/leftString.d.ts +12 -0
- package/dist/src/core/common/function/leftString.js +20 -0
- package/dist/src/core/common/function/leftString.js.map +1 -0
- package/dist/src/core/common/function/length.d.ts +13 -0
- package/dist/src/core/common/function/length.js +21 -0
- package/dist/src/core/common/function/length.js.map +1 -0
- package/dist/src/core/common/function/mapping.d.ts +1185 -0
- package/dist/src/core/common/function/mapping.js +206 -0
- package/dist/src/core/common/function/mapping.js.map +1 -0
- package/dist/src/core/common/function/multiply.d.ts +13 -0
- package/dist/src/core/common/function/multiply.js +17 -0
- package/dist/src/core/common/function/multiply.js.map +1 -0
- package/dist/src/core/common/function/negativeValue.d.ts +13 -0
- package/dist/src/core/common/function/negativeValue.js +23 -0
- package/dist/src/core/common/function/negativeValue.js.map +1 -0
- package/dist/src/core/common/function/notConditions.d.ts +12 -0
- package/dist/src/core/common/function/notConditions.js +17 -0
- package/dist/src/core/common/function/notConditions.js.map +1 -0
- package/dist/src/core/common/function/numberInWord.d.ts +17 -0
- package/dist/src/core/common/function/numberInWord.js +34 -0
- package/dist/src/core/common/function/numberInWord.js.map +1 -0
- package/dist/src/core/common/function/objectId.d.ts +13 -0
- package/dist/src/core/common/function/objectId.js +16 -0
- package/dist/src/core/common/function/objectId.js.map +1 -0
- package/dist/src/core/common/function/orConditions.d.ts +12 -0
- package/dist/src/core/common/function/orConditions.js +17 -0
- package/dist/src/core/common/function/orConditions.js.map +1 -0
- package/dist/src/core/common/function/padStart.d.ts +17 -0
- package/dist/src/core/common/function/padStart.js +18 -0
- package/dist/src/core/common/function/padStart.js.map +1 -0
- package/dist/src/core/common/function/random.d.ts +12 -0
- package/dist/src/core/common/function/random.js +29 -0
- package/dist/src/core/common/function/random.js.map +1 -0
- package/dist/src/core/common/function/randomBytes.d.ts +12 -0
- package/dist/src/core/common/function/randomBytes.js +17 -0
- package/dist/src/core/common/function/randomBytes.js.map +1 -0
- package/dist/src/core/common/function/replaceString.d.ts +12 -0
- package/dist/src/core/common/function/replaceString.js +22 -0
- package/dist/src/core/common/function/replaceString.js.map +1 -0
- package/dist/src/core/common/function/rightString.d.ts +12 -0
- package/dist/src/core/common/function/rightString.js +20 -0
- package/dist/src/core/common/function/rightString.js.map +1 -0
- package/dist/src/core/common/function/round.d.ts +12 -0
- package/dist/src/core/common/function/round.js +23 -0
- package/dist/src/core/common/function/round.js.map +1 -0
- package/dist/src/core/common/function/runningNumber.d.ts +12 -0
- package/dist/src/core/common/function/runningNumber.js +26 -0
- package/dist/src/core/common/function/runningNumber.js.map +1 -0
- package/dist/src/core/common/function/subString.d.ts +12 -0
- package/dist/src/core/common/function/subString.js +19 -0
- package/dist/src/core/common/function/subString.js.map +1 -0
- package/dist/src/core/common/function/sumBy.d.ts +13 -0
- package/dist/src/core/common/function/sumBy.js +24 -0
- package/dist/src/core/common/function/sumBy.js.map +1 -0
- package/dist/src/core/common/function/sumData.d.ts +13 -0
- package/dist/src/core/common/function/sumData.js +28 -0
- package/dist/src/core/common/function/sumData.js.map +1 -0
- package/dist/src/core/common/function/sumIf.d.ts +13 -0
- package/dist/src/core/common/function/sumIf.js +26 -0
- package/dist/src/core/common/function/sumIf.js.map +1 -0
- package/dist/src/core/common/function/sumValue.d.ts +12 -0
- package/dist/src/core/common/function/sumValue.js +26 -0
- package/dist/src/core/common/function/sumValue.js.map +1 -0
- package/dist/src/core/common/function/toBoolean.d.ts +12 -0
- package/dist/src/core/common/function/toBoolean.js +23 -0
- package/dist/src/core/common/function/toBoolean.js.map +1 -0
- package/dist/src/core/common/function/toCamelCase.d.ts +13 -0
- package/dist/src/core/common/function/toCamelCase.js +16 -0
- package/dist/src/core/common/function/toCamelCase.js.map +1 -0
- package/dist/src/core/common/function/toFloat.d.ts +17 -0
- package/dist/src/core/common/function/toFloat.js +25 -0
- package/dist/src/core/common/function/toFloat.js.map +1 -0
- package/dist/src/core/common/function/toInt.d.ts +12 -0
- package/dist/src/core/common/function/toInt.js +20 -0
- package/dist/src/core/common/function/toInt.js.map +1 -0
- package/dist/src/core/common/function/toJson.d.ts +13 -0
- package/dist/src/core/common/function/toJson.js +16 -0
- package/dist/src/core/common/function/toJson.js.map +1 -0
- package/dist/src/core/common/function/toLowerCase.d.ts +13 -0
- package/dist/src/core/common/function/toLowerCase.js +16 -0
- package/dist/src/core/common/function/toLowerCase.js.map +1 -0
- package/dist/src/core/common/function/toPascalCase.d.ts +13 -0
- package/dist/src/core/common/function/toPascalCase.js +16 -0
- package/dist/src/core/common/function/toPascalCase.js.map +1 -0
- package/dist/src/core/common/function/toSnakeCase.d.ts +13 -0
- package/dist/src/core/common/function/toSnakeCase.js +16 -0
- package/dist/src/core/common/function/toSnakeCase.js.map +1 -0
- package/dist/src/core/common/function/toString.d.ts +12 -0
- package/dist/src/core/common/function/toString.js +25 -0
- package/dist/src/core/common/function/toString.js.map +1 -0
- package/dist/src/core/common/function/toUpperCase.d.ts +13 -0
- package/dist/src/core/common/function/toUpperCase.js +16 -0
- package/dist/src/core/common/function/toUpperCase.js.map +1 -0
- package/dist/src/core/common/function/translateOption.d.ts +17 -0
- package/dist/src/core/common/function/translateOption.js +55 -0
- package/dist/src/core/common/function/translateOption.js.map +1 -0
- package/dist/src/core/common/function/uploadImageFromUrl.d.ts +13 -0
- package/dist/src/core/common/function/uploadImageFromUrl.js +18 -0
- package/dist/src/core/common/function/uploadImageFromUrl.js.map +1 -0
- package/dist/src/core/common/interceptors/external.interceptor.d.ts +9 -0
- package/dist/src/core/common/interceptors/external.interceptor.js +113 -0
- package/dist/src/core/common/interceptors/external.interceptor.js.map +1 -0
- package/dist/src/core/common/interceptors/filter.interceptor.d.ts +8 -0
- package/dist/src/core/common/interceptors/filter.interceptor.js +192 -0
- package/dist/src/core/common/interceptors/filter.interceptor.js.map +1 -0
- package/dist/src/core/common/interface/external_data_source.interface.d.ts +16 -0
- package/dist/src/core/common/interface/external_data_source.interface.js +3 -0
- package/dist/src/core/common/interface/external_data_source.interface.js.map +1 -0
- package/dist/src/core/common/interface/module_setting.interface.d.ts +6 -0
- package/dist/src/core/common/interface/module_setting.interface.js +3 -0
- package/dist/src/core/common/interface/module_setting.interface.js.map +1 -0
- package/dist/src/core/common/utils/attachment.d.ts +5 -0
- package/dist/src/core/common/utils/attachment.js +50 -0
- package/dist/src/core/common/utils/attachment.js.map +1 -0
- package/dist/src/core/common/utils/authenticator.d.ts +5 -0
- package/dist/src/core/common/utils/authenticator.js +30 -0
- package/dist/src/core/common/utils/authenticator.js.map +1 -0
- package/dist/src/core/common/utils/build_search.d.ts +11 -0
- package/dist/src/core/common/utils/build_search.js +459 -0
- package/dist/src/core/common/utils/build_search.js.map +1 -0
- package/dist/src/core/common/utils/bull_queue.d.ts +24 -0
- package/dist/src/core/common/utils/bull_queue.js +156 -0
- package/dist/src/core/common/utils/bull_queue.js.map +1 -0
- package/dist/src/core/common/utils/chart.d.ts +12 -0
- package/dist/src/core/common/utils/chart.js +201 -0
- package/dist/src/core/common/utils/chart.js.map +1 -0
- package/dist/src/core/common/utils/common.d.ts +4 -0
- package/dist/src/core/common/utils/common.js +56 -0
- package/dist/src/core/common/utils/common.js.map +1 -0
- package/dist/src/core/common/utils/date.d.ts +7 -0
- package/dist/src/core/common/utils/date.js +97 -0
- package/dist/src/core/common/utils/date.js.map +1 -0
- package/dist/src/core/common/utils/decimal2Json.d.ts +4 -0
- package/dist/src/core/common/utils/decimal2Json.js +131 -0
- package/dist/src/core/common/utils/decimal2Json.js.map +1 -0
- package/dist/src/core/common/utils/diff.d.ts +3 -0
- package/dist/src/core/common/utils/diff.js +81 -0
- package/dist/src/core/common/utils/diff.js.map +1 -0
- package/dist/src/core/common/utils/entity.d.ts +13 -0
- package/dist/src/core/common/utils/entity.js +119 -0
- package/dist/src/core/common/utils/entity.js.map +1 -0
- package/dist/src/core/common/utils/eval.d.ts +3 -0
- package/dist/src/core/common/utils/eval.js +30 -0
- package/dist/src/core/common/utils/eval.js.map +1 -0
- package/dist/src/core/common/utils/example.d.ts +3 -0
- package/dist/src/core/common/utils/example.js +152 -0
- package/dist/src/core/common/utils/example.js.map +1 -0
- package/dist/src/core/common/utils/executions.d.ts +3 -0
- package/dist/src/core/common/utils/executions.js +73 -0
- package/dist/src/core/common/utils/executions.js.map +1 -0
- package/dist/src/core/common/utils/external_data.d.ts +2 -0
- package/dist/src/core/common/utils/external_data.js +20 -0
- package/dist/src/core/common/utils/external_data.js.map +1 -0
- package/dist/src/core/common/utils/external_module.d.ts +12 -0
- package/dist/src/core/common/utils/external_module.js +203 -0
- package/dist/src/core/common/utils/external_module.js.map +1 -0
- package/dist/src/core/common/utils/file.d.ts +6 -0
- package/dist/src/core/common/utils/file.js +80 -0
- package/dist/src/core/common/utils/file.js.map +1 -0
- package/dist/src/core/common/utils/form.d.ts +4 -0
- package/dist/src/core/common/utils/form.js +21 -0
- package/dist/src/core/common/utils/form.js.map +1 -0
- package/dist/src/core/common/utils/func.d.ts +17 -0
- package/dist/src/core/common/utils/func.js +314 -0
- package/dist/src/core/common/utils/func.js.map +1 -0
- package/dist/src/core/common/utils/global.d.ts +6 -0
- package/dist/src/core/common/utils/global.js +72 -0
- package/dist/src/core/common/utils/global.js.map +1 -0
- package/dist/src/core/common/utils/hook.d.ts +5 -0
- package/dist/src/core/common/utils/hook.js +188 -0
- package/dist/src/core/common/utils/hook.js.map +1 -0
- package/dist/src/core/common/utils/initial.d.ts +4 -0
- package/dist/src/core/common/utils/initial.js +318 -0
- package/dist/src/core/common/utils/initial.js.map +1 -0
- package/dist/src/core/common/utils/layout.d.ts +7 -0
- package/dist/src/core/common/utils/layout.js +160 -0
- package/dist/src/core/common/utils/layout.js.map +1 -0
- package/dist/src/core/common/utils/masking.d.ts +3 -0
- package/dist/src/core/common/utils/masking.js +55 -0
- package/dist/src/core/common/utils/masking.js.map +1 -0
- package/dist/src/core/common/utils/math.d.ts +2 -0
- package/dist/src/core/common/utils/math.js +8 -0
- package/dist/src/core/common/utils/math.js.map +1 -0
- package/dist/src/core/common/utils/media.d.ts +70 -0
- package/dist/src/core/common/utils/media.js +90 -0
- package/dist/src/core/common/utils/media.js.map +1 -0
- package/dist/src/core/common/utils/mongo.d.ts +4 -0
- package/dist/src/core/common/utils/mongo.js +891 -0
- package/dist/src/core/common/utils/mongo.js.map +1 -0
- package/dist/src/core/common/utils/mongoose.d.ts +2 -0
- package/dist/src/core/common/utils/mongoose.js +152 -0
- package/dist/src/core/common/utils/mongoose.js.map +1 -0
- package/dist/src/core/common/utils/ocr.d.ts +1 -0
- package/dist/src/core/common/utils/ocr.js +35 -0
- package/dist/src/core/common/utils/ocr.js.map +1 -0
- package/dist/src/core/common/utils/otp.d.ts +16 -0
- package/dist/src/core/common/utils/otp.js +103 -0
- package/dist/src/core/common/utils/otp.js.map +1 -0
- package/dist/src/core/common/utils/permission.d.ts +5 -0
- package/dist/src/core/common/utils/permission.js +122 -0
- package/dist/src/core/common/utils/permission.js.map +1 -0
- package/dist/src/core/common/utils/random.d.ts +2 -0
- package/dist/src/core/common/utils/random.js +14 -0
- package/dist/src/core/common/utils/random.js.map +1 -0
- package/dist/src/core/common/utils/recaptcha.d.ts +1 -0
- package/dist/src/core/common/utils/recaptcha.js +21 -0
- package/dist/src/core/common/utils/recaptcha.js.map +1 -0
- package/dist/src/core/common/utils/redis.d.ts +31 -0
- package/dist/src/core/common/utils/redis.js +261 -0
- package/dist/src/core/common/utils/redis.js.map +1 -0
- package/dist/src/core/common/utils/regex.d.ts +1 -0
- package/dist/src/core/common/utils/regex.js +8 -0
- package/dist/src/core/common/utils/regex.js.map +1 -0
- package/dist/src/core/common/utils/replace.d.ts +5 -0
- package/dist/src/core/common/utils/replace.js +84 -0
- package/dist/src/core/common/utils/replace.js.map +1 -0
- package/dist/src/core/common/utils/request.d.ts +5 -0
- package/dist/src/core/common/utils/request.js +82 -0
- package/dist/src/core/common/utils/request.js.map +1 -0
- package/dist/src/core/common/utils/retry.d.ts +1 -0
- package/dist/src/core/common/utils/retry.js +30 -0
- package/dist/src/core/common/utils/retry.js.map +1 -0
- package/dist/src/core/common/utils/rewrite_url.d.ts +4 -0
- package/dist/src/core/common/utils/rewrite_url.js +18 -0
- package/dist/src/core/common/utils/rewrite_url.js.map +1 -0
- package/dist/src/core/common/utils/running.d.ts +1 -0
- package/dist/src/core/common/utils/running.js +46 -0
- package/dist/src/core/common/utils/running.js.map +1 -0
- package/dist/src/core/common/utils/schedule.d.ts +1 -0
- package/dist/src/core/common/utils/schedule.js +15 -0
- package/dist/src/core/common/utils/schedule.js.map +1 -0
- package/dist/src/core/common/utils/schema.d.ts +65 -0
- package/dist/src/core/common/utils/schema.js +2629 -0
- package/dist/src/core/common/utils/schema.js.map +1 -0
- package/dist/src/core/common/utils/sleep.d.ts +2 -0
- package/dist/src/core/common/utils/sleep.js +8 -0
- package/dist/src/core/common/utils/sleep.js.map +1 -0
- package/dist/src/core/common/utils/template.d.ts +2 -0
- package/dist/src/core/common/utils/template.js +169 -0
- package/dist/src/core/common/utils/template.js.map +1 -0
- package/dist/src/core/common/utils/text_search.d.ts +27 -0
- package/dist/src/core/common/utils/text_search.js +237 -0
- package/dist/src/core/common/utils/text_search.js.map +1 -0
- package/dist/src/core/common/utils/time.d.ts +1 -0
- package/dist/src/core/common/utils/time.js +17 -0
- package/dist/src/core/common/utils/time.js.map +1 -0
- package/dist/src/core/common/utils/token.d.ts +5 -0
- package/dist/src/core/common/utils/token.js +13 -0
- package/dist/src/core/common/utils/token.js.map +1 -0
- package/dist/src/core/common/utils/transform.d.ts +8 -0
- package/dist/src/core/common/utils/transform.js +409 -0
- package/dist/src/core/common/utils/transform.js.map +1 -0
- package/dist/src/core/common/utils/translate.d.ts +5 -0
- package/dist/src/core/common/utils/translate.js +73 -0
- package/dist/src/core/common/utils/translate.js.map +1 -0
- package/dist/src/core/common/utils/validate.d.ts +6 -0
- package/dist/src/core/common/utils/validate.js +323 -0
- package/dist/src/core/common/utils/validate.js.map +1 -0
- package/dist/src/core/company/company.constant.d.ts +9 -0
- package/dist/src/core/company/company.constant.js +13 -0
- package/dist/src/core/company/company.constant.js.map +1 -0
- package/dist/src/core/company/company.layout.d.ts +2 -0
- package/dist/src/core/company/company.layout.js +507 -0
- package/dist/src/core/company/company.layout.js.map +1 -0
- package/dist/src/core/company/company.module.d.ts +2 -0
- package/dist/src/core/company/company.module.js +40 -0
- package/dist/src/core/company/company.module.js.map +1 -0
- package/dist/src/core/company/company.schema.d.ts +25 -0
- package/dist/src/core/company/company.schema.js +137 -0
- package/dist/src/core/company/company.schema.js.map +1 -0
- package/dist/src/core/company/company.service.d.ts +22 -0
- package/dist/src/core/company/company.service.js +140 -0
- package/dist/src/core/company/company.service.js.map +1 -0
- package/dist/src/core/config/attachment.d.ts +15 -0
- package/dist/src/core/config/attachment.js +35 -0
- package/dist/src/core/config/attachment.js.map +1 -0
- package/dist/src/core/config/auth.d.ts +4 -0
- package/dist/src/core/config/auth.js +6 -0
- package/dist/src/core/config/auth.js.map +1 -0
- package/dist/src/core/config/cache.d.ts +5 -0
- package/dist/src/core/config/cache.js +7 -0
- package/dist/src/core/config/cache.js.map +1 -0
- package/dist/src/core/config/mongodb.d.ts +4 -0
- package/dist/src/core/config/mongodb.js +6 -0
- package/dist/src/core/config/mongodb.js.map +1 -0
- package/dist/src/core/config/queue.d.ts +4 -0
- package/dist/src/core/config/queue.js +6 -0
- package/dist/src/core/config/queue.js.map +1 -0
- package/dist/src/core/config/schedule_action.d.ts +5 -0
- package/dist/src/core/config/schedule_action.js +7 -0
- package/dist/src/core/config/schedule_action.js.map +1 -0
- package/dist/src/core/core.controller.d.ts +51 -0
- package/dist/src/core/core.controller.js +555 -0
- package/dist/src/core/core.controller.js.map +1 -0
- package/dist/src/core/core.module.d.ts +2 -0
- package/dist/src/core/core.module.js +101 -0
- package/dist/src/core/core.module.js.map +1 -0
- package/dist/src/core/core.service.d.ts +121 -0
- package/dist/src/core/core.service.js +716 -0
- package/dist/src/core/core.service.js.map +1 -0
- package/dist/src/core/currency/currency.layout.d.ts +2 -0
- package/dist/src/core/currency/currency.layout.js +194 -0
- package/dist/src/core/currency/currency.layout.js.map +1 -0
- package/dist/src/core/currency/currency.module.d.ts +2 -0
- package/dist/src/core/currency/currency.module.js +38 -0
- package/dist/src/core/currency/currency.module.js.map +1 -0
- package/dist/src/core/currency/currency.schema.d.ts +9 -0
- package/dist/src/core/currency/currency.schema.js +30 -0
- package/dist/src/core/currency/currency.schema.js.map +1 -0
- package/dist/src/core/currency/currency.service.d.ts +13 -0
- package/dist/src/core/currency/currency.service.js +55 -0
- package/dist/src/core/currency/currency.service.js.map +1 -0
- package/dist/src/core/currency/data/currency.json +646 -0
- package/dist/src/core/custom_function/custom_function.controller.d.ts +7 -0
- package/dist/src/core/custom_function/custom_function.controller.js +50 -0
- package/dist/src/core/custom_function/custom_function.controller.js.map +1 -0
- package/dist/src/core/custom_function/custom_function.enum.d.ts +22 -0
- package/dist/src/core/custom_function/custom_function.enum.js +28 -0
- package/dist/src/core/custom_function/custom_function.enum.js.map +1 -0
- package/dist/src/core/custom_function/custom_function.layout.d.ts +2 -0
- package/dist/src/core/custom_function/custom_function.layout.js +521 -0
- package/dist/src/core/custom_function/custom_function.layout.js.map +1 -0
- package/dist/src/core/custom_function/custom_function.module.d.ts +2 -0
- package/dist/src/core/custom_function/custom_function.module.js +41 -0
- package/dist/src/core/custom_function/custom_function.module.js.map +1 -0
- package/dist/src/core/custom_function/custom_function.schema.d.ts +15 -0
- package/dist/src/core/custom_function/custom_function.schema.js +68 -0
- package/dist/src/core/custom_function/custom_function.schema.js.map +1 -0
- package/dist/src/core/custom_function/custom_function.service.d.ts +18 -0
- package/dist/src/core/custom_function/custom_function.service.js +116 -0
- package/dist/src/core/custom_function/custom_function.service.js.map +1 -0
- package/dist/src/core/database/database.constant.d.ts +35 -0
- package/dist/src/core/database/database.constant.js +218 -0
- package/dist/src/core/database/database.constant.js.map +1 -0
- package/dist/src/core/database/database.controller.d.ts +8 -0
- package/dist/src/core/database/database.controller.js +56 -0
- package/dist/src/core/database/database.controller.js.map +1 -0
- package/dist/src/core/database/database.module.d.ts +2 -0
- package/dist/src/core/database/database.module.js +24 -0
- package/dist/src/core/database/database.module.js.map +1 -0
- package/dist/src/core/database/database.service.d.ts +13 -0
- package/dist/src/core/database/database.service.js +184 -0
- package/dist/src/core/database/database.service.js.map +1 -0
- package/dist/src/core/deploy/deploy.action.d.ts +3 -0
- package/dist/src/core/deploy/deploy.action.js +82 -0
- package/dist/src/core/deploy/deploy.action.js.map +1 -0
- package/dist/src/core/deploy/deploy.controller.d.ts +7 -0
- package/dist/src/core/deploy/deploy.controller.js +53 -0
- package/dist/src/core/deploy/deploy.controller.js.map +1 -0
- package/dist/src/core/deploy/deploy.enum.d.ts +5 -0
- package/dist/src/core/deploy/deploy.enum.js +10 -0
- package/dist/src/core/deploy/deploy.enum.js.map +1 -0
- package/dist/src/core/deploy/deploy.layout.d.ts +4 -0
- package/dist/src/core/deploy/deploy.layout.js +1110 -0
- package/dist/src/core/deploy/deploy.layout.js.map +1 -0
- package/dist/src/core/deploy/deploy.module.d.ts +2 -0
- package/dist/src/core/deploy/deploy.module.js +57 -0
- package/dist/src/core/deploy/deploy.module.js.map +1 -0
- package/dist/src/core/deploy/deploy.schema.d.ts +28 -0
- package/dist/src/core/deploy/deploy.schema.js +111 -0
- package/dist/src/core/deploy/deploy.schema.js.map +1 -0
- package/dist/src/core/deploy/deploy.service.d.ts +38 -0
- package/dist/src/core/deploy/deploy.service.js +557 -0
- package/dist/src/core/deploy/deploy.service.js.map +1 -0
- package/dist/src/core/deploy/log/deploy_log.schema.d.ts +20 -0
- package/dist/src/core/deploy/log/deploy_log.schema.js +90 -0
- package/dist/src/core/deploy/log/deploy_log.schema.js.map +1 -0
- package/dist/src/core/deploy/log/deploy_log.service.d.ts +12 -0
- package/dist/src/core/deploy/log/deploy_log.service.js +44 -0
- package/dist/src/core/deploy/log/deploy_log.service.js.map +1 -0
- package/dist/src/core/entities/entities.controller.d.ts +69 -0
- package/dist/src/core/entities/entities.controller.js +801 -0
- package/dist/src/core/entities/entities.controller.js.map +1 -0
- package/dist/src/core/entities/entities.module.d.ts +2 -0
- package/dist/src/core/entities/entities.module.js +38 -0
- package/dist/src/core/entities/entities.module.js.map +1 -0
- package/dist/src/core/entities/entities.service.d.ts +71 -0
- package/dist/src/core/entities/entities.service.js +2271 -0
- package/dist/src/core/entities/entities.service.js.map +1 -0
- package/dist/src/core/entities/entity.enum.d.ts +33 -0
- package/dist/src/core/entities/entity.enum.js +44 -0
- package/dist/src/core/entities/entity.enum.js.map +1 -0
- package/dist/src/core/entities/entity.schema.d.ts +357 -0
- package/dist/src/core/entities/entity.schema.js +1460 -0
- package/dist/src/core/entities/entity.schema.js.map +1 -0
- package/dist/src/core/entities/provider/data_permission.base.d.ts +4 -0
- package/dist/src/core/entities/provider/data_permission.base.js +10 -0
- package/dist/src/core/entities/provider/data_permission.base.js.map +1 -0
- package/dist/src/core/entities/provider/data_permission.interface.d.ts +3 -0
- package/dist/src/core/entities/provider/data_permission.interface.js +3 -0
- package/dist/src/core/entities/provider/data_permission.interface.js.map +1 -0
- package/dist/src/core/execution_log/execution_log.enum.d.ts +4 -0
- package/dist/src/core/execution_log/execution_log.enum.js +9 -0
- package/dist/src/core/execution_log/execution_log.enum.js.map +1 -0
- package/dist/src/core/execution_log/execution_log.layout.d.ts +2 -0
- package/dist/src/core/execution_log/execution_log.layout.js +226 -0
- package/dist/src/core/execution_log/execution_log.layout.js.map +1 -0
- package/dist/src/core/execution_log/execution_log.module.d.ts +2 -0
- package/dist/src/core/execution_log/execution_log.module.js +39 -0
- package/dist/src/core/execution_log/execution_log.module.js.map +1 -0
- package/dist/src/core/execution_log/execution_log.schema.d.ts +13 -0
- package/dist/src/core/execution_log/execution_log.schema.js +58 -0
- package/dist/src/core/execution_log/execution_log.schema.js.map +1 -0
- package/dist/src/core/execution_log/execution_log.service.d.ts +12 -0
- package/dist/src/core/execution_log/execution_log.service.js +47 -0
- package/dist/src/core/execution_log/execution_log.service.js.map +1 -0
- package/dist/src/core/external_provider/external_provider.controller.d.ts +6 -0
- package/dist/src/core/external_provider/external_provider.controller.js +41 -0
- package/dist/src/core/external_provider/external_provider.controller.js.map +1 -0
- package/dist/src/core/external_provider/external_provider.module.d.ts +2 -0
- package/dist/src/core/external_provider/external_provider.module.js +29 -0
- package/dist/src/core/external_provider/external_provider.module.js.map +1 -0
- package/dist/src/core/external_provider/external_provider.service.d.ts +18 -0
- package/dist/src/core/external_provider/external_provider.service.js +32 -0
- package/dist/src/core/external_provider/external_provider.service.js.map +1 -0
- package/dist/src/core/guards/csrf.guard.d.ts +9 -0
- package/dist/src/core/guards/csrf.guard.js +57 -0
- package/dist/src/core/guards/csrf.guard.js.map +1 -0
- package/dist/src/core/import_export/import_export.controller.d.ts +28 -0
- package/dist/src/core/import_export/import_export.controller.js +201 -0
- package/dist/src/core/import_export/import_export.controller.js.map +1 -0
- package/dist/src/core/import_export/import_export.enum.d.ts +24 -0
- package/dist/src/core/import_export/import_export.enum.js +32 -0
- package/dist/src/core/import_export/import_export.enum.js.map +1 -0
- package/dist/src/core/import_export/import_export.hook.d.ts +16 -0
- package/dist/src/core/import_export/import_export.hook.js +24 -0
- package/dist/src/core/import_export/import_export.hook.js.map +1 -0
- package/dist/src/core/import_export/import_export.layout.d.ts +2 -0
- package/dist/src/core/import_export/import_export.layout.js +2059 -0
- package/dist/src/core/import_export/import_export.layout.js.map +1 -0
- package/dist/src/core/import_export/import_export.module.d.ts +2 -0
- package/dist/src/core/import_export/import_export.module.js +51 -0
- package/dist/src/core/import_export/import_export.module.js.map +1 -0
- package/dist/src/core/import_export/import_export.schema.d.ts +40 -0
- package/dist/src/core/import_export/import_export.schema.js +175 -0
- package/dist/src/core/import_export/import_export.schema.js.map +1 -0
- package/dist/src/core/import_export/import_export.service.d.ts +94 -0
- package/dist/src/core/import_export/import_export.service.js +2723 -0
- package/dist/src/core/import_export/import_export.service.js.map +1 -0
- package/dist/src/core/import_export/import_export.utils.d.ts +3 -0
- package/dist/src/core/import_export/import_export.utils.js +21 -0
- package/dist/src/core/import_export/import_export.utils.js.map +1 -0
- package/dist/src/core/import_export/log/import_export_log.layout.d.ts +2 -0
- package/dist/src/core/import_export/log/import_export_log.layout.js +423 -0
- package/dist/src/core/import_export/log/import_export_log.layout.js.map +1 -0
- package/dist/src/core/import_export/log/import_export_log.schema.d.ts +23 -0
- package/dist/src/core/import_export/log/import_export_log.schema.js +131 -0
- package/dist/src/core/import_export/log/import_export_log.schema.js.map +1 -0
- package/dist/src/core/import_export/log/import_export_log.service.d.ts +12 -0
- package/dist/src/core/import_export/log/import_export_log.service.js +49 -0
- package/dist/src/core/import_export/log/import_export_log.service.js.map +1 -0
- package/dist/src/core/import_export/provider/export.provider.d.ts +8 -0
- package/dist/src/core/import_export/provider/export.provider.js +244 -0
- package/dist/src/core/import_export/provider/export.provider.js.map +1 -0
- package/dist/src/core/import_export/provider/import.provider.d.ts +8 -0
- package/dist/src/core/import_export/provider/import.provider.js +238 -0
- package/dist/src/core/import_export/provider/import.provider.js.map +1 -0
- package/dist/src/core/import_export/provider/provider.base.d.ts +8 -0
- package/dist/src/core/import_export/provider/provider.base.js +19 -0
- package/dist/src/core/import_export/provider/provider.base.js.map +1 -0
- package/dist/src/core/import_export/provider/provider.interface.d.ts +6 -0
- package/dist/src/core/import_export/provider/provider.interface.js +3 -0
- package/dist/src/core/import_export/provider/provider.interface.js.map +1 -0
- package/dist/src/core/index.d.ts +271 -0
- package/dist/src/core/index.js +668 -0
- package/dist/src/core/index.js.map +1 -0
- package/dist/src/core/language/langauge.constant.d.ts +9 -0
- package/dist/src/core/language/langauge.constant.js +13 -0
- package/dist/src/core/language/langauge.constant.js.map +1 -0
- package/dist/src/core/language/langauge.enum.d.ts +4 -0
- package/dist/src/core/language/langauge.enum.js +9 -0
- package/dist/src/core/language/langauge.enum.js.map +1 -0
- package/dist/src/core/language/language.controller.d.ts +6 -0
- package/dist/src/core/language/language.controller.js +36 -0
- package/dist/src/core/language/language.controller.js.map +1 -0
- package/dist/src/core/language/language.hook.d.ts +13 -0
- package/dist/src/core/language/language.hook.js +36 -0
- package/dist/src/core/language/language.hook.js.map +1 -0
- package/dist/src/core/language/language.layout.d.ts +2 -0
- package/dist/src/core/language/language.layout.js +299 -0
- package/dist/src/core/language/language.layout.js.map +1 -0
- package/dist/src/core/language/language.module.d.ts +2 -0
- package/dist/src/core/language/language.module.js +42 -0
- package/dist/src/core/language/language.module.js.map +1 -0
- package/dist/src/core/language/language.schema.d.ts +13 -0
- package/dist/src/core/language/language.schema.js +57 -0
- package/dist/src/core/language/language.schema.js.map +1 -0
- package/dist/src/core/language/language.service.d.ts +14 -0
- package/dist/src/core/language/language.service.js +76 -0
- package/dist/src/core/language/language.service.js.map +1 -0
- package/dist/src/core/layout/chart_widget/chart_widget.controller.d.ts +7 -0
- package/dist/src/core/layout/chart_widget/chart_widget.controller.js +54 -0
- package/dist/src/core/layout/chart_widget/chart_widget.controller.js.map +1 -0
- package/dist/src/core/layout/chart_widget/chart_widget.service.d.ts +36 -0
- package/dist/src/core/layout/chart_widget/chart_widget.service.js +1355 -0
- package/dist/src/core/layout/chart_widget/chart_widget.service.js.map +1 -0
- package/dist/src/core/layout/layout.constant.d.ts +17 -0
- package/dist/src/core/layout/layout.constant.js +23 -0
- package/dist/src/core/layout/layout.constant.js.map +1 -0
- package/dist/src/core/layout/layout.module.d.ts +2 -0
- package/dist/src/core/layout/layout.module.js +43 -0
- package/dist/src/core/layout/layout.module.js.map +1 -0
- package/dist/src/core/layout/share_widget/share_widget.layout.d.ts +2 -0
- package/dist/src/core/layout/share_widget/share_widget.layout.js +5 -0
- package/dist/src/core/layout/share_widget/share_widget.layout.js.map +1 -0
- package/dist/src/core/layout/share_widget/share_widget.schema.d.ts +14 -0
- package/dist/src/core/layout/share_widget/share_widget.schema.js +80 -0
- package/dist/src/core/layout/share_widget/share_widget.schema.js.map +1 -0
- package/dist/src/core/layout/share_widget/share_widget.service.d.ts +19 -0
- package/dist/src/core/layout/share_widget/share_widget.service.js +110 -0
- package/dist/src/core/layout/share_widget/share_widget.service.js.map +1 -0
- package/dist/src/core/mail/log/mail_log.layout.d.ts +2 -0
- package/dist/src/core/mail/log/mail_log.layout.js +697 -0
- package/dist/src/core/mail/log/mail_log.layout.js.map +1 -0
- package/dist/src/core/mail/log/mail_log.schema.d.ts +21 -0
- package/dist/src/core/mail/log/mail_log.schema.js +94 -0
- package/dist/src/core/mail/log/mail_log.schema.js.map +1 -0
- package/dist/src/core/mail/log/mail_log.service.d.ts +12 -0
- package/dist/src/core/mail/log/mail_log.service.js +49 -0
- package/dist/src/core/mail/log/mail_log.service.js.map +1 -0
- package/dist/src/core/mail/mail.controller.d.ts +7 -0
- package/dist/src/core/mail/mail.controller.js +50 -0
- package/dist/src/core/mail/mail.controller.js.map +1 -0
- package/dist/src/core/mail/mail.custom_actions.d.ts +27 -0
- package/dist/src/core/mail/mail.custom_actions.js +35 -0
- package/dist/src/core/mail/mail.custom_actions.js.map +1 -0
- package/dist/src/core/mail/mail.enum.d.ts +3 -0
- package/dist/src/core/mail/mail.enum.js +8 -0
- package/dist/src/core/mail/mail.enum.js.map +1 -0
- package/dist/src/core/mail/mail.hook.d.ts +15 -0
- package/dist/src/core/mail/mail.hook.js +23 -0
- package/dist/src/core/mail/mail.hook.js.map +1 -0
- package/dist/src/core/mail/mail.layout.d.ts +2 -0
- package/dist/src/core/mail/mail.layout.js +653 -0
- package/dist/src/core/mail/mail.layout.js.map +1 -0
- package/dist/src/core/mail/mail.module.d.ts +2 -0
- package/dist/src/core/mail/mail.module.js +50 -0
- package/dist/src/core/mail/mail.module.js.map +1 -0
- package/dist/src/core/mail/mail.schema.d.ts +24 -0
- package/dist/src/core/mail/mail.schema.js +106 -0
- package/dist/src/core/mail/mail.schema.js.map +1 -0
- package/dist/src/core/mail/mail.service.d.ts +19 -0
- package/dist/src/core/mail/mail.service.js +193 -0
- package/dist/src/core/mail/mail.service.js.map +1 -0
- package/dist/src/core/map_location/map_location.layout.d.ts +2 -0
- package/dist/src/core/map_location/map_location.layout.js +102 -0
- package/dist/src/core/map_location/map_location.layout.js.map +1 -0
- package/dist/src/core/map_location/map_location.schema.d.ts +10 -0
- package/dist/src/core/map_location/map_location.schema.js +46 -0
- package/dist/src/core/map_location/map_location.schema.js.map +1 -0
- package/dist/src/core/map_location/map_location.service.d.ts +12 -0
- package/dist/src/core/map_location/map_location.service.js +44 -0
- package/dist/src/core/map_location/map_location.service.js.map +1 -0
- package/dist/src/core/map_location/map_locatioon.module.d.ts +2 -0
- package/dist/src/core/map_location/map_locatioon.module.js +38 -0
- package/dist/src/core/map_location/map_locatioon.module.js.map +1 -0
- package/dist/src/core/middlewares/request.middleware.d.ts +2 -0
- package/dist/src/core/middlewares/request.middleware.js +11 -0
- package/dist/src/core/middlewares/request.middleware.js.map +1 -0
- package/dist/src/core/notification/log/log.layout.d.ts +2 -0
- package/dist/src/core/notification/log/log.layout.js +19 -0
- package/dist/src/core/notification/log/log.layout.js.map +1 -0
- package/dist/src/core/notification/log/log.schema.d.ts +23 -0
- package/dist/src/core/notification/log/log.schema.js +94 -0
- package/dist/src/core/notification/log/log.schema.js.map +1 -0
- package/dist/src/core/notification/log/log.service.d.ts +12 -0
- package/dist/src/core/notification/log/log.service.js +45 -0
- package/dist/src/core/notification/log/log.service.js.map +1 -0
- package/dist/src/core/notification/message/message.controller.d.ts +6 -0
- package/dist/src/core/notification/message/message.controller.js +36 -0
- package/dist/src/core/notification/message/message.controller.js.map +1 -0
- package/dist/src/core/notification/message/message.custom_action.d.ts +15 -0
- package/dist/src/core/notification/message/message.custom_action.js +21 -0
- package/dist/src/core/notification/message/message.custom_action.js.map +1 -0
- package/dist/src/core/notification/message/message.layout.d.ts +2 -0
- package/dist/src/core/notification/message/message.layout.js +732 -0
- package/dist/src/core/notification/message/message.layout.js.map +1 -0
- package/dist/src/core/notification/message/message.schema.d.ts +22 -0
- package/dist/src/core/notification/message/message.schema.js +97 -0
- package/dist/src/core/notification/message/message.schema.js.map +1 -0
- package/dist/src/core/notification/message/message.service.d.ts +23 -0
- package/dist/src/core/notification/message/message.service.js +203 -0
- package/dist/src/core/notification/message/message.service.js.map +1 -0
- package/dist/src/core/notification/message/message.workflow.d.ts +2 -0
- package/dist/src/core/notification/message/message.workflow.js +455 -0
- package/dist/src/core/notification/message/message.workflow.js.map +1 -0
- package/dist/src/core/notification/message_queue/message_queue.controller.d.ts +6 -0
- package/dist/src/core/notification/message_queue/message_queue.controller.js +36 -0
- package/dist/src/core/notification/message_queue/message_queue.controller.js.map +1 -0
- package/dist/src/core/notification/message_queue/message_queue.layout.d.ts +2 -0
- package/dist/src/core/notification/message_queue/message_queue.layout.js +5 -0
- package/dist/src/core/notification/message_queue/message_queue.layout.js.map +1 -0
- package/dist/src/core/notification/message_queue/message_queue.schema.d.ts +17 -0
- package/dist/src/core/notification/message_queue/message_queue.schema.js +63 -0
- package/dist/src/core/notification/message_queue/message_queue.schema.js.map +1 -0
- package/dist/src/core/notification/message_queue/message_queue.service.d.ts +16 -0
- package/dist/src/core/notification/message_queue/message_queue.service.js +151 -0
- package/dist/src/core/notification/message_queue/message_queue.service.js.map +1 -0
- package/dist/src/core/notification/notification.constant.d.ts +8 -0
- package/dist/src/core/notification/notification.constant.js +13 -0
- package/dist/src/core/notification/notification.constant.js.map +1 -0
- package/dist/src/core/notification/notification.module.d.ts +2 -0
- package/dist/src/core/notification/notification.module.js +85 -0
- package/dist/src/core/notification/notification.module.js.map +1 -0
- package/dist/src/core/notification/subscription /subscription.controller.d.ts +7 -0
- package/dist/src/core/notification/subscription /subscription.controller.js +51 -0
- package/dist/src/core/notification/subscription /subscription.controller.js.map +1 -0
- package/dist/src/core/notification/subscription /subscription.layout.d.ts +2 -0
- package/dist/src/core/notification/subscription /subscription.layout.js +5 -0
- package/dist/src/core/notification/subscription /subscription.layout.js.map +1 -0
- package/dist/src/core/notification/subscription /subscription.schema.d.ts +11 -0
- package/dist/src/core/notification/subscription /subscription.schema.js +48 -0
- package/dist/src/core/notification/subscription /subscription.schema.js.map +1 -0
- package/dist/src/core/notification/subscription /subscription.service.d.ts +14 -0
- package/dist/src/core/notification/subscription /subscription.service.js +82 -0
- package/dist/src/core/notification/subscription /subscription.service.js.map +1 -0
- package/dist/src/core/pipeline/job/job.controller.d.ts +8 -0
- package/dist/src/core/pipeline/job/job.controller.js +59 -0
- package/dist/src/core/pipeline/job/job.controller.js.map +1 -0
- package/dist/src/core/pipeline/job/job.layout.d.ts +2 -0
- package/dist/src/core/pipeline/job/job.layout.js +5 -0
- package/dist/src/core/pipeline/job/job.layout.js.map +1 -0
- package/dist/src/core/pipeline/job/job.schema.d.ts +16 -0
- package/dist/src/core/pipeline/job/job.schema.js +80 -0
- package/dist/src/core/pipeline/job/job.schema.js.map +1 -0
- package/dist/src/core/pipeline/job/job.service.d.ts +21 -0
- package/dist/src/core/pipeline/job/job.service.js +259 -0
- package/dist/src/core/pipeline/job/job.service.js.map +1 -0
- package/dist/src/core/pipeline/log/log.layout.d.ts +2 -0
- package/dist/src/core/pipeline/log/log.layout.js +276 -0
- package/dist/src/core/pipeline/log/log.layout.js.map +1 -0
- package/dist/src/core/pipeline/log/log.schema.d.ts +20 -0
- package/dist/src/core/pipeline/log/log.schema.js +93 -0
- package/dist/src/core/pipeline/log/log.schema.js.map +1 -0
- package/dist/src/core/pipeline/log/log.service.d.ts +12 -0
- package/dist/src/core/pipeline/log/log.service.js +48 -0
- package/dist/src/core/pipeline/log/log.service.js.map +1 -0
- package/dist/src/core/pipeline/pipeline.controller.d.ts +6 -0
- package/dist/src/core/pipeline/pipeline.controller.js +41 -0
- package/dist/src/core/pipeline/pipeline.controller.js.map +1 -0
- package/dist/src/core/pipeline/pipeline.dto.d.ts +5 -0
- package/dist/src/core/pipeline/pipeline.dto.js +7 -0
- package/dist/src/core/pipeline/pipeline.dto.js.map +1 -0
- package/dist/src/core/pipeline/pipeline.enum.d.ts +16 -0
- package/dist/src/core/pipeline/pipeline.enum.js +23 -0
- package/dist/src/core/pipeline/pipeline.enum.js.map +1 -0
- package/dist/src/core/pipeline/pipeline.layout.d.ts +2 -0
- package/dist/src/core/pipeline/pipeline.layout.js +625 -0
- package/dist/src/core/pipeline/pipeline.layout.js.map +1 -0
- package/dist/src/core/pipeline/pipeline.module.d.ts +2 -0
- package/dist/src/core/pipeline/pipeline.module.js +59 -0
- package/dist/src/core/pipeline/pipeline.module.js.map +1 -0
- package/dist/src/core/pipeline/pipeline.schema.d.ts +11 -0
- package/dist/src/core/pipeline/pipeline.schema.js +39 -0
- package/dist/src/core/pipeline/pipeline.schema.js.map +1 -0
- package/dist/src/core/pipeline/pipeline.service.d.ts +21 -0
- package/dist/src/core/pipeline/pipeline.service.js +282 -0
- package/dist/src/core/pipeline/pipeline.service.js.map +1 -0
- package/dist/src/core/pipeline/pipeline.utils.d.ts +1 -0
- package/dist/src/core/pipeline/pipeline.utils.js +30 -0
- package/dist/src/core/pipeline/pipeline.utils.js.map +1 -0
- package/dist/src/core/pipeline/provider/base_pipeline.provider.d.ts +8 -0
- package/dist/src/core/pipeline/provider/base_pipeline.provider.js +16 -0
- package/dist/src/core/pipeline/provider/base_pipeline.provider.js.map +1 -0
- package/dist/src/core/pipeline/provider/pipeline.interface.d.ts +6 -0
- package/dist/src/core/pipeline/provider/pipeline.interface.js +3 -0
- package/dist/src/core/pipeline/provider/pipeline.interface.js.map +1 -0
- package/dist/src/core/queue/queue.controller.d.ts +21 -0
- package/dist/src/core/queue/queue.controller.js +99 -0
- package/dist/src/core/queue/queue.controller.js.map +1 -0
- package/dist/src/core/queue/queue.module.d.ts +4 -0
- package/dist/src/core/queue/queue.module.js +200 -0
- package/dist/src/core/queue/queue.module.js.map +1 -0
- package/dist/src/core/queue/queue.processor.d.ts +46 -0
- package/dist/src/core/queue/queue.processor.js +461 -0
- package/dist/src/core/queue/queue.processor.js.map +1 -0
- package/dist/src/core/queue/queue.service.d.ts +19 -0
- package/dist/src/core/queue/queue.service.js +73 -0
- package/dist/src/core/queue/queue.service.js.map +1 -0
- package/dist/src/core/reason/reason.layout.d.ts +4 -0
- package/dist/src/core/reason/reason.layout.js +579 -0
- package/dist/src/core/reason/reason.layout.js.map +1 -0
- package/dist/src/core/reason/reason.module.d.ts +2 -0
- package/dist/src/core/reason/reason.module.js +52 -0
- package/dist/src/core/reason/reason.module.js.map +1 -0
- package/dist/src/core/reason/reason.schema.d.ts +31 -0
- package/dist/src/core/reason/reason.schema.js +119 -0
- package/dist/src/core/reason/reason.schema.js.map +1 -0
- package/dist/src/core/reason/reason.service.d.ts +26 -0
- package/dist/src/core/reason/reason.service.js +82 -0
- package/dist/src/core/reason/reason.service.js.map +1 -0
- package/dist/src/core/redis/redis.constant.d.ts +2 -0
- package/dist/src/core/redis/redis.constant.js +6 -0
- package/dist/src/core/redis/redis.constant.js.map +1 -0
- package/dist/src/core/redis/redis.controller.d.ts +9 -0
- package/dist/src/core/redis/redis.controller.js +72 -0
- package/dist/src/core/redis/redis.controller.js.map +1 -0
- package/dist/src/core/redis/redis.module.d.ts +2 -0
- package/dist/src/core/redis/redis.module.js +24 -0
- package/dist/src/core/redis/redis.module.js.map +1 -0
- package/dist/src/core/redis/redis.service.d.ts +12 -0
- package/dist/src/core/redis/redis.service.js +145 -0
- package/dist/src/core/redis/redis.service.js.map +1 -0
- package/dist/src/core/rewrite_url/provider/provider.base.d.ts +7 -0
- package/dist/src/core/rewrite_url/provider/provider.base.js +12 -0
- package/dist/src/core/rewrite_url/provider/provider.base.js.map +1 -0
- package/dist/src/core/rewrite_url/provider/provider.interface.d.ts +9 -0
- package/dist/src/core/rewrite_url/provider/provider.interface.js +3 -0
- package/dist/src/core/rewrite_url/provider/provider.interface.js.map +1 -0
- package/dist/src/core/rewrite_url/rewrite_url.constant.d.ts +1 -0
- package/dist/src/core/rewrite_url/rewrite_url.constant.js +5 -0
- package/dist/src/core/rewrite_url/rewrite_url.constant.js.map +1 -0
- package/dist/src/core/rewrite_url/rewrite_url.controller.d.ts +7 -0
- package/dist/src/core/rewrite_url/rewrite_url.controller.js +52 -0
- package/dist/src/core/rewrite_url/rewrite_url.controller.js.map +1 -0
- package/dist/src/core/rewrite_url/rewrite_url.module.d.ts +2 -0
- package/dist/src/core/rewrite_url/rewrite_url.module.js +26 -0
- package/dist/src/core/rewrite_url/rewrite_url.module.js.map +1 -0
- package/dist/src/core/rewrite_url/rewrite_url.service.d.ts +10 -0
- package/dist/src/core/rewrite_url/rewrite_url.service.js +103 -0
- package/dist/src/core/rewrite_url/rewrite_url.service.js.map +1 -0
- package/dist/src/core/schedule_action/log/schedule_log.layout.d.ts +2 -0
- package/dist/src/core/schedule_action/log/schedule_log.layout.js +458 -0
- package/dist/src/core/schedule_action/log/schedule_log.layout.js.map +1 -0
- package/dist/src/core/schedule_action/log/schedule_log.schema.d.ts +15 -0
- package/dist/src/core/schedule_action/log/schedule_log.schema.js +70 -0
- package/dist/src/core/schedule_action/log/schedule_log.schema.js.map +1 -0
- package/dist/src/core/schedule_action/log/schedule_log.service.d.ts +12 -0
- package/dist/src/core/schedule_action/log/schedule_log.service.js +49 -0
- package/dist/src/core/schedule_action/log/schedule_log.service.js.map +1 -0
- package/dist/src/core/schedule_action/schedule_action.controller.d.ts +14 -0
- package/dist/src/core/schedule_action/schedule_action.controller.js +103 -0
- package/dist/src/core/schedule_action/schedule_action.controller.js.map +1 -0
- package/dist/src/core/schedule_action/schedule_action.enum.d.ts +12 -0
- package/dist/src/core/schedule_action/schedule_action.enum.js +19 -0
- package/dist/src/core/schedule_action/schedule_action.enum.js.map +1 -0
- package/dist/src/core/schedule_action/schedule_action.hook.d.ts +11 -0
- package/dist/src/core/schedule_action/schedule_action.hook.js +19 -0
- package/dist/src/core/schedule_action/schedule_action.hook.js.map +1 -0
- package/dist/src/core/schedule_action/schedule_action.layout.d.ts +2 -0
- package/dist/src/core/schedule_action/schedule_action.layout.js +615 -0
- package/dist/src/core/schedule_action/schedule_action.layout.js.map +1 -0
- package/dist/src/core/schedule_action/schedule_action.module.d.ts +2 -0
- package/dist/src/core/schedule_action/schedule_action.module.js +65 -0
- package/dist/src/core/schedule_action/schedule_action.module.js.map +1 -0
- package/dist/src/core/schedule_action/schedule_action.schema.d.ts +30 -0
- package/dist/src/core/schedule_action/schedule_action.schema.js +139 -0
- package/dist/src/core/schedule_action/schedule_action.schema.js.map +1 -0
- package/dist/src/core/schedule_action/schedule_action.service.d.ts +30 -0
- package/dist/src/core/schedule_action/schedule_action.service.js +319 -0
- package/dist/src/core/schedule_action/schedule_action.service.js.map +1 -0
- package/dist/src/core/schedule_action/schedule_action_cron.service.d.ts +17 -0
- package/dist/src/core/schedule_action/schedule_action_cron.service.js +222 -0
- package/dist/src/core/schedule_action/schedule_action_cron.service.js.map +1 -0
- package/dist/src/core/search_text/reindex_search_text/reindex_search_text.schema.d.ts +11 -0
- package/dist/src/core/search_text/reindex_search_text/reindex_search_text.schema.js +40 -0
- package/dist/src/core/search_text/reindex_search_text/reindex_search_text.schema.js.map +1 -0
- package/dist/src/core/search_text/reindex_search_text/reindex_search_text.service.d.ts +14 -0
- package/dist/src/core/search_text/reindex_search_text/reindex_search_text.service.js +74 -0
- package/dist/src/core/search_text/reindex_search_text/reindex_search_text.service.js.map +1 -0
- package/dist/src/core/search_text/search_text.controller.d.ts +8 -0
- package/dist/src/core/search_text/search_text.controller.js +57 -0
- package/dist/src/core/search_text/search_text.controller.js.map +1 -0
- package/dist/src/core/search_text/search_text.module.d.ts +2 -0
- package/dist/src/core/search_text/search_text.module.js +51 -0
- package/dist/src/core/search_text/search_text.module.js.map +1 -0
- package/dist/src/core/search_text/search_text.schema.d.ts +10 -0
- package/dist/src/core/search_text/search_text.schema.js +38 -0
- package/dist/src/core/search_text/search_text.schema.js.map +1 -0
- package/dist/src/core/search_text/search_text.service.d.ts +30 -0
- package/dist/src/core/search_text/search_text.service.js +295 -0
- package/dist/src/core/search_text/search_text.service.js.map +1 -0
- package/dist/src/core/setting/dto/auth_setting.dto.d.ts +43 -0
- package/dist/src/core/setting/dto/auth_setting.dto.js +151 -0
- package/dist/src/core/setting/dto/auth_setting.dto.js.map +1 -0
- package/dist/src/core/setting/dto/es_setting.dto.d.ts +3 -0
- package/dist/src/core/setting/dto/es_setting.dto.js +21 -0
- package/dist/src/core/setting/dto/es_setting.dto.js.map +1 -0
- package/dist/src/core/setting/dto/general_setting.dto.d.ts +10 -0
- package/dist/src/core/setting/dto/general_setting.dto.js +49 -0
- package/dist/src/core/setting/dto/general_setting.dto.js.map +1 -0
- package/dist/src/core/setting/dto/layout_setting.dto.d.ts +5 -0
- package/dist/src/core/setting/dto/layout_setting.dto.js +29 -0
- package/dist/src/core/setting/dto/layout_setting.dto.js.map +1 -0
- package/dist/src/core/setting/dto/log_setting.dto.d.ts +17 -0
- package/dist/src/core/setting/dto/log_setting.dto.js +57 -0
- package/dist/src/core/setting/dto/log_setting.dto.js.map +1 -0
- package/dist/src/core/setting/dto/login_method.dto.d.ts +4 -0
- package/dist/src/core/setting/dto/login_method.dto.js +25 -0
- package/dist/src/core/setting/dto/login_method.dto.js.map +1 -0
- package/dist/src/core/setting/dto/media_setting.dto.d.ts +29 -0
- package/dist/src/core/setting/dto/media_setting.dto.js +43 -0
- package/dist/src/core/setting/dto/media_setting.dto.js.map +1 -0
- package/dist/src/core/setting/dto/menu_setting.dto.d.ts +17 -0
- package/dist/src/core/setting/dto/menu_setting.dto.js +76 -0
- package/dist/src/core/setting/dto/menu_setting.dto.js.map +1 -0
- package/dist/src/core/setting/dto/queue_setting.dto.d.ts +3 -0
- package/dist/src/core/setting/dto/queue_setting.dto.js +21 -0
- package/dist/src/core/setting/dto/queue_setting.dto.js.map +1 -0
- package/dist/src/core/setting/dto/schedule_setting.dto.d.ts +5 -0
- package/dist/src/core/setting/dto/schedule_setting.dto.js +29 -0
- package/dist/src/core/setting/dto/schedule_setting.dto.js.map +1 -0
- package/dist/src/core/setting/dto/swagger_setting.dto.d.ts +5 -0
- package/dist/src/core/setting/dto/swagger_setting.dto.js +29 -0
- package/dist/src/core/setting/dto/swagger_setting.dto.js.map +1 -0
- package/dist/src/core/setting/setting.constant.d.ts +309 -0
- package/dist/src/core/setting/setting.constant.js +650 -0
- package/dist/src/core/setting/setting.constant.js.map +1 -0
- package/dist/src/core/setting/setting.controller.d.ts +54 -0
- package/dist/src/core/setting/setting.controller.js +487 -0
- package/dist/src/core/setting/setting.controller.js.map +1 -0
- package/dist/src/core/setting/setting.module.d.ts +2 -0
- package/dist/src/core/setting/setting.module.js +40 -0
- package/dist/src/core/setting/setting.module.js.map +1 -0
- package/dist/src/core/setting/setting.schema.d.ts +10 -0
- package/dist/src/core/setting/setting.schema.js +35 -0
- package/dist/src/core/setting/setting.schema.js.map +1 -0
- package/dist/src/core/setting/setting.service.d.ts +76 -0
- package/dist/src/core/setting/setting.service.js +1378 -0
- package/dist/src/core/setting/setting.service.js.map +1 -0
- package/dist/src/core/shortly/shortly.constant.d.ts +5 -0
- package/dist/src/core/shortly/shortly.constant.js +10 -0
- package/dist/src/core/shortly/shortly.constant.js.map +1 -0
- package/dist/src/core/shortly/shortly.module.d.ts +2 -0
- package/dist/src/core/shortly/shortly.module.js +42 -0
- package/dist/src/core/shortly/shortly.module.js.map +1 -0
- package/dist/src/core/shortly/url/url.controller.d.ts +6 -0
- package/dist/src/core/shortly/url/url.controller.js +41 -0
- package/dist/src/core/shortly/url/url.controller.js.map +1 -0
- package/dist/src/core/shortly/url/url.layout.d.ts +2 -0
- package/dist/src/core/shortly/url/url.layout.js +486 -0
- package/dist/src/core/shortly/url/url.layout.js.map +1 -0
- package/dist/src/core/shortly/url/url.schema.d.ts +15 -0
- package/dist/src/core/shortly/url/url.schema.js +69 -0
- package/dist/src/core/shortly/url/url.schema.js.map +1 -0
- package/dist/src/core/shortly/url/url.service.d.ts +16 -0
- package/dist/src/core/shortly/url/url.service.js +108 -0
- package/dist/src/core/shortly/url/url.service.js.map +1 -0
- package/dist/src/core/sms/log/sms_log.layout.d.ts +2 -0
- package/dist/src/core/sms/log/sms_log.layout.js +668 -0
- package/dist/src/core/sms/log/sms_log.layout.js.map +1 -0
- package/dist/src/core/sms/log/sms_log.schema.d.ts +27 -0
- package/dist/src/core/sms/log/sms_log.schema.js +115 -0
- package/dist/src/core/sms/log/sms_log.schema.js.map +1 -0
- package/dist/src/core/sms/log/sms_log.service.d.ts +14 -0
- package/dist/src/core/sms/log/sms_log.service.js +70 -0
- package/dist/src/core/sms/log/sms_log.service.js.map +1 -0
- package/dist/src/core/sms/sms.controller.d.ts +6 -0
- package/dist/src/core/sms/sms.controller.js +41 -0
- package/dist/src/core/sms/sms.controller.js.map +1 -0
- package/dist/src/core/sms/sms.enum.d.ts +12 -0
- package/dist/src/core/sms/sms.enum.js +19 -0
- package/dist/src/core/sms/sms.enum.js.map +1 -0
- package/dist/src/core/sms/sms.layout.d.ts +2 -0
- package/dist/src/core/sms/sms.layout.js +766 -0
- package/dist/src/core/sms/sms.layout.js.map +1 -0
- package/dist/src/core/sms/sms.module.d.ts +2 -0
- package/dist/src/core/sms/sms.module.js +49 -0
- package/dist/src/core/sms/sms.module.js.map +1 -0
- package/dist/src/core/sms/sms.schema.d.ts +24 -0
- package/dist/src/core/sms/sms.schema.js +107 -0
- package/dist/src/core/sms/sms.schema.js.map +1 -0
- package/dist/src/core/sms/sms.service.d.ts +16 -0
- package/dist/src/core/sms/sms.service.js +272 -0
- package/dist/src/core/sms/sms.service.js.map +1 -0
- package/dist/src/core/template/data/templates.json +192 -0
- package/dist/src/core/template/log/print_log.enum.d.ts +5 -0
- package/dist/src/core/template/log/print_log.enum.js +10 -0
- package/dist/src/core/template/log/print_log.enum.js.map +1 -0
- package/dist/src/core/template/log/print_log.layout.d.ts +2 -0
- package/dist/src/core/template/log/print_log.layout.js +483 -0
- package/dist/src/core/template/log/print_log.layout.js.map +1 -0
- package/dist/src/core/template/log/print_log.schema.d.ts +18 -0
- package/dist/src/core/template/log/print_log.schema.js +104 -0
- package/dist/src/core/template/log/print_log.schema.js.map +1 -0
- package/dist/src/core/template/log/print_log.service.d.ts +12 -0
- package/dist/src/core/template/log/print_log.service.js +49 -0
- package/dist/src/core/template/log/print_log.service.js.map +1 -0
- package/dist/src/core/template/provider/base_template.provider.d.ts +9 -0
- package/dist/src/core/template/provider/base_template.provider.js +22 -0
- package/dist/src/core/template/provider/base_template.provider.js.map +1 -0
- package/dist/src/core/template/provider/email.provider.d.ts +8 -0
- package/dist/src/core/template/provider/email.provider.js +155 -0
- package/dist/src/core/template/provider/email.provider.js.map +1 -0
- package/dist/src/core/template/provider/sms.provider.d.ts +8 -0
- package/dist/src/core/template/provider/sms.provider.js +93 -0
- package/dist/src/core/template/provider/sms.provider.js.map +1 -0
- package/dist/src/core/template/provider/template.interface.d.ts +7 -0
- package/dist/src/core/template/provider/template.interface.js +3 -0
- package/dist/src/core/template/provider/template.interface.js.map +1 -0
- package/dist/src/core/template/provider/template_email.provider.d.ts +8 -0
- package/dist/src/core/template/provider/template_email.provider.js +472 -0
- package/dist/src/core/template/provider/template_email.provider.js.map +1 -0
- package/dist/src/core/template/provider/template_print.provider.d.ts +9 -0
- package/dist/src/core/template/provider/template_print.provider.js +1114 -0
- package/dist/src/core/template/provider/template_print.provider.js.map +1 -0
- package/dist/src/core/template/provider/template_sms.provider.d.ts +8 -0
- package/dist/src/core/template/provider/template_sms.provider.js +453 -0
- package/dist/src/core/template/provider/template_sms.provider.js.map +1 -0
- package/dist/src/core/template/template.controller.d.ts +15 -0
- package/dist/src/core/template/template.controller.js +140 -0
- package/dist/src/core/template/template.controller.js.map +1 -0
- package/dist/src/core/template/template.enum.d.ts +34 -0
- package/dist/src/core/template/template.enum.js +43 -0
- package/dist/src/core/template/template.enum.js.map +1 -0
- package/dist/src/core/template/template.hook.d.ts +18 -0
- package/dist/src/core/template/template.hook.js +26 -0
- package/dist/src/core/template/template.hook.js.map +1 -0
- package/dist/src/core/template/template.layout.d.ts +2 -0
- package/dist/src/core/template/template.layout.js +399 -0
- package/dist/src/core/template/template.layout.js.map +1 -0
- package/dist/src/core/template/template.module.d.ts +2 -0
- package/dist/src/core/template/template.module.js +49 -0
- package/dist/src/core/template/template.module.js.map +1 -0
- package/dist/src/core/template/template.schema.d.ts +57 -0
- package/dist/src/core/template/template.schema.js +265 -0
- package/dist/src/core/template/template.schema.js.map +1 -0
- package/dist/src/core/template/template.service.d.ts +49 -0
- package/dist/src/core/template/template.service.js +900 -0
- package/dist/src/core/template/template.service.js.map +1 -0
- package/dist/src/core/template/template.utils.d.ts +25 -0
- package/dist/src/core/template/template.utils.js +292 -0
- package/dist/src/core/template/template.utils.js.map +1 -0
- package/dist/src/core/translate/translate.controller.d.ts +8 -0
- package/dist/src/core/translate/translate.controller.js +74 -0
- package/dist/src/core/translate/translate.controller.js.map +1 -0
- package/dist/src/core/translate/translate.enum.d.ts +5 -0
- package/dist/src/core/translate/translate.enum.js +10 -0
- package/dist/src/core/translate/translate.enum.js.map +1 -0
- package/dist/src/core/translate/translate.hook.d.ts +13 -0
- package/dist/src/core/translate/translate.hook.js +21 -0
- package/dist/src/core/translate/translate.hook.js.map +1 -0
- package/dist/src/core/translate/translate.json +2011 -0
- package/dist/src/core/translate/translate.layout.d.ts +2 -0
- package/dist/src/core/translate/translate.layout.js +95 -0
- package/dist/src/core/translate/translate.layout.js.map +1 -0
- package/dist/src/core/translate/translate.module.d.ts +2 -0
- package/dist/src/core/translate/translate.module.js +42 -0
- package/dist/src/core/translate/translate.module.js.map +1 -0
- package/dist/src/core/translate/translate.schema.d.ts +16 -0
- package/dist/src/core/translate/translate.schema.js +76 -0
- package/dist/src/core/translate/translate.schema.js.map +1 -0
- package/dist/src/core/translate/translate.service.d.ts +17 -0
- package/dist/src/core/translate/translate.service.js +139 -0
- package/dist/src/core/translate/translate.service.js.map +1 -0
- package/dist/src/core/users/user.config.d.ts +4 -0
- package/dist/src/core/users/user.config.js +8 -0
- package/dist/src/core/users/user.config.js.map +1 -0
- package/dist/src/core/users/user.constant.d.ts +4 -0
- package/dist/src/core/users/user.constant.js +36 -0
- package/dist/src/core/users/user.constant.js.map +1 -0
- package/dist/src/core/users/user.controller.d.ts +33 -0
- package/dist/src/core/users/user.controller.js +292 -0
- package/dist/src/core/users/user.controller.js.map +1 -0
- package/dist/src/core/users/user.enum.d.ts +40 -0
- package/dist/src/core/users/user.enum.js +48 -0
- package/dist/src/core/users/user.enum.js.map +1 -0
- package/dist/src/core/users/user.hook.d.ts +25 -0
- package/dist/src/core/users/user.hook.js +36 -0
- package/dist/src/core/users/user.hook.js.map +1 -0
- package/dist/src/core/users/user.layout.d.ts +4 -0
- package/dist/src/core/users/user.layout.js +2333 -0
- package/dist/src/core/users/user.layout.js.map +1 -0
- package/dist/src/core/users/user.module.d.ts +2 -0
- package/dist/src/core/users/user.module.js +77 -0
- package/dist/src/core/users/user.module.js.map +1 -0
- package/dist/src/core/users/user.permission.d.ts +2 -0
- package/dist/src/core/users/user.permission.js +10 -0
- package/dist/src/core/users/user.permission.js.map +1 -0
- package/dist/src/core/users/user.schema.d.ts +73 -0
- package/dist/src/core/users/user.schema.js +316 -0
- package/dist/src/core/users/user.schema.js.map +1 -0
- package/dist/src/core/users/user.service.d.ts +100 -0
- package/dist/src/core/users/user.service.js +1551 -0
- package/dist/src/core/users/user.service.js.map +1 -0
- package/dist/src/core/version_data/version_data.module.d.ts +2 -0
- package/dist/src/core/version_data/version_data.module.js +38 -0
- package/dist/src/core/version_data/version_data.module.js.map +1 -0
- package/dist/src/core/version_data/version_data.schema.d.ts +13 -0
- package/dist/src/core/version_data/version_data.schema.js +55 -0
- package/dist/src/core/version_data/version_data.schema.js.map +1 -0
- package/dist/src/core/version_data/version_data.service.d.ts +12 -0
- package/dist/src/core/version_data/version_data.service.js +43 -0
- package/dist/src/core/version_data/version_data.service.js.map +1 -0
- package/dist/src/core/widget/widget.controller.d.ts +6 -0
- package/dist/src/core/widget/widget.controller.js +42 -0
- package/dist/src/core/widget/widget.controller.js.map +1 -0
- package/dist/src/core/widget/widget.enum.d.ts +19 -0
- package/dist/src/core/widget/widget.enum.js +25 -0
- package/dist/src/core/widget/widget.enum.js.map +1 -0
- package/dist/src/core/widget/widget.module.d.ts +2 -0
- package/dist/src/core/widget/widget.module.js +40 -0
- package/dist/src/core/widget/widget.module.js.map +1 -0
- package/dist/src/core/widget/widget.schema.d.ts +21 -0
- package/dist/src/core/widget/widget.schema.js +94 -0
- package/dist/src/core/widget/widget.schema.js.map +1 -0
- package/dist/src/core/widget/widget.service.d.ts +15 -0
- package/dist/src/core/widget/widget.service.js +370 -0
- package/dist/src/core/widget/widget.service.js.map +1 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +5 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/main.d.ts +1 -0
- package/dist/src/main.js +235 -0
- package/dist/src/main.js.map +1 -0
- package/dist/src/modules/index.d.ts +1 -0
- package/dist/src/modules/index.js +6 -0
- package/dist/src/modules/index.js.map +1 -0
- package/dist/src/modules/modules.d.ts +3 -0
- package/dist/src/modules/modules.js +8 -0
- package/dist/src/modules/modules.js.map +1 -0
- package/dist/src/private.controller.d.ts +6 -0
- package/dist/src/private.controller.js +44 -0
- package/dist/src/private.controller.js.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/dist/typings/node/index.d.ts +4 -0
- package/dist/typings/node/index.js +1 -0
- package/dist/typings/node/index.js.map +1 -0
- package/package.json +116 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.MailSettingModule = void 0;
|
|
10
|
+
const _ = require("lodash");
|
|
11
|
+
const common_1 = require("@nestjs/common");
|
|
12
|
+
const mongoose_1 = require("@nestjs/mongoose");
|
|
13
|
+
const entities_module_1 = require("../entities/entities.module");
|
|
14
|
+
const mail_schema_1 = require("./mail.schema");
|
|
15
|
+
const mail_controller_1 = require("./mail.controller");
|
|
16
|
+
const mail_service_1 = require("./mail.service");
|
|
17
|
+
const mail_log_schema_1 = require("./log/mail_log.schema");
|
|
18
|
+
const mail_log_service_1 = require("./log/mail_log.service");
|
|
19
|
+
const nestjs_cls_1 = require("nestjs-cls");
|
|
20
|
+
let MailSettingModule = class MailSettingModule {
|
|
21
|
+
};
|
|
22
|
+
exports.MailSettingModule = MailSettingModule;
|
|
23
|
+
exports.MailSettingModule = MailSettingModule = __decorate([
|
|
24
|
+
(0, common_1.Module)({
|
|
25
|
+
imports: [
|
|
26
|
+
mongoose_1.MongooseModule.forFeatureAsync([
|
|
27
|
+
{
|
|
28
|
+
name: _.snakeCase(mail_schema_1.MailSetting.name),
|
|
29
|
+
useFactory: () => {
|
|
30
|
+
const schema = mail_schema_1.MailSettingSchema;
|
|
31
|
+
return schema;
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
name: _.snakeCase(mail_log_schema_1.MailLog.name),
|
|
36
|
+
useFactory: () => {
|
|
37
|
+
const schema = mail_log_schema_1.MailLogSchema;
|
|
38
|
+
return schema;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
]),
|
|
42
|
+
nestjs_cls_1.ClsModule,
|
|
43
|
+
entities_module_1.EntitiesModule
|
|
44
|
+
],
|
|
45
|
+
controllers: [mail_controller_1.MailSettingController],
|
|
46
|
+
providers: [mail_service_1.MailSettingService, mail_log_service_1.MailLogService],
|
|
47
|
+
exports: [mail_service_1.MailSettingService, mail_log_service_1.MailLogService]
|
|
48
|
+
})
|
|
49
|
+
], MailSettingModule);
|
|
50
|
+
//# sourceMappingURL=mail.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mail.module.js","sourceRoot":"","sources":["../../../../src/core/mail/mail.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,4BAA4B;AAE5B,2CAAwC;AACxC,+CAAkD;AAElD,iEAAmE;AACnE,+CAA+D;AAC/D,uDAA0D;AAC1D,iDAAoD;AAEpD,2DAA+D;AAC/D,6DAAwD;AACxD,2CAAuC;AA2BhC,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;CAAG,CAAA;AAApB,8CAAiB;4BAAjB,iBAAiB;IAzB7B,IAAA,eAAM,EAAC;QACN,OAAO,EAAE;YACP,yBAAc,CAAC,eAAe,CAAC;gBAC7B;oBACE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,yBAAW,CAAC,IAAI,CAAC;oBACnC,UAAU,EAAE,GAAG,EAAE;wBACf,MAAM,MAAM,GAAG,+BAAiB,CAAC;wBACjC,OAAO,MAAM,CAAC;oBAChB,CAAC;iBACF;gBACD;oBACE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,yBAAO,CAAC,IAAI,CAAC;oBAC/B,UAAU,EAAE,GAAG,EAAE;wBACf,MAAM,MAAM,GAAG,+BAAa,CAAC;wBAC7B,OAAO,MAAM,CAAC;oBAChB,CAAC;iBACF;aACF,CAAC;YACF,sBAAS;YACT,gCAAc;SACf;QACD,WAAW,EAAE,CAAC,uCAAqB,CAAC;QACpC,SAAS,EAAE,CAAC,iCAAkB,EAAE,iCAAc,CAAC;QAC/C,OAAO,EAAE,CAAC,iCAAkB,EAAE,iCAAc,CAAC;KAC9C,CAAC;GACW,iBAAiB,CAAG"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { BaseSchema } from "src/core/common/base/base.schema";
|
|
2
|
+
export declare class MailSetting extends BaseSchema {
|
|
3
|
+
name: string;
|
|
4
|
+
default: boolean;
|
|
5
|
+
sandbox: boolean;
|
|
6
|
+
send_from: string;
|
|
7
|
+
smtp_enabled: boolean;
|
|
8
|
+
smtp_host: string;
|
|
9
|
+
smtp_port: number;
|
|
10
|
+
smtp_secure: boolean;
|
|
11
|
+
smtp_ttl: boolean;
|
|
12
|
+
smtp_auth_type: string;
|
|
13
|
+
smtp_auth_username: string;
|
|
14
|
+
smtp_auth_password: string;
|
|
15
|
+
imap_enabled: boolean;
|
|
16
|
+
imap_host: string;
|
|
17
|
+
imap_port: number;
|
|
18
|
+
imap_username: string;
|
|
19
|
+
imap_password: string;
|
|
20
|
+
imap_tls: boolean;
|
|
21
|
+
}
|
|
22
|
+
export declare const MailSettingSchema: import("mongoose").Schema<any, import("mongoose").Model<any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
|
|
23
|
+
[x: string]: any;
|
|
24
|
+
}>;
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.MailSettingSchema = exports.MailSetting = void 0;
|
|
13
|
+
const mongoose_1 = require("@nestjs/mongoose");
|
|
14
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
15
|
+
const base_schema_1 = require("../common/base/base.schema");
|
|
16
|
+
const mail_enum_1 = require("./mail.enum");
|
|
17
|
+
let MailSetting = class MailSetting extends base_schema_1.BaseSchema {
|
|
18
|
+
};
|
|
19
|
+
exports.MailSetting = MailSetting;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, mongoose_1.Prop)({ required: true }),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], MailSetting.prototype, "name", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, mongoose_1.Prop)({ default: false }),
|
|
26
|
+
__metadata("design:type", Boolean)
|
|
27
|
+
], MailSetting.prototype, "default", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, mongoose_1.Prop)({ required: true, default: true }),
|
|
30
|
+
__metadata("design:type", Boolean)
|
|
31
|
+
], MailSetting.prototype, "sandbox", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, mongoose_1.Prop)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], MailSetting.prototype, "send_from", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, mongoose_1.Prop)(),
|
|
38
|
+
__metadata("design:type", Boolean)
|
|
39
|
+
], MailSetting.prototype, "smtp_enabled", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, mongoose_1.Prop)({ required: true }),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], MailSetting.prototype, "smtp_host", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, mongoose_1.Prop)({ required: true }),
|
|
46
|
+
__metadata("design:type", Number)
|
|
47
|
+
], MailSetting.prototype, "smtp_port", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, mongoose_1.Prop)(),
|
|
50
|
+
__metadata("design:type", Boolean)
|
|
51
|
+
], MailSetting.prototype, "smtp_secure", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, mongoose_1.Prop)(),
|
|
54
|
+
__metadata("design:type", Boolean)
|
|
55
|
+
], MailSetting.prototype, "smtp_ttl", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, mongoose_1.Prop)({
|
|
58
|
+
type: [String],
|
|
59
|
+
required: true,
|
|
60
|
+
fields_options_type: "options",
|
|
61
|
+
values: Object.keys(mail_enum_1.SMTPAuthType)
|
|
62
|
+
}),
|
|
63
|
+
(0, swagger_1.ApiProperty)({
|
|
64
|
+
enum: mail_enum_1.SMTPAuthType,
|
|
65
|
+
required: true,
|
|
66
|
+
default: mail_enum_1.SMTPAuthType.login
|
|
67
|
+
}),
|
|
68
|
+
__metadata("design:type", String)
|
|
69
|
+
], MailSetting.prototype, "smtp_auth_type", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, mongoose_1.Prop)({ required: true }),
|
|
72
|
+
__metadata("design:type", String)
|
|
73
|
+
], MailSetting.prototype, "smtp_auth_username", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, mongoose_1.Prop)({ required: true }),
|
|
76
|
+
__metadata("design:type", String)
|
|
77
|
+
], MailSetting.prototype, "smtp_auth_password", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, mongoose_1.Prop)(),
|
|
80
|
+
__metadata("design:type", Boolean)
|
|
81
|
+
], MailSetting.prototype, "imap_enabled", void 0);
|
|
82
|
+
__decorate([
|
|
83
|
+
(0, mongoose_1.Prop)(),
|
|
84
|
+
__metadata("design:type", String)
|
|
85
|
+
], MailSetting.prototype, "imap_host", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
(0, mongoose_1.Prop)(),
|
|
88
|
+
__metadata("design:type", Number)
|
|
89
|
+
], MailSetting.prototype, "imap_port", void 0);
|
|
90
|
+
__decorate([
|
|
91
|
+
(0, mongoose_1.Prop)(),
|
|
92
|
+
__metadata("design:type", String)
|
|
93
|
+
], MailSetting.prototype, "imap_username", void 0);
|
|
94
|
+
__decorate([
|
|
95
|
+
(0, mongoose_1.Prop)(),
|
|
96
|
+
__metadata("design:type", String)
|
|
97
|
+
], MailSetting.prototype, "imap_password", void 0);
|
|
98
|
+
__decorate([
|
|
99
|
+
(0, mongoose_1.Prop)(),
|
|
100
|
+
__metadata("design:type", Boolean)
|
|
101
|
+
], MailSetting.prototype, "imap_tls", void 0);
|
|
102
|
+
exports.MailSetting = MailSetting = __decorate([
|
|
103
|
+
(0, mongoose_1.Schema)({ strict: false, timestamps: true })
|
|
104
|
+
], MailSetting);
|
|
105
|
+
exports.MailSettingSchema = base_schema_1.BaseSchemaFactory.createForClass(MailSetting);
|
|
106
|
+
//# sourceMappingURL=mail.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mail.schema.js","sourceRoot":"","sources":["../../../../src/core/mail/mail.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAgD;AAChD,6CAA8C;AAC9C,4DAG0C;AAC1C,2CAA2C;AAGpC,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,wBAAU;CAgE1C,CAAA;AAhEY,kCAAW;AAEtB;IADC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yCACZ;AAGb;IADC,IAAA,eAAI,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;4CACR;AAGjB;IADC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;4CACvB;AAGjB;IADC,IAAA,eAAI,GAAE;;8CACW;AAGlB;IADC,IAAA,eAAI,GAAE;;iDACe;AAGtB;IADC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CACP;AAGlB;IADC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CACP;AAGlB;IADC,IAAA,eAAI,GAAE;;gDACc;AAGrB;IADC,IAAA,eAAI,GAAE;;6CACW;AAalB;IAXC,IAAA,eAAI,EAAC;QACJ,IAAI,EAAE,CAAC,MAAM,CAAC;QACd,QAAQ,EAAE,IAAI;QACd,mBAAmB,EAAE,SAAS;QAC9B,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,wBAAY,CAAC;KAClC,CAAC;IACD,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,wBAAY;QAClB,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,wBAAY,CAAC,KAAK;KAC5B,CAAC;;mDACqB;AAGvB;IADC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACE;AAG3B;IADC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACE;AAG3B;IADC,IAAA,eAAI,GAAE;;iDACe;AAGtB;IADC,IAAA,eAAI,GAAE;;8CACW;AAGlB;IADC,IAAA,eAAI,GAAE;;8CACW;AAGlB;IADC,IAAA,eAAI,GAAE;;kDACe;AAGtB;IADC,IAAA,eAAI,GAAE;;kDACe;AAGtB;IADC,IAAA,eAAI,GAAE;;6CACW;sBA/DP,WAAW;IADvB,IAAA,iBAAM,EAAC,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;GAC/B,WAAW,CAgEvB;AACY,QAAA,iBAAiB,GAAG,+BAAiB,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as mongoose from "mongoose";
|
|
2
|
+
import { EntitiesService } from "../entities/entities.service";
|
|
3
|
+
import { BaseService } from "src/core/common/base/base.service";
|
|
4
|
+
import { MailSetting } from "./mail.schema";
|
|
5
|
+
import { MailLogService } from "./log/mail_log.service";
|
|
6
|
+
import { ClsService } from "nestjs-cls";
|
|
7
|
+
export declare class MailSettingService extends BaseService<MailSetting> {
|
|
8
|
+
readonly cls: ClsService;
|
|
9
|
+
private entitiesService;
|
|
10
|
+
private log;
|
|
11
|
+
protected model: mongoose.Model<MailSetting>;
|
|
12
|
+
constructor(cls: ClsService, entitiesService: EntitiesService, log: MailLogService, model: mongoose.Model<MailSetting>);
|
|
13
|
+
init(): Promise<string>;
|
|
14
|
+
private _prepareLog;
|
|
15
|
+
private _getAttachmentInfo;
|
|
16
|
+
private _createConnection;
|
|
17
|
+
send(data: any): Promise<any>;
|
|
18
|
+
hook(data: any): Promise<any>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
+
};
|
|
14
|
+
var MailSettingService_1;
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.MailSettingService = void 0;
|
|
17
|
+
const mongoose = require("mongoose");
|
|
18
|
+
const nodemailer = require("nodemailer");
|
|
19
|
+
const lzutf8 = require("lzutf8");
|
|
20
|
+
const _ = require("lodash");
|
|
21
|
+
const common_1 = require("@nestjs/common");
|
|
22
|
+
const mongoose_1 = require("@nestjs/mongoose");
|
|
23
|
+
const entities_service_1 = require("../entities/entities.service");
|
|
24
|
+
const base_service_1 = require("../common/base/base.service");
|
|
25
|
+
const mail_schema_1 = require("./mail.schema");
|
|
26
|
+
const mail_hook_1 = require("./mail.hook");
|
|
27
|
+
const schema_1 = require("../common/utils/schema");
|
|
28
|
+
const activity_log_enum_1 = require("../activity_log/activity_log.enum");
|
|
29
|
+
const mail_log_service_1 = require("./log/mail_log.service");
|
|
30
|
+
const mail_layout_1 = require("./mail.layout");
|
|
31
|
+
const nestjs_cls_1 = require("nestjs-cls");
|
|
32
|
+
const mail_custom_actions_1 = require("./mail.custom_actions");
|
|
33
|
+
let MailSettingService = MailSettingService_1 = class MailSettingService extends base_service_1.BaseService {
|
|
34
|
+
constructor(cls, entitiesService, log, model) {
|
|
35
|
+
super(cls, model);
|
|
36
|
+
this.cls = cls;
|
|
37
|
+
this.entitiesService = entitiesService;
|
|
38
|
+
this.log = log;
|
|
39
|
+
this.model = model;
|
|
40
|
+
}
|
|
41
|
+
async init() {
|
|
42
|
+
await this.entitiesService.refreshSystemSchema(MailSettingService_1, this.model, mail_schema_1.MailSetting, mail_schema_1.MailSettingSchema, {
|
|
43
|
+
custom_actions: mail_custom_actions_1.MailsettingCustomAction,
|
|
44
|
+
layouts: mail_layout_1.MailLayout,
|
|
45
|
+
hooks: mail_hook_1.MailHook
|
|
46
|
+
});
|
|
47
|
+
return "mail_setting";
|
|
48
|
+
}
|
|
49
|
+
_prepareLog() {
|
|
50
|
+
return {
|
|
51
|
+
mail_name: "default",
|
|
52
|
+
mail_code: "default",
|
|
53
|
+
smtp_host: undefined,
|
|
54
|
+
smtp_port: undefined,
|
|
55
|
+
send_from: undefined,
|
|
56
|
+
send_to: undefined,
|
|
57
|
+
subject: undefined,
|
|
58
|
+
body: undefined,
|
|
59
|
+
attachments: undefined,
|
|
60
|
+
start_process_time: new Date(),
|
|
61
|
+
end_process_time: undefined,
|
|
62
|
+
message: "Successfully",
|
|
63
|
+
response: undefined,
|
|
64
|
+
status: activity_log_enum_1.ActivityLogStatus.successfully
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
_getAttachmentInfo(attachments) {
|
|
68
|
+
const result = [];
|
|
69
|
+
for (const att of attachments) {
|
|
70
|
+
const info = { filename: att.filename, size: undefined };
|
|
71
|
+
const buff = Buffer.from(att.content);
|
|
72
|
+
if (Buffer.byteLength(buff) < 1024)
|
|
73
|
+
info.size = `${Buffer.byteLength(buff)} bytes`;
|
|
74
|
+
else if (Buffer.byteLength(buff) < 1024 * 1024)
|
|
75
|
+
info.size = `${_.round(Buffer.byteLength(buff) / 1024, 1)} Kb`;
|
|
76
|
+
else if (Buffer.byteLength(buff) < 1024 * 1024 * 1024)
|
|
77
|
+
info.size = `${_.round(Buffer.byteLength(buff) / (1024 * 1024), 1)} Mb`;
|
|
78
|
+
else if (Buffer.byteLength(buff) < 1024 * 1024 * 1024 * 1024)
|
|
79
|
+
info.size = `${_.round(Buffer.byteLength(buff) / (1024 * 1024 * 1024), 1)} Gb`;
|
|
80
|
+
else
|
|
81
|
+
info.size = `${_.round(Buffer.byteLength(buff) / (1024 * 1024 * 1024 * 1024), 1)} Tb`;
|
|
82
|
+
result.push(info);
|
|
83
|
+
}
|
|
84
|
+
return result;
|
|
85
|
+
}
|
|
86
|
+
async _createConnection(config) {
|
|
87
|
+
if (!config.smtp_enabled) {
|
|
88
|
+
throw new Error("SMTP is not enabled");
|
|
89
|
+
}
|
|
90
|
+
return nodemailer.createTransport({
|
|
91
|
+
host: config["smtp_host"],
|
|
92
|
+
port: config["smtp_port"],
|
|
93
|
+
auth: {
|
|
94
|
+
user: config["smtp_auth_username"],
|
|
95
|
+
pass: config["smtp_auth_password"],
|
|
96
|
+
type: config["smtp_auth_type"] || "login"
|
|
97
|
+
},
|
|
98
|
+
secure: config["smtp_secure"] || false
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
async send(data) {
|
|
102
|
+
const { to, subject, from, body, attachments, template, doc_ref, compress } = data;
|
|
103
|
+
const request = this.cls.get("request");
|
|
104
|
+
const log = this._prepareLog();
|
|
105
|
+
const startExecTime = new Date();
|
|
106
|
+
const entity = await (0, schema_1.loadEntity)("mail_setting");
|
|
107
|
+
delete request.headers.ignore_activity_log;
|
|
108
|
+
const config = await this.find(undefined, { default: true });
|
|
109
|
+
if (_.isEmpty(config)) {
|
|
110
|
+
throw new Error("Please config mail setting");
|
|
111
|
+
}
|
|
112
|
+
log.smtp_host = config["smtp_host"];
|
|
113
|
+
log.smtp_port = config["smtp_port"];
|
|
114
|
+
const sendFrom = from || config["send_from"];
|
|
115
|
+
log.send_from = sendFrom;
|
|
116
|
+
log.send_to = _.isArray(to) ? to : [to];
|
|
117
|
+
log.subject = subject;
|
|
118
|
+
if (_.isArray(attachments)) {
|
|
119
|
+
for (const att of attachments) {
|
|
120
|
+
if (!att.compress) {
|
|
121
|
+
continue;
|
|
122
|
+
}
|
|
123
|
+
att.content = lzutf8.decompress(att.content, {
|
|
124
|
+
inputEncoding: "BinaryString"
|
|
125
|
+
});
|
|
126
|
+
delete att.compress;
|
|
127
|
+
}
|
|
128
|
+
log.attachments = this._getAttachmentInfo(attachments);
|
|
129
|
+
}
|
|
130
|
+
let html = body;
|
|
131
|
+
if (compress) {
|
|
132
|
+
try {
|
|
133
|
+
html = lzutf8.decompress(body, { inputEncoding: "BinaryString" });
|
|
134
|
+
}
|
|
135
|
+
catch (error) {
|
|
136
|
+
log.message = 'Failed to decompress HTML content';
|
|
137
|
+
throw new Error('Email content decompression failed');
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
if (!html || typeof html !== 'string') {
|
|
141
|
+
return;
|
|
142
|
+
}
|
|
143
|
+
const hasScriptTags = /<script/i.test(html);
|
|
144
|
+
const hasEventHandlers = /on\w+\s*=/i.test(html);
|
|
145
|
+
const hasJavascriptProtocol = /javascript:/i.test(html);
|
|
146
|
+
if (hasScriptTags || hasEventHandlers || hasJavascriptProtocol) {
|
|
147
|
+
throw new Error('Suspicious content detected after sanitization');
|
|
148
|
+
}
|
|
149
|
+
log.body = html;
|
|
150
|
+
try {
|
|
151
|
+
const client = await this._createConnection(config);
|
|
152
|
+
const res = await client.sendMail({
|
|
153
|
+
to: _.isArray(to) ? to.join(", ") : to,
|
|
154
|
+
from: from || config["send_from"],
|
|
155
|
+
subject,
|
|
156
|
+
html,
|
|
157
|
+
attachments
|
|
158
|
+
});
|
|
159
|
+
log.end_process_time = new Date();
|
|
160
|
+
log.response = res;
|
|
161
|
+
await this.log.create(log);
|
|
162
|
+
return true;
|
|
163
|
+
}
|
|
164
|
+
catch (e) {
|
|
165
|
+
log.end_process_time = new Date();
|
|
166
|
+
log.message = e.message;
|
|
167
|
+
log.status = activity_log_enum_1.ActivityLogStatus.failed;
|
|
168
|
+
await this.log.create(log);
|
|
169
|
+
throw e;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
async hook(data) {
|
|
173
|
+
const res = await this.findOne(data.id, ["default"]);
|
|
174
|
+
if (res.default) {
|
|
175
|
+
await this.model.updateMany({
|
|
176
|
+
default: true,
|
|
177
|
+
_id: {
|
|
178
|
+
$nin: [new mongoose.Types.ObjectId(res._id)]
|
|
179
|
+
}
|
|
180
|
+
}, { default: false });
|
|
181
|
+
}
|
|
182
|
+
return true;
|
|
183
|
+
}
|
|
184
|
+
};
|
|
185
|
+
exports.MailSettingService = MailSettingService;
|
|
186
|
+
exports.MailSettingService = MailSettingService = MailSettingService_1 = __decorate([
|
|
187
|
+
(0, common_1.Injectable)(),
|
|
188
|
+
__param(3, (0, mongoose_1.InjectModel)("mail_setting")),
|
|
189
|
+
__metadata("design:paramtypes", [nestjs_cls_1.ClsService,
|
|
190
|
+
entities_service_1.EntitiesService,
|
|
191
|
+
mail_log_service_1.MailLogService, mongoose.Model])
|
|
192
|
+
], MailSettingService);
|
|
193
|
+
//# sourceMappingURL=mail.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mail.service.js","sourceRoot":"","sources":["../../../../src/core/mail/mail.service.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MapLocationLayout = void 0;
|
|
4
|
+
const uuid_1 = require("uuid");
|
|
5
|
+
exports.MapLocationLayout = [
|
|
6
|
+
{
|
|
7
|
+
name: "MapLocation",
|
|
8
|
+
code: "default",
|
|
9
|
+
type: ["standard"],
|
|
10
|
+
list: {
|
|
11
|
+
allow_search: true,
|
|
12
|
+
allow_sort: true,
|
|
13
|
+
allow_filter: false,
|
|
14
|
+
allow_bulk: true,
|
|
15
|
+
entries_per_page: 10,
|
|
16
|
+
default_sort: "label",
|
|
17
|
+
columns: [
|
|
18
|
+
{
|
|
19
|
+
field: "label",
|
|
20
|
+
label: "Label",
|
|
21
|
+
allow_sort: true,
|
|
22
|
+
allow_search: true,
|
|
23
|
+
allow_filter: true
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
field: "latitude",
|
|
27
|
+
label: "Latitude",
|
|
28
|
+
allow_sort: true,
|
|
29
|
+
allow_search: true,
|
|
30
|
+
allow_filter: true
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
field: "longitude",
|
|
34
|
+
label: "Longitude",
|
|
35
|
+
allow_sort: true,
|
|
36
|
+
allow_search: true,
|
|
37
|
+
allow_filter: true
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
field: "location_url",
|
|
41
|
+
label: "Location_url",
|
|
42
|
+
allow_sort: true,
|
|
43
|
+
allow_search: true,
|
|
44
|
+
allow_filter: true,
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
field: "updatedAt",
|
|
48
|
+
label: "Updated",
|
|
49
|
+
allow_sort: true,
|
|
50
|
+
allow_filter: true,
|
|
51
|
+
allow_search: false
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
detail: {
|
|
56
|
+
title: {
|
|
57
|
+
format: "${ label }"
|
|
58
|
+
},
|
|
59
|
+
blocks: [
|
|
60
|
+
{
|
|
61
|
+
key: (0, uuid_1.v4)(),
|
|
62
|
+
type: "column",
|
|
63
|
+
layout: {
|
|
64
|
+
num_of_col: 2,
|
|
65
|
+
fields: [
|
|
66
|
+
[
|
|
67
|
+
{
|
|
68
|
+
field: "label",
|
|
69
|
+
label: "Label",
|
|
70
|
+
read_only: false,
|
|
71
|
+
required: false
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
field: "latitude",
|
|
75
|
+
label: "Latitude",
|
|
76
|
+
read_only: false,
|
|
77
|
+
required: false
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
[
|
|
81
|
+
{
|
|
82
|
+
field: "location_url",
|
|
83
|
+
label: "Location Url",
|
|
84
|
+
read_only: false,
|
|
85
|
+
required: false
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
field: "longitude",
|
|
89
|
+
label: "Longitude",
|
|
90
|
+
read_only: false,
|
|
91
|
+
required: false
|
|
92
|
+
}
|
|
93
|
+
]
|
|
94
|
+
]
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
redirect_mode: "redirect"
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
];
|
|
102
|
+
//# sourceMappingURL=map_location.layout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"map_location.layout.js","sourceRoot":"","sources":["../../../../src/core/map_location/map_location.layout.ts"],"names":[],"mappings":";;;AACA,+BAAkC;AAErB,QAAA,iBAAiB,GAAmB;IAC/C;QACE,IAAI,EAAE,aAAa;QACnB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,CAAC,UAAU,CAAC;QAClB,IAAI,EAAE;YACJ,YAAY,EAAE,IAAI;YAClB,UAAU,EAAE,IAAI;YAChB,YAAY,EAAE,KAAK;YACnB,UAAU,EAAE,IAAI;YAChB,gBAAgB,EAAE,EAAE;YACpB,YAAY,EAAE,OAAO;YACrB,OAAO,EAAE;gBACP;oBACE,KAAK,EAAE,OAAO;oBACd,KAAK,EAAE,OAAO;oBACd,UAAU,EAAE,IAAI;oBAChB,YAAY,EAAE,IAAI;oBAClB,YAAY,EAAE,IAAI;iBACnB;gBACD;oBACE,KAAK,EAAE,UAAU;oBACjB,KAAK,EAAE,UAAU;oBACjB,UAAU,EAAE,IAAI;oBAChB,YAAY,EAAE,IAAI;oBAClB,YAAY,EAAE,IAAI;iBACnB;gBACD;oBACE,KAAK,EAAE,WAAW;oBAClB,KAAK,EAAE,WAAW;oBAClB,UAAU,EAAE,IAAI;oBAChB,YAAY,EAAE,IAAI;oBAClB,YAAY,EAAE,IAAI;iBACnB;gBACD;oBACE,KAAK,EAAE,cAAc;oBACrB,KAAK,EAAE,cAAc;oBACrB,UAAU,EAAE,IAAI;oBAChB,YAAY,EAAE,IAAI;oBAClB,YAAY,EAAE,IAAI;iBACnB;gBACD;oBACE,KAAK,EAAE,WAAW;oBAClB,KAAK,EAAE,SAAS;oBAChB,UAAU,EAAE,IAAI;oBAChB,YAAY,EAAE,IAAI;oBAClB,YAAY,EAAE,KAAK;iBACpB;aACF;SACF;QACD,MAAM,EAAE;YACN,KAAK,EAAE;gBACL,MAAM,EAAE,YAAY;aACrB;YACD,MAAM,EAAE;gBACN;oBACE,GAAG,EAAE,IAAA,SAAI,GAAE;oBACX,IAAI,EAAE,QAAQ;oBACd,MAAM,EAAE;wBACN,UAAU,EAAE,CAAC;wBACb,MAAM,EAAE;4BACN;gCACE;oCACE,KAAK,EAAE,OAAO;oCACd,KAAK,EAAE,OAAO;oCACd,SAAS,EAAE,KAAK;oCAChB,QAAQ,EAAE,KAAK;iCAChB;gCACD;oCACE,KAAK,EAAE,UAAU;oCACjB,KAAK,EAAE,UAAU;oCACjB,SAAS,EAAE,KAAK;oCAChB,QAAQ,EAAE,KAAK;iCAChB;6BACF;4BACD;gCACE;oCACE,KAAK,EAAE,cAAc;oCACrB,KAAK,EAAE,cAAc;oCACrB,SAAS,EAAE,KAAK;oCAChB,QAAQ,EAAE,KAAK;iCAChB;gCACD;oCACE,KAAK,EAAE,WAAW;oCAClB,KAAK,EAAE,WAAW;oCAClB,SAAS,EAAE,KAAK;oCAChB,QAAQ,EAAE,KAAK;iCAChB;6BACF;yBACF;qBACF;iBACF;aACF;YACD,aAAa,EAAE,UAAU;SAC1B;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BaseSchema } from "src/core/common/base/base.schema";
|
|
2
|
+
export declare class MapLocation extends BaseSchema {
|
|
3
|
+
latitude: String;
|
|
4
|
+
longitude: String;
|
|
5
|
+
label: String;
|
|
6
|
+
location_url?: String;
|
|
7
|
+
}
|
|
8
|
+
export declare const MapLocationSchema: import("mongoose").Schema<any, import("mongoose").Model<any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
|
|
9
|
+
[x: string]: any;
|
|
10
|
+
}>;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.MapLocationSchema = exports.MapLocation = void 0;
|
|
13
|
+
const mongoose_1 = require("@nestjs/mongoose");
|
|
14
|
+
const base_schema_1 = require("../common/base/base.schema");
|
|
15
|
+
const _ = require("lodash");
|
|
16
|
+
let MapLocation = class MapLocation extends base_schema_1.BaseSchema {
|
|
17
|
+
};
|
|
18
|
+
exports.MapLocation = MapLocation;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, mongoose_1.Prop)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], MapLocation.prototype, "latitude", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, mongoose_1.Prop)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], MapLocation.prototype, "longitude", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, mongoose_1.Prop)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], MapLocation.prototype, "label", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, mongoose_1.Prop)(),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], MapLocation.prototype, "location_url", void 0);
|
|
35
|
+
exports.MapLocation = MapLocation = __decorate([
|
|
36
|
+
(0, mongoose_1.Schema)({ strict: false, timestamps: true })
|
|
37
|
+
], MapLocation);
|
|
38
|
+
exports.MapLocationSchema = base_schema_1.BaseSchemaFactory.createForClass(MapLocation);
|
|
39
|
+
exports.MapLocationSchema.set("toJSON", {
|
|
40
|
+
transform: (doc, ret) => {
|
|
41
|
+
if (_.get(doc, "latitude") && _.get(doc, "longitude")) {
|
|
42
|
+
ret["location_url"] = `https://www.google.com/maps/search/?api=1&query=${doc.latitude},${doc.longitude}`;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
//# sourceMappingURL=map_location.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"map_location.schema.js","sourceRoot":"","sources":["../../../../src/core/map_location/map_location.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAgD;AAChD,4DAAiF;AACjF,4BAA4B;AAGrB,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,wBAAU;CAY1C,CAAA;AAZY,kCAAW;AAEtB;IADC,IAAA,eAAI,GAAE;8BACG,MAAM;6CAAC;AAGjB;IADC,IAAA,eAAI,GAAE;8BACI,MAAM;8CAAC;AAGlB;IADC,IAAA,eAAI,GAAE;8BACA,MAAM;0CAAC;AAGd;IADC,IAAA,eAAI,GAAE;8BACQ,MAAM;iDAAC;sBAXX,WAAW;IADvB,IAAA,iBAAM,EAAC,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;GAC/B,WAAW,CAYvB;AAEY,QAAA,iBAAiB,GAAG,+BAAiB,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;AAE/E,yBAAiB,CAAC,GAAG,CAAC,QAAQ,EAAE;IAC9B,SAAS,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE;QACtB,IAAI,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,WAAW,CAAC,EAAE,CAAC;YACtD,GAAG,CAAC,cAAc,CAAC,GAAG,mDAAmD,GAAG,CAAC,QAAQ,IAAI,GAAG,CAAC,SAAS,EAAE,CAAC;QAC3G,CAAC;IACH,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as mongoose from "mongoose";
|
|
2
|
+
import { EntitiesService } from "src/core/entities/entities.service";
|
|
3
|
+
import { MapLocation } from "./map_location.schema";
|
|
4
|
+
import { BaseService } from "src/core/common/base/base.service";
|
|
5
|
+
import { ClsService } from "nestjs-cls";
|
|
6
|
+
export declare class MapLocationService extends BaseService<MapLocation> {
|
|
7
|
+
readonly cls: ClsService;
|
|
8
|
+
private entitiesServcie;
|
|
9
|
+
protected model: mongoose.Model<MapLocation>;
|
|
10
|
+
constructor(cls: ClsService, entitiesServcie: EntitiesService, model: mongoose.Model<MapLocation>);
|
|
11
|
+
init(): Promise<string>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
+
};
|
|
14
|
+
var MapLocationService_1;
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.MapLocationService = void 0;
|
|
17
|
+
const common_1 = require("@nestjs/common");
|
|
18
|
+
const mongoose_1 = require("@nestjs/mongoose");
|
|
19
|
+
const mongoose = require("mongoose");
|
|
20
|
+
const entities_service_1 = require("../entities/entities.service");
|
|
21
|
+
const map_location_schema_1 = require("./map_location.schema");
|
|
22
|
+
const map_location_layout_1 = require("./map_location.layout");
|
|
23
|
+
const base_service_1 = require("../common/base/base.service");
|
|
24
|
+
const nestjs_cls_1 = require("nestjs-cls");
|
|
25
|
+
let MapLocationService = MapLocationService_1 = class MapLocationService extends base_service_1.BaseService {
|
|
26
|
+
constructor(cls, entitiesServcie, model) {
|
|
27
|
+
super(cls, model);
|
|
28
|
+
this.cls = cls;
|
|
29
|
+
this.entitiesServcie = entitiesServcie;
|
|
30
|
+
this.model = model;
|
|
31
|
+
}
|
|
32
|
+
async init() {
|
|
33
|
+
await this.entitiesServcie.refreshSystemSchema(MapLocationService_1, this.model, map_location_schema_1.MapLocation, map_location_schema_1.MapLocationSchema, { layouts: map_location_layout_1.MapLocationLayout });
|
|
34
|
+
return map_location_schema_1.MapLocation.name;
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
exports.MapLocationService = MapLocationService;
|
|
38
|
+
exports.MapLocationService = MapLocationService = MapLocationService_1 = __decorate([
|
|
39
|
+
(0, common_1.Injectable)(),
|
|
40
|
+
__param(2, (0, mongoose_1.InjectModel)("map_location")),
|
|
41
|
+
__metadata("design:paramtypes", [nestjs_cls_1.ClsService,
|
|
42
|
+
entities_service_1.EntitiesService, mongoose.Model])
|
|
43
|
+
], MapLocationService);
|
|
44
|
+
//# sourceMappingURL=map_location.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"map_location.service.js","sourceRoot":"","sources":["../../../../src/core/map_location/map_location.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAA2D;AAE3D,+CAA+C;AAC/C,qCAAqC;AACrC,mEAAqE;AACrE,+DAAuE;AACvE,+DAA0D;AAC1D,8DAAgE;AAChE,2CAAwC;AAGjC,IAAM,kBAAkB,0BAAxB,MAAM,kBAAmB,SAAQ,0BAAwB;IAC9D,YACW,GAAe,EAChB,eAAgC,EAE9B,KAAkC;QAE5C,KAAK,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;QALT,QAAG,GAAH,GAAG,CAAY;QAChB,oBAAe,GAAf,eAAe,CAAiB;QAE9B,UAAK,GAAL,KAAK,CAA6B;IAG9C,CAAC;IAEM,KAAK,CAAC,IAAI;QACf,MAAM,IAAI,CAAC,eAAe,CAAC,mBAAmB,CAC5C,oBAAkB,EAClB,IAAI,CAAC,KAAK,EACV,iCAAW,EACX,uCAAiB,EACjB,EAAE,OAAO,EAAE,uCAAiB,EAAE,CAC/B,CAAC;QACF,OAAO,iCAAW,CAAC,IAAI,CAAC;IAC1B,CAAC;CACF,CAAA;AApBY,gDAAkB;6BAAlB,kBAAkB;IAD9B,IAAA,mBAAU,GAAE;IAKR,WAAA,IAAA,sBAAW,EAAC,cAAc,CAAC,CAAA;qCAFd,uBAAU;QACC,kCAAe,EAEvB,QAAQ,CAAC,KAAK;GALtB,kBAAkB,CAoB9B"}
|