@servicelabsco/nestjs-utility-services 1.2.1 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app.controller.d.ts +18 -0
- package/dist/app.controller.js +97 -0
- package/dist/app.controller.js.map +1 -0
- package/dist/app.module.d.ts +4 -0
- package/dist/app.module.js +66 -0
- package/dist/app.module.js.map +1 -0
- package/dist/app.service.d.ts +13 -0
- package/dist/app.service.js +50 -0
- package/dist/app.service.js.map +1 -0
- package/dist/auth/auth.module.d.ts +2 -0
- package/dist/auth/auth.module.js +26 -0
- package/dist/auth/auth.module.js.map +1 -0
- package/dist/auth/controllers/admin.auth.controller.d.ts +19 -0
- package/dist/auth/controllers/admin.auth.controller.js +150 -0
- package/dist/auth/controllers/admin.auth.controller.js.map +1 -0
- package/dist/auth/controllers/index.d.ts +3 -0
- package/dist/auth/controllers/index.js +20 -0
- package/dist/auth/controllers/index.js.map +1 -0
- package/dist/auth/controllers/social.controller.d.ts +10 -0
- package/dist/auth/controllers/social.controller.js +55 -0
- package/dist/auth/controllers/social.controller.js.map +1 -0
- package/dist/auth/controllers/user.controller.d.ts +11 -0
- package/dist/auth/controllers/user.controller.js +46 -0
- package/dist/auth/controllers/user.controller.js.map +1 -0
- package/dist/auth/dtos/create.user.dto.d.ts +5 -0
- package/dist/auth/dtos/create.user.dto.js +29 -0
- package/dist/auth/dtos/create.user.dto.js.map +1 -0
- package/dist/auth/dtos/index.d.ts +8 -0
- package/dist/auth/dtos/index.js +25 -0
- package/dist/auth/dtos/index.js.map +1 -0
- package/dist/auth/dtos/offline.user.dto.d.ts +5 -0
- package/dist/auth/dtos/offline.user.dto.js +29 -0
- package/dist/auth/dtos/offline.user.dto.js.map +1 -0
- package/dist/auth/dtos/permission.assignment.dto.d.ts +3 -0
- package/dist/auth/dtos/permission.assignment.dto.js +21 -0
- package/dist/auth/dtos/permission.assignment.dto.js.map +1 -0
- package/dist/auth/dtos/role.assignment.dto.d.ts +3 -0
- package/dist/auth/dtos/role.assignment.dto.js +21 -0
- package/dist/auth/dtos/role.assignment.dto.js.map +1 -0
- package/dist/auth/dtos/update.user.dto.d.ts +4 -0
- package/dist/auth/dtos/update.user.dto.js +26 -0
- package/dist/auth/dtos/update.user.dto.js.map +1 -0
- package/dist/auth/dtos/user.access.dto.d.ts +13 -0
- package/dist/auth/dtos/user.access.dto.js +8 -0
- package/dist/auth/dtos/user.access.dto.js.map +1 -0
- package/dist/auth/dtos/user.login.dto.d.ts +4 -0
- package/dist/auth/dtos/user.login.dto.js +25 -0
- package/dist/auth/dtos/user.login.dto.js.map +1 -0
- package/dist/auth/dtos/user.roles.access.object.dto.d.ts +6 -0
- package/dist/auth/dtos/user.roles.access.object.dto.js +7 -0
- package/dist/auth/dtos/user.roles.access.object.dto.js.map +1 -0
- package/dist/auth/entities/country.entity.d.ts +10 -0
- package/dist/auth/entities/country.entity.js +56 -0
- package/dist/auth/entities/country.entity.js.map +1 -0
- package/dist/auth/entities/creator.entity.d.ts +9 -0
- package/dist/auth/entities/creator.entity.js +44 -0
- package/dist/auth/entities/creator.entity.js.map +1 -0
- package/dist/auth/entities/device.token.entity.d.ts +17 -0
- package/dist/auth/entities/device.token.entity.js +79 -0
- package/dist/auth/entities/device.token.entity.js.map +1 -0
- package/dist/auth/entities/index.d.ts +6 -0
- package/dist/auth/entities/index.js +23 -0
- package/dist/auth/entities/index.js.map +1 -0
- package/dist/auth/entities/refresh.token.entity.d.ts +14 -0
- package/dist/auth/entities/refresh.token.entity.js +62 -0
- package/dist/auth/entities/refresh.token.entity.js.map +1 -0
- package/dist/auth/entities/user.entity.d.ts +27 -0
- package/dist/auth/entities/user.entity.js +116 -0
- package/dist/auth/entities/user.entity.js.map +1 -0
- package/dist/auth/entities/user.referral.entity.d.ts +11 -0
- package/dist/auth/entities/user.referral.entity.js +52 -0
- package/dist/auth/entities/user.referral.entity.js.map +1 -0
- package/dist/auth/es6.classes.d.ts +34 -0
- package/dist/auth/es6.classes.js +48 -0
- package/dist/auth/es6.classes.js.map +1 -0
- package/dist/auth/index.d.ts +6 -0
- package/dist/auth/index.js +23 -0
- package/dist/auth/index.js.map +1 -0
- package/dist/auth/middlewares/basic.auth.middleware.d.ts +10 -0
- package/dist/auth/middlewares/basic.auth.middleware.js +43 -0
- package/dist/auth/middlewares/basic.auth.middleware.js.map +1 -0
- package/dist/auth/middlewares/index.d.ts +4 -0
- package/dist/auth/middlewares/index.js +21 -0
- package/dist/auth/middlewares/index.js.map +1 -0
- package/dist/auth/middlewares/internal.middleware.d.ts +10 -0
- package/dist/auth/middlewares/internal.middleware.js +44 -0
- package/dist/auth/middlewares/internal.middleware.js.map +1 -0
- package/dist/auth/middlewares/jwt.middleware.d.ts +9 -0
- package/dist/auth/middlewares/jwt.middleware.js +54 -0
- package/dist/auth/middlewares/jwt.middleware.js.map +1 -0
- package/dist/auth/middlewares/restricted.middleware.d.ts +4 -0
- package/dist/auth/middlewares/restricted.middleware.js +25 -0
- package/dist/auth/middlewares/restricted.middleware.js.map +1 -0
- package/dist/auth/services/access.manager.d.ts +15 -0
- package/dist/auth/services/access.manager.js +127 -0
- package/dist/auth/services/access.manager.js.map +1 -0
- package/dist/auth/services/auth.service.d.ts +18 -0
- package/dist/auth/services/auth.service.js +78 -0
- package/dist/auth/services/auth.service.js.map +1 -0
- package/dist/auth/services/device.token.service.d.ts +6 -0
- package/dist/auth/services/device.token.service.js +62 -0
- package/dist/auth/services/device.token.service.js.map +1 -0
- package/dist/auth/services/es6.service.d.ts +20 -0
- package/dist/auth/services/es6.service.js +63 -0
- package/dist/auth/services/es6.service.js.map +1 -0
- package/dist/auth/services/index.d.ts +6 -0
- package/dist/auth/services/index.js +23 -0
- package/dist/auth/services/index.js.map +1 -0
- package/dist/auth/services/refresh.token.service.d.ts +9 -0
- package/dist/auth/services/refresh.token.service.js +47 -0
- package/dist/auth/services/refresh.token.service.js.map +1 -0
- package/dist/auth/services/social.service.d.ts +7 -0
- package/dist/auth/services/social.service.js +48 -0
- package/dist/auth/services/social.service.js.map +1 -0
- package/dist/auth/services/user.service.d.ts +15 -0
- package/dist/auth/services/user.service.js +84 -0
- package/dist/auth/services/user.service.js.map +1 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +21 -0
- package/dist/cli.js.map +1 -0
- package/dist/common/adapters/index.d.ts +1 -0
- package/dist/common/adapters/index.js +18 -0
- package/dist/common/adapters/index.js.map +1 -0
- package/dist/common/adapters/redis.io.adapter.d.ts +8 -0
- package/dist/common/adapters/redis.io.adapter.js +24 -0
- package/dist/common/adapters/redis.io.adapter.js.map +1 -0
- package/dist/common/common.module.d.ts +2 -0
- package/dist/common/common.module.js +17 -0
- package/dist/common/common.module.js.map +1 -0
- package/dist/common/dtos/aggregation.param.dto.d.ts +5 -0
- package/dist/common/dtos/aggregation.param.dto.js +29 -0
- package/dist/common/dtos/aggregation.param.dto.js.map +1 -0
- package/dist/common/dtos/capture.record.index.dto.d.ts +16 -0
- package/dist/common/dtos/capture.record.index.dto.js +55 -0
- package/dist/common/dtos/capture.record.index.dto.js.map +1 -0
- package/dist/common/dtos/capture.record.show.dto.d.ts +10 -0
- package/dist/common/dtos/capture.record.show.dto.js +41 -0
- package/dist/common/dtos/capture.record.show.dto.js.map +1 -0
- package/dist/common/dtos/database.event.dto.d.ts +9 -0
- package/dist/common/dtos/database.event.dto.js +7 -0
- package/dist/common/dtos/database.event.dto.js.map +1 -0
- package/dist/common/dtos/foreign.migration.dto.d.ts +6 -0
- package/dist/common/dtos/foreign.migration.dto.js +7 -0
- package/dist/common/dtos/foreign.migration.dto.js.map +1 -0
- package/dist/common/dtos/generic.index.param.dto.d.ts +22 -0
- package/dist/common/dtos/generic.index.param.dto.js +58 -0
- package/dist/common/dtos/generic.index.param.dto.js.map +1 -0
- package/dist/common/dtos/generic.show.param.dto.d.ts +7 -0
- package/dist/common/dtos/generic.show.param.dto.js +7 -0
- package/dist/common/dtos/generic.show.param.dto.js.map +1 -0
- package/dist/common/dtos/group.param.dto.d.ts +5 -0
- package/dist/common/dtos/group.param.dto.js +25 -0
- package/dist/common/dtos/group.param.dto.js.map +1 -0
- package/dist/common/dtos/index.column.dto.d.ts +4 -0
- package/dist/common/dtos/index.column.dto.js +7 -0
- package/dist/common/dtos/index.column.dto.js.map +1 -0
- package/dist/common/dtos/index.d.ts +18 -0
- package/dist/common/dtos/index.js +35 -0
- package/dist/common/dtos/index.js.map +1 -0
- package/dist/common/dtos/index.params.dto.d.ts +18 -0
- package/dist/common/dtos/index.params.dto.js +83 -0
- package/dist/common/dtos/index.params.dto.js.map +1 -0
- package/dist/common/dtos/key.value.param.dto.d.ts +4 -0
- package/dist/common/dtos/key.value.param.dto.js +25 -0
- package/dist/common/dtos/key.value.param.dto.js.map +1 -0
- package/dist/common/dtos/layout.column.db.dto.d.ts +4 -0
- package/dist/common/dtos/layout.column.db.dto.js +7 -0
- package/dist/common/dtos/layout.column.db.dto.js.map +1 -0
- package/dist/common/dtos/meta.data.dto.d.ts +4 -0
- package/dist/common/dtos/meta.data.dto.js +7 -0
- package/dist/common/dtos/meta.data.dto.js.map +1 -0
- package/dist/common/dtos/record.data.manager.dto.d.ts +33 -0
- package/dist/common/dtos/record.data.manager.dto.js +7 -0
- package/dist/common/dtos/record.data.manager.dto.js.map +1 -0
- package/dist/common/dtos/record.tab.dto.d.ts +19 -0
- package/dist/common/dtos/record.tab.dto.js +7 -0
- package/dist/common/dtos/record.tab.dto.js.map +1 -0
- package/dist/common/dtos/rename.column.dto.d.ts +4 -0
- package/dist/common/dtos/rename.column.dto.js +7 -0
- package/dist/common/dtos/rename.column.dto.js.map +1 -0
- package/dist/common/dtos/report.body.dto.d.ts +20 -0
- package/dist/common/dtos/report.body.dto.js +57 -0
- package/dist/common/dtos/report.body.dto.js.map +1 -0
- package/dist/common/dtos/report.data.manager.dto.d.ts +34 -0
- package/dist/common/dtos/report.data.manager.dto.js +7 -0
- package/dist/common/dtos/report.data.manager.dto.js.map +1 -0
- package/dist/common/es6.classes.d.ts +38 -0
- package/dist/common/es6.classes.js +107 -0
- package/dist/common/es6.classes.js.map +1 -0
- package/dist/common/exceptions/access.exception.d.ts +4 -0
- package/dist/common/exceptions/access.exception.js +11 -0
- package/dist/common/exceptions/access.exception.js.map +1 -0
- package/dist/common/exceptions/form.exception.d.ts +7 -0
- package/dist/common/exceptions/form.exception.js +13 -0
- package/dist/common/exceptions/form.exception.js.map +1 -0
- package/dist/common/exceptions/index.d.ts +6 -0
- package/dist/common/exceptions/index.js +23 -0
- package/dist/common/exceptions/index.js.map +1 -0
- package/dist/common/exceptions/maintenance.exception.d.ts +4 -0
- package/dist/common/exceptions/maintenance.exception.js +11 -0
- package/dist/common/exceptions/maintenance.exception.js.map +1 -0
- package/dist/common/exceptions/no.logged.user.exception.d.ts +4 -0
- package/dist/common/exceptions/no.logged.user.exception.js +11 -0
- package/dist/common/exceptions/no.logged.user.exception.js.map +1 -0
- package/dist/common/exceptions/operation.exception.d.ts +4 -0
- package/dist/common/exceptions/operation.exception.js +13 -0
- package/dist/common/exceptions/operation.exception.js.map +1 -0
- package/dist/common/exceptions/subscription.exception.d.ts +4 -0
- package/dist/common/exceptions/subscription.exception.js +11 -0
- package/dist/common/exceptions/subscription.exception.js.map +1 -0
- package/dist/common/index.d.ts +5 -0
- package/dist/common/index.js +22 -0
- package/dist/common/index.js.map +1 -0
- package/dist/common/libraries/auth.d.ts +7 -0
- package/dist/common/libraries/auth.js +22 -0
- package/dist/common/libraries/auth.js.map +1 -0
- package/dist/common/libraries/base.job.interface.d.ts +4 -0
- package/dist/common/libraries/base.job.interface.js +3 -0
- package/dist/common/libraries/base.job.interface.js.map +1 -0
- package/dist/common/libraries/base.migration.utility.d.ts +58 -0
- package/dist/common/libraries/base.migration.utility.js +333 -0
- package/dist/common/libraries/base.migration.utility.js.map +1 -0
- package/dist/common/libraries/class.mapper.d.ts +8 -0
- package/dist/common/libraries/class.mapper.js +65 -0
- package/dist/common/libraries/class.mapper.js.map +1 -0
- package/dist/common/libraries/common.consumer.d.ts +2 -0
- package/dist/common/libraries/common.consumer.js +7 -0
- package/dist/common/libraries/common.consumer.js.map +1 -0
- package/dist/common/libraries/common.entity.d.ts +22 -0
- package/dist/common/libraries/common.entity.js +120 -0
- package/dist/common/libraries/common.entity.js.map +1 -0
- package/dist/common/libraries/common.job.d.ts +22 -0
- package/dist/common/libraries/common.job.js +66 -0
- package/dist/common/libraries/common.job.js.map +1 -0
- package/dist/common/libraries/common.mapper.job.d.ts +8 -0
- package/dist/common/libraries/common.mapper.job.js +36 -0
- package/dist/common/libraries/common.mapper.job.js.map +1 -0
- package/dist/common/libraries/common.mongo.entity.d.ts +20 -0
- package/dist/common/libraries/common.mongo.entity.js +120 -0
- package/dist/common/libraries/common.mongo.entity.js.map +1 -0
- package/dist/common/libraries/common.subscriber.d.ts +13 -0
- package/dist/common/libraries/common.subscriber.js +60 -0
- package/dist/common/libraries/common.subscriber.js.map +1 -0
- package/dist/common/libraries/custom.crypt.d.ts +6 -0
- package/dist/common/libraries/custom.crypt.js +30 -0
- package/dist/common/libraries/custom.crypt.js.map +1 -0
- package/dist/common/libraries/data.manager.d.ts +33 -0
- package/dist/common/libraries/data.manager.js +211 -0
- package/dist/common/libraries/data.manager.js.map +1 -0
- package/dist/common/libraries/database.event.evaluator.d.ts +11 -0
- package/dist/common/libraries/database.event.evaluator.js +40 -0
- package/dist/common/libraries/database.event.evaluator.js.map +1 -0
- package/dist/common/libraries/date.util.d.ts +15 -0
- package/dist/common/libraries/date.util.js +51 -0
- package/dist/common/libraries/date.util.js.map +1 -0
- package/dist/common/libraries/entity.evaluator.d.ts +28 -0
- package/dist/common/libraries/entity.evaluator.js +127 -0
- package/dist/common/libraries/entity.evaluator.js.map +1 -0
- package/dist/common/libraries/generic.index.parser.d.ts +18 -0
- package/dist/common/libraries/generic.index.parser.js +82 -0
- package/dist/common/libraries/generic.index.parser.js.map +1 -0
- package/dist/common/libraries/generic.show.parser.d.ts +12 -0
- package/dist/common/libraries/generic.show.parser.js +41 -0
- package/dist/common/libraries/generic.show.parser.js.map +1 -0
- package/dist/common/libraries/hash.d.ts +7 -0
- package/dist/common/libraries/hash.js +25 -0
- package/dist/common/libraries/hash.js.map +1 -0
- package/dist/common/libraries/index.d.ts +27 -0
- package/dist/common/libraries/index.js +44 -0
- package/dist/common/libraries/index.js.map +1 -0
- package/dist/common/libraries/list.manager.d.ts +23 -0
- package/dist/common/libraries/list.manager.js +101 -0
- package/dist/common/libraries/list.manager.js.map +1 -0
- package/dist/common/libraries/migration.utility.d.ts +7 -0
- package/dist/common/libraries/migration.utility.js +23 -0
- package/dist/common/libraries/migration.utility.js.map +1 -0
- package/dist/common/libraries/platform.utility.d.ts +33 -0
- package/dist/common/libraries/platform.utility.js +126 -0
- package/dist/common/libraries/platform.utility.js.map +1 -0
- package/dist/common/libraries/record.manager.d.ts +41 -0
- package/dist/common/libraries/record.manager.js +146 -0
- package/dist/common/libraries/record.manager.js.map +1 -0
- package/dist/common/libraries/report.body.parser.d.ts +6 -0
- package/dist/common/libraries/report.body.parser.js +21 -0
- package/dist/common/libraries/report.body.parser.js.map +1 -0
- package/dist/common/libraries/report.data.manager.d.ts +35 -0
- package/dist/common/libraries/report.data.manager.js +212 -0
- package/dist/common/libraries/report.data.manager.js.map +1 -0
- package/dist/common/libraries/report.list.manager.d.ts +22 -0
- package/dist/common/libraries/report.list.manager.js +109 -0
- package/dist/common/libraries/report.list.manager.js.map +1 -0
- package/dist/common/libraries/reverse.migration.utility.d.ts +7 -0
- package/dist/common/libraries/reverse.migration.utility.js +17 -0
- package/dist/common/libraries/reverse.migration.utility.js.map +1 -0
- package/dist/common/libraries/seeder.utility.d.ts +20 -0
- package/dist/common/libraries/seeder.utility.js +99 -0
- package/dist/common/libraries/seeder.utility.js.map +1 -0
- package/dist/config/cache.config.d.ts +10 -0
- package/dist/config/cache.config.js +13 -0
- package/dist/config/cache.config.js.map +1 -0
- package/dist/config/cors.config.d.ts +7 -0
- package/dist/config/cors.config.js +9 -0
- package/dist/config/cors.config.js.map +1 -0
- package/dist/config/entity.constants.d.ts +141 -0
- package/dist/config/entity.constants.js +143 -0
- package/dist/config/entity.constants.js.map +1 -0
- package/dist/config/jwt.config.d.ts +4 -0
- package/dist/config/jwt.config.js +12 -0
- package/dist/config/jwt.config.js.map +1 -0
- package/dist/config/mongo.config.d.ts +4 -0
- package/dist/config/mongo.config.js +24 -0
- package/dist/config/mongo.config.js.map +1 -0
- package/dist/config/orm.config.d.ts +3 -0
- package/dist/config/orm.config.js +28 -0
- package/dist/config/orm.config.js.map +1 -0
- package/dist/config/platform.constants.d.ts +10 -0
- package/dist/config/platform.constants.js +14 -0
- package/dist/config/platform.constants.js.map +1 -0
- package/dist/config/queue.config.d.ts +4 -0
- package/dist/config/queue.config.js +18 -0
- package/dist/config/queue.config.js.map +1 -0
- package/dist/config/rate.limiter.config.d.ts +6 -0
- package/dist/config/rate.limiter.config.js +8 -0
- package/dist/config/rate.limiter.config.js.map +1 -0
- package/dist/config/read.typeorm.config.d.ts +4 -0
- package/dist/config/read.typeorm.config.js +25 -0
- package/dist/config/read.typeorm.config.js.map +1 -0
- package/dist/config/role.mapping.d.ts +6 -0
- package/dist/config/role.mapping.js +8 -0
- package/dist/config/role.mapping.js.map +1 -0
- package/dist/config/source.hash.d.ts +14 -0
- package/dist/config/source.hash.js +16 -0
- package/dist/config/source.hash.js.map +1 -0
- package/dist/config/typeorm.config.d.ts +3 -0
- package/dist/config/typeorm.config.js +33 -0
- package/dist/config/typeorm.config.js.map +1 -0
- package/dist/console.d.ts +1 -0
- package/dist/console.js +19 -0
- package/dist/console.js.map +1 -0
- package/dist/health.check.controller.d.ts +9 -0
- package/dist/health.check.controller.js +45 -0
- package/dist/health.check.controller.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +23 -0
- package/dist/index.js.map +1 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.js +35 -0
- package/dist/main.js.map +1 -0
- package/dist/migrations/1580011348975-SysUsersTable.ts.d.ts +5 -0
- package/dist/migrations/1580011348975-SysUsersTable.ts.js +28 -0
- package/dist/migrations/1580011348975-SysUsersTable.ts.js.map +1 -0
- package/dist/migrations/1580012157523-SysRolesTable.ts.d.ts +5 -0
- package/dist/migrations/1580012157523-SysRolesTable.ts.js +21 -0
- package/dist/migrations/1580012157523-SysRolesTable.ts.js.map +1 -0
- package/dist/migrations/1580012268960-SysPermissionsTable.ts.d.ts +5 -0
- package/dist/migrations/1580012268960-SysPermissionsTable.ts.js +20 -0
- package/dist/migrations/1580012268960-SysPermissionsTable.ts.js.map +1 -0
- package/dist/migrations/1580012428385-SysPropertiesTable.ts.d.ts +5 -0
- package/dist/migrations/1580012428385-SysPropertiesTable.ts.js +21 -0
- package/dist/migrations/1580012428385-SysPropertiesTable.ts.js.map +1 -0
- package/dist/migrations/1580012617487-SysOpenPropertiesTable.ts.d.ts +5 -0
- package/dist/migrations/1580012617487-SysOpenPropertiesTable.ts.js +20 -0
- package/dist/migrations/1580012617487-SysOpenPropertiesTable.ts.js.map +1 -0
- package/dist/migrations/1580012802170-SysLookupTypesTable.ts.d.ts +5 -0
- package/dist/migrations/1580012802170-SysLookupTypesTable.ts.js +19 -0
- package/dist/migrations/1580012802170-SysLookupTypesTable.ts.js.map +1 -0
- package/dist/migrations/1580012876576-SysLookupValuesTable.ts.d.ts +5 -0
- package/dist/migrations/1580012876576-SysLookupValuesTable.ts.js +24 -0
- package/dist/migrations/1580012876576-SysLookupValuesTable.ts.js.map +1 -0
- package/dist/migrations/1580013243446-SysSystemScriptsTable.ts.d.ts +5 -0
- package/dist/migrations/1580013243446-SysSystemScriptsTable.ts.js +21 -0
- package/dist/migrations/1580013243446-SysSystemScriptsTable.ts.js.map +1 -0
- package/dist/migrations/1580013426935-SysUserGroupsTable.ts.d.ts +5 -0
- package/dist/migrations/1580013426935-SysUserGroupsTable.ts.js +20 -0
- package/dist/migrations/1580013426935-SysUserGroupsTable.ts.js.map +1 -0
- package/dist/migrations/1580013438750-SysUserGroupMembersTable.ts.d.ts +5 -0
- package/dist/migrations/1580013438750-SysUserGroupMembersTable.ts.js +22 -0
- package/dist/migrations/1580013438750-SysUserGroupMembersTable.ts.js.map +1 -0
- package/dist/migrations/1580013583515-SysColumnDefinitionsTable.ts.d.ts +5 -0
- package/dist/migrations/1580013583515-SysColumnDefinitionsTable.ts.js +20 -0
- package/dist/migrations/1580013583515-SysColumnDefinitionsTable.ts.js.map +1 -0
- package/dist/migrations/1580013737722-SysModelDetailsTable.ts.d.ts +5 -0
- package/dist/migrations/1580013737722-SysModelDetailsTable.ts.js +25 -0
- package/dist/migrations/1580013737722-SysModelDetailsTable.ts.js.map +1 -0
- package/dist/migrations/1580032909794-SysColumnDetailsTable.ts.d.ts +5 -0
- package/dist/migrations/1580032909794-SysColumnDetailsTable.ts.js +34 -0
- package/dist/migrations/1580032909794-SysColumnDetailsTable.ts.js.map +1 -0
- package/dist/migrations/1580033076554-SysModelColumnsTable.ts.d.ts +5 -0
- package/dist/migrations/1580033076554-SysModelColumnsTable.ts.js +19 -0
- package/dist/migrations/1580033076554-SysModelColumnsTable.ts.js.map +1 -0
- package/dist/migrations/1580033241460-SysModelRelationshipsTable.ts.d.ts +5 -0
- package/dist/migrations/1580033241460-SysModelRelationshipsTable.ts.js +39 -0
- package/dist/migrations/1580033241460-SysModelRelationshipsTable.ts.js.map +1 -0
- package/dist/migrations/1580033439057-SysPageDefinitionsTable.ts.d.ts +5 -0
- package/dist/migrations/1580033439057-SysPageDefinitionsTable.ts.js +20 -0
- package/dist/migrations/1580033439057-SysPageDefinitionsTable.ts.js.map +1 -0
- package/dist/migrations/1580033536134-SysModuleDetailsTable.ts.d.ts +5 -0
- package/dist/migrations/1580033536134-SysModuleDetailsTable.ts.js +21 -0
- package/dist/migrations/1580033536134-SysModuleDetailsTable.ts.js.map +1 -0
- package/dist/migrations/1580033654069-SysMenuDetailsTable.ts.d.ts +5 -0
- package/dist/migrations/1580033654069-SysMenuDetailsTable.ts.js +28 -0
- package/dist/migrations/1580033654069-SysMenuDetailsTable.ts.js.map +1 -0
- package/dist/migrations/1580034121887-SysModuleMenusTable.ts.d.ts +5 -0
- package/dist/migrations/1580034121887-SysModuleMenusTable.ts.js +20 -0
- package/dist/migrations/1580034121887-SysModuleMenusTable.ts.js.map +1 -0
- package/dist/migrations/1580034434762-SysParentMenusTable.ts.d.ts +5 -0
- package/dist/migrations/1580034434762-SysParentMenusTable.ts.js +22 -0
- package/dist/migrations/1580034434762-SysParentMenusTable.ts.js.map +1 -0
- package/dist/migrations/1580034626349-SysUserPreferencesTable.ts.d.ts +5 -0
- package/dist/migrations/1580034626349-SysUserPreferencesTable.ts.js +20 -0
- package/dist/migrations/1580034626349-SysUserPreferencesTable.ts.js.map +1 -0
- package/dist/migrations/1580034717318-SysFormDetailsTable.ts.d.ts +5 -0
- package/dist/migrations/1580034717318-SysFormDetailsTable.ts.js +23 -0
- package/dist/migrations/1580034717318-SysFormDetailsTable.ts.js.map +1 -0
- package/dist/migrations/1580034866284-SysFormColumnsTable.ts.d.ts +5 -0
- package/dist/migrations/1580034866284-SysFormColumnsTable.ts.js +19 -0
- package/dist/migrations/1580034866284-SysFormColumnsTable.ts.js.map +1 -0
- package/dist/migrations/1580034927543-SysBusinessRulesTable.ts.d.ts +5 -0
- package/dist/migrations/1580034927543-SysBusinessRulesTable.ts.js +35 -0
- package/dist/migrations/1580034927543-SysBusinessRulesTable.ts.js.map +1 -0
- package/dist/migrations/1580035169090-SysFormPreferencesTable.ts.d.ts +5 -0
- package/dist/migrations/1580035169090-SysFormPreferencesTable.ts.js +20 -0
- package/dist/migrations/1580035169090-SysFormPreferencesTable.ts.js.map +1 -0
- package/dist/migrations/1580035241990-SysListPreferencesTable.ts.d.ts +5 -0
- package/dist/migrations/1580035241990-SysListPreferencesTable.ts.js +22 -0
- package/dist/migrations/1580035241990-SysListPreferencesTable.ts.js.map +1 -0
- package/dist/migrations/1580035351803-SysSecurityRulesTable.ts.d.ts +5 -0
- package/dist/migrations/1580035351803-SysSecurityRulesTable.ts.js +27 -0
- package/dist/migrations/1580035351803-SysSecurityRulesTable.ts.js.map +1 -0
- package/dist/migrations/1580035532119-SysUiActionsTable.ts.d.ts +5 -0
- package/dist/migrations/1580035532119-SysUiActionsTable.ts.js +38 -0
- package/dist/migrations/1580035532119-SysUiActionsTable.ts.js.map +1 -0
- package/dist/migrations/1580035823624-SysDeviceTokensTable.ts.d.ts +5 -0
- package/dist/migrations/1580035823624-SysDeviceTokensTable.ts.js +27 -0
- package/dist/migrations/1580035823624-SysDeviceTokensTable.ts.js.map +1 -0
- package/dist/migrations/1580036042576-SysCountriesTable.ts.d.ts +5 -0
- package/dist/migrations/1580036042576-SysCountriesTable.ts.js +22 -0
- package/dist/migrations/1580036042576-SysCountriesTable.ts.js.map +1 -0
- package/dist/migrations/1580036055684-SysRefreshTokensTable.ts.d.ts +5 -0
- package/dist/migrations/1580036055684-SysRefreshTokensTable.ts.js +22 -0
- package/dist/migrations/1580036055684-SysRefreshTokensTable.ts.js.map +1 -0
- package/dist/migrations/1580036754269-SysUserRolesTable.ts.d.ts +5 -0
- package/dist/migrations/1580036754269-SysUserRolesTable.ts.js +19 -0
- package/dist/migrations/1580036754269-SysUserRolesTable.ts.js.map +1 -0
- package/dist/migrations/1580036787378-SysMenuRolesTable.ts.d.ts +5 -0
- package/dist/migrations/1580036787378-SysMenuRolesTable.ts.js +19 -0
- package/dist/migrations/1580036787378-SysMenuRolesTable.ts.js.map +1 -0
- package/dist/migrations/1580036809003-SysModelRolesTable.ts.d.ts +5 -0
- package/dist/migrations/1580036809003-SysModelRolesTable.ts.js +20 -0
- package/dist/migrations/1580036809003-SysModelRolesTable.ts.js.map +1 -0
- package/dist/migrations/1580037052174-SysUiActionRolesTable.ts.d.ts +5 -0
- package/dist/migrations/1580037052174-SysUiActionRolesTable.ts.js +19 -0
- package/dist/migrations/1580037052174-SysUiActionRolesTable.ts.js.map +1 -0
- package/dist/migrations/1580037081670-SysUserGroupRolesTable.ts.d.ts +5 -0
- package/dist/migrations/1580037081670-SysUserGroupRolesTable.ts.js +22 -0
- package/dist/migrations/1580037081670-SysUserGroupRolesTable.ts.js.map +1 -0
- package/dist/migrations/1580037119302-SysUserPermissionsTable.ts.d.ts +5 -0
- package/dist/migrations/1580037119302-SysUserPermissionsTable.ts.js +22 -0
- package/dist/migrations/1580037119302-SysUserPermissionsTable.ts.js.map +1 -0
- package/dist/migrations/1598275443562-CreateDocumentTable.d.ts +5 -0
- package/dist/migrations/1598275443562-CreateDocumentTable.js +20 -0
- package/dist/migrations/1598275443562-CreateDocumentTable.js.map +1 -0
- package/dist/migrations/1598276044380-CreateCommentTable.d.ts +5 -0
- package/dist/migrations/1598276044380-CreateCommentTable.js +19 -0
- package/dist/migrations/1598276044380-CreateCommentTable.js.map +1 -0
- package/dist/migrations/1599034575440-AddTimezoneOffsetSysCountriesTable.ts.d.ts +5 -0
- package/dist/migrations/1599034575440-AddTimezoneOffsetSysCountriesTable.ts.js +20 -0
- package/dist/migrations/1599034575440-AddTimezoneOffsetSysCountriesTable.ts.js.map +1 -0
- package/dist/migrations/1599567001962-AddUserSequence.d.ts +5 -0
- package/dist/migrations/1599567001962-AddUserSequence.js +12 -0
- package/dist/migrations/1599567001962-AddUserSequence.js.map +1 -0
- package/dist/migrations/1600155092754-CreateEventDetailTable.d.ts +5 -0
- package/dist/migrations/1600155092754-CreateEventDetailTable.js +20 -0
- package/dist/migrations/1600155092754-CreateEventDetailTable.js.map +1 -0
- package/dist/migrations/1600155436756-CreateEventQueueTable.d.ts +5 -0
- package/dist/migrations/1600155436756-CreateEventQueueTable.js +24 -0
- package/dist/migrations/1600155436756-CreateEventQueueTable.js.map +1 -0
- package/dist/migrations/1600155904221-CreateScheduledEventTable.d.ts +5 -0
- package/dist/migrations/1600155904221-CreateScheduledEventTable.js +27 -0
- package/dist/migrations/1600155904221-CreateScheduledEventTable.js.map +1 -0
- package/dist/migrations/1606282995979-ActiveColumnSysDeviceTokensTable.ts.d.ts +5 -0
- package/dist/migrations/1606282995979-ActiveColumnSysDeviceTokensTable.ts.js +15 -0
- package/dist/migrations/1606282995979-ActiveColumnSysDeviceTokensTable.ts.js.map +1 -0
- package/dist/migrations/1607944291609-AddUniqueIndexDeviceToken.d.ts +5 -0
- package/dist/migrations/1607944291609-AddUniqueIndexDeviceToken.js +17 -0
- package/dist/migrations/1607944291609-AddUniqueIndexDeviceToken.js.map +1 -0
- package/dist/migrations/1608920595813-CreateSmsTemplateTable.d.ts +5 -0
- package/dist/migrations/1608920595813-CreateSmsTemplateTable.js +25 -0
- package/dist/migrations/1608920595813-CreateSmsTemplateTable.js.map +1 -0
- package/dist/migrations/1609583413782-SystemGeneratedSysCommentsTable.ts.d.ts +5 -0
- package/dist/migrations/1609583413782-SystemGeneratedSysCommentsTable.ts.js +15 -0
- package/dist/migrations/1609583413782-SystemGeneratedSysCommentsTable.ts.js.map +1 -0
- package/dist/migrations/1610226459497-AddIndexOnTokenSysDeviceTokensTable.ts.d.ts +5 -0
- package/dist/migrations/1610226459497-AddIndexOnTokenSysDeviceTokensTable.ts.js +15 -0
- package/dist/migrations/1610226459497-AddIndexOnTokenSysDeviceTokensTable.ts.js.map +1 -0
- package/dist/migrations/1610518853208-CreateUserReferralTable.d.ts +5 -0
- package/dist/migrations/1610518853208-CreateUserReferralTable.js +22 -0
- package/dist/migrations/1610518853208-CreateUserReferralTable.js.map +1 -0
- package/dist/migrations/1615622117306-DeleteValueColumnSysUserPreferencesTable.ts.d.ts +5 -0
- package/dist/migrations/1615622117306-DeleteValueColumnSysUserPreferencesTable.ts.js +15 -0
- package/dist/migrations/1615622117306-DeleteValueColumnSysUserPreferencesTable.ts.js.map +1 -0
- package/dist/migrations/1615622742904-AddValueJsonColumnSysUserPreferencesTable.ts.d.ts +5 -0
- package/dist/migrations/1615622742904-AddValueJsonColumnSysUserPreferencesTable.ts.js +15 -0
- package/dist/migrations/1615622742904-AddValueJsonColumnSysUserPreferencesTable.ts.js.map +1 -0
- package/dist/migrations/1615661067542-RemoveColumnDefinitionColumnSysListPreferencesTable.ts.d.ts +5 -0
- package/dist/migrations/1615661067542-RemoveColumnDefinitionColumnSysListPreferencesTable.ts.js +15 -0
- package/dist/migrations/1615661067542-RemoveColumnDefinitionColumnSysListPreferencesTable.ts.js.map +1 -0
- package/dist/migrations/1615661131556-AddColumnDefinitionJsonColumnSysListPreferencesTable.ts.d.ts +5 -0
- package/dist/migrations/1615661131556-AddColumnDefinitionJsonColumnSysListPreferencesTable.ts.js +15 -0
- package/dist/migrations/1615661131556-AddColumnDefinitionJsonColumnSysListPreferencesTable.ts.js.map +1 -0
- package/dist/migrations/1615663840083-CreateUiActionPermissionTable.d.ts +5 -0
- package/dist/migrations/1615663840083-CreateUiActionPermissionTable.js +22 -0
- package/dist/migrations/1615663840083-CreateUiActionPermissionTable.js.map +1 -0
- package/dist/migrations/1615743889725-RemoveColumnDefinitionColumnSysFormPreferencesTable.ts.d.ts +5 -0
- package/dist/migrations/1615743889725-RemoveColumnDefinitionColumnSysFormPreferencesTable.ts.js +15 -0
- package/dist/migrations/1615743889725-RemoveColumnDefinitionColumnSysFormPreferencesTable.ts.js.map +1 -0
- package/dist/migrations/1615743931363-AddColumnDefinitionColumnSysFormPreferencesTable.ts.d.ts +5 -0
- package/dist/migrations/1615743931363-AddColumnDefinitionColumnSysFormPreferencesTable.ts.js +15 -0
- package/dist/migrations/1615743931363-AddColumnDefinitionColumnSysFormPreferencesTable.ts.js.map +1 -0
- package/dist/migrations/1616095909364-CreateClientScriptEntityTable.d.ts +5 -0
- package/dist/migrations/1616095909364-CreateClientScriptEntityTable.js +26 -0
- package/dist/migrations/1616095909364-CreateClientScriptEntityTable.js.map +1 -0
- package/dist/migrations/1616255314846-RenameRouteColumnSysMenuDetailsTable.ts.d.ts +5 -0
- package/dist/migrations/1616255314846-RenameRouteColumnSysMenuDetailsTable.ts.js +15 -0
- package/dist/migrations/1616255314846-RenameRouteColumnSysMenuDetailsTable.ts.js.map +1 -0
- package/dist/migrations/1616257589431-RenameRouteColumnSysModelDetailsTable.ts.d.ts +5 -0
- package/dist/migrations/1616257589431-RenameRouteColumnSysModelDetailsTable.ts.js +15 -0
- package/dist/migrations/1616257589431-RenameRouteColumnSysModelDetailsTable.ts.js.map +1 -0
- package/dist/migrations/1616329406291-AddIncludesColumnSysMenuDetailsTable.ts.d.ts +5 -0
- package/dist/migrations/1616329406291-AddIncludesColumnSysMenuDetailsTable.ts.js +15 -0
- package/dist/migrations/1616329406291-AddIncludesColumnSysMenuDetailsTable.ts.js.map +1 -0
- package/dist/migrations/1616604451282-CreateChartEntityTable.d.ts +5 -0
- package/dist/migrations/1616604451282-CreateChartEntityTable.js +28 -0
- package/dist/migrations/1616604451282-CreateChartEntityTable.js.map +1 -0
- package/dist/migrations/1616604996435-CreatePrimaryAxisTable.d.ts +5 -0
- package/dist/migrations/1616604996435-CreatePrimaryAxisTable.js +20 -0
- package/dist/migrations/1616604996435-CreatePrimaryAxisTable.js.map +1 -0
- package/dist/migrations/1616605261755-CreateSecondaryAxisTable.d.ts +5 -0
- package/dist/migrations/1616605261755-CreateSecondaryAxisTable.js +21 -0
- package/dist/migrations/1616605261755-CreateSecondaryAxisTable.js.map +1 -0
- package/dist/migrations/1616608867213-CreateReportTable.d.ts +5 -0
- package/dist/migrations/1616608867213-CreateReportTable.js +21 -0
- package/dist/migrations/1616608867213-CreateReportTable.js.map +1 -0
- package/dist/migrations/1616609134435-CreateReportColumnTable.d.ts +5 -0
- package/dist/migrations/1616609134435-CreateReportColumnTable.js +19 -0
- package/dist/migrations/1616609134435-CreateReportColumnTable.js.map +1 -0
- package/dist/migrations/1616610298682-CreateReportParamTable.d.ts +5 -0
- package/dist/migrations/1616610298682-CreateReportParamTable.js +20 -0
- package/dist/migrations/1616610298682-CreateReportParamTable.js.map +1 -0
- package/dist/migrations/1616738455290-AddNameColumnSysReportParamsTable.ts.d.ts +5 -0
- package/dist/migrations/1616738455290-AddNameColumnSysReportParamsTable.ts.js +15 -0
- package/dist/migrations/1616738455290-AddNameColumnSysReportParamsTable.ts.js.map +1 -0
- package/dist/migrations/1616749370769-AddSourceColumnsSysRelationshipDetailsTable.ts.d.ts +5 -0
- package/dist/migrations/1616749370769-AddSourceColumnsSysRelationshipDetailsTable.ts.js +15 -0
- package/dist/migrations/1616749370769-AddSourceColumnsSysRelationshipDetailsTable.ts.js.map +1 -0
- package/dist/migrations/1616750113885-CreateTableSysModelRelationshipsTable.ts.d.ts +5 -0
- package/dist/migrations/1616750113885-CreateTableSysModelRelationshipsTable.ts.js +22 -0
- package/dist/migrations/1616750113885-CreateTableSysModelRelationshipsTable.ts.js.map +1 -0
- package/dist/migrations/1616750244901-CreateReportRelationshipTable.d.ts +5 -0
- package/dist/migrations/1616750244901-CreateReportRelationshipTable.js +22 -0
- package/dist/migrations/1616750244901-CreateReportRelationshipTable.js.map +1 -0
- package/dist/migrations/1616787597931-CreateReportRoleTable.d.ts +5 -0
- package/dist/migrations/1616787597931-CreateReportRoleTable.js +19 -0
- package/dist/migrations/1616787597931-CreateReportRoleTable.js.map +1 -0
- package/dist/migrations/1617433544860-AddRouteColumnIncludesSysReportDetailsTable.ts.d.ts +5 -0
- package/dist/migrations/1617433544860-AddRouteColumnIncludesSysReportDetailsTable.ts.js +20 -0
- package/dist/migrations/1617433544860-AddRouteColumnIncludesSysReportDetailsTable.ts.js.map +1 -0
- package/dist/migrations/1619186436996-AddRouteIdentifierColumnSysModelDetailsTable.ts.d.ts +5 -0
- package/dist/migrations/1619186436996-AddRouteIdentifierColumnSysModelDetailsTable.ts.js +16 -0
- package/dist/migrations/1619186436996-AddRouteIdentifierColumnSysModelDetailsTable.ts.js.map +1 -0
- package/dist/migrations/1619193418460-AddDefaultUserDataSeederTable.d.ts +5 -0
- package/dist/migrations/1619193418460-AddDefaultUserDataSeederTable.js +39 -0
- package/dist/migrations/1619193418460-AddDefaultUserDataSeederTable.js.map +1 -0
- package/dist/migrations/1619555997151-AddSourceColumnsSysUserRolesTable.ts.d.ts +5 -0
- package/dist/migrations/1619555997151-AddSourceColumnsSysUserRolesTable.ts.js +15 -0
- package/dist/migrations/1619555997151-AddSourceColumnsSysUserRolesTable.ts.js.map +1 -0
- package/dist/migrations/1619556025823-AddSourceColumnsSysUserPermissionsTable.ts.d.ts +5 -0
- package/dist/migrations/1619556025823-AddSourceColumnsSysUserPermissionsTable.ts.js +15 -0
- package/dist/migrations/1619556025823-AddSourceColumnsSysUserPermissionsTable.ts.js.map +1 -0
- package/dist/migrations/1619556172009-CreateUserGroupPermissionEntityTable.d.ts +5 -0
- package/dist/migrations/1619556172009-CreateUserGroupPermissionEntityTable.js +25 -0
- package/dist/migrations/1619556172009-CreateUserGroupPermissionEntityTable.js.map +1 -0
- package/dist/migrations/1619903986363-CreateServiceTable.d.ts +5 -0
- package/dist/migrations/1619903986363-CreateServiceTable.js +22 -0
- package/dist/migrations/1619903986363-CreateServiceTable.js.map +1 -0
- package/dist/migrations/1619909254139-CreateBusinessRuleRoleTable.d.ts +5 -0
- package/dist/migrations/1619909254139-CreateBusinessRuleRoleTable.js +22 -0
- package/dist/migrations/1619909254139-CreateBusinessRuleRoleTable.js.map +1 -0
- package/dist/migrations/1633602353156-AddWhatsAppNumberSysCountriesTable.ts.d.ts +5 -0
- package/dist/migrations/1633602353156-AddWhatsAppNumberSysCountriesTable.ts.js +15 -0
- package/dist/migrations/1633602353156-AddWhatsAppNumberSysCountriesTable.ts.js.map +1 -0
- package/dist/migrations/1643398296090-CreateMailLogTable.d.ts +5 -0
- package/dist/migrations/1643398296090-CreateMailLogTable.js +25 -0
- package/dist/migrations/1643398296090-CreateMailLogTable.js.map +1 -0
- package/dist/migrations/1643899218270-CreateSmsMessageTable.d.ts +5 -0
- package/dist/migrations/1643899218270-CreateSmsMessageTable.js +26 -0
- package/dist/migrations/1643899218270-CreateSmsMessageTable.js.map +1 -0
- package/dist/migrations/1645738975654-CreateEmailTemplateTable.d.ts +5 -0
- package/dist/migrations/1645738975654-CreateEmailTemplateTable.js +21 -0
- package/dist/migrations/1645738975654-CreateEmailTemplateTable.js.map +1 -0
- package/dist/migrations/1645739142116-CreateWhatsappTemplateTable.d.ts +5 -0
- package/dist/migrations/1645739142116-CreateWhatsappTemplateTable.js +21 -0
- package/dist/migrations/1645739142116-CreateWhatsappTemplateTable.js.map +1 -0
- package/dist/migrations/1645886071349-AddSubjectSysEmailTemplatesTable.ts.d.ts +5 -0
- package/dist/migrations/1645886071349-AddSubjectSysEmailTemplatesTable.ts.js +15 -0
- package/dist/migrations/1645886071349-AddSubjectSysEmailTemplatesTable.ts.js.map +1 -0
- package/dist/migrations/1652332064735-AddOrdinalPositionSysColumnDetailsTable.ts.d.ts +5 -0
- package/dist/migrations/1652332064735-AddOrdinalPositionSysColumnDetailsTable.ts.js +15 -0
- package/dist/migrations/1652332064735-AddOrdinalPositionSysColumnDetailsTable.ts.js.map +1 -0
- package/dist/migrations/1662188562840-AddAttemptsSysUsersTable.ts.d.ts +5 -0
- package/dist/migrations/1662188562840-AddAttemptsSysUsersTable.ts.js +15 -0
- package/dist/migrations/1662188562840-AddAttemptsSysUsersTable.ts.js.map +1 -0
- package/dist/migrations/1669970181143-CreateDynamoTableTable.d.ts +5 -0
- package/dist/migrations/1669970181143-CreateDynamoTableTable.js +21 -0
- package/dist/migrations/1669970181143-CreateDynamoTableTable.js.map +1 -0
- package/dist/migrations/1675176639864-AddReportFilterTableSysReportFiltersTable.ts.d.ts +5 -0
- package/dist/migrations/1675176639864-AddReportFilterTableSysReportFiltersTable.ts.js +21 -0
- package/dist/migrations/1675176639864-AddReportFilterTableSysReportFiltersTable.ts.js.map +1 -0
- package/dist/migrations/1675876187420-AddIsEncryptedSysPropertiesTable.ts.d.ts +5 -0
- package/dist/migrations/1675876187420-AddIsEncryptedSysPropertiesTable.ts.js +15 -0
- package/dist/migrations/1675876187420-AddIsEncryptedSysPropertiesTable.ts.js.map +1 -0
- package/dist/migrations/1678730411972-CreatePendingBullJobTable.d.ts +5 -0
- package/dist/migrations/1678730411972-CreatePendingBullJobTable.js +24 -0
- package/dist/migrations/1678730411972-CreatePendingBullJobTable.js.map +1 -0
- package/dist/migrations/1678789489235-CreateFailedBullJobTable.d.ts +5 -0
- package/dist/migrations/1678789489235-CreateFailedBullJobTable.js +27 -0
- package/dist/migrations/1678789489235-CreateFailedBullJobTable.js.map +1 -0
- package/dist/migrations/1679473705431-RemoveModelSysRelationshipDetailsTable.ts.d.ts +5 -0
- package/dist/migrations/1679473705431-RemoveModelSysRelationshipDetailsTable.ts.js +15 -0
- package/dist/migrations/1679473705431-RemoveModelSysRelationshipDetailsTable.ts.js.map +1 -0
- package/dist/migrations/1684649589572-AddTypeSysCommentsTable.ts.d.ts +5 -0
- package/dist/migrations/1684649589572-AddTypeSysCommentsTable.ts.js +16 -0
- package/dist/migrations/1684649589572-AddTypeSysCommentsTable.ts.js.map +1 -0
- package/dist/migrations/1686046172898-CreateMailValidationTable.d.ts +5 -0
- package/dist/migrations/1686046172898-CreateMailValidationTable.js +24 -0
- package/dist/migrations/1686046172898-CreateMailValidationTable.js.map +1 -0
- package/dist/migrations/1686048669716-CreateMobileValidationTable.d.ts +5 -0
- package/dist/migrations/1686048669716-CreateMobileValidationTable.js +26 -0
- package/dist/migrations/1686048669716-CreateMobileValidationTable.js.map +1 -0
- package/dist/migrations/1692726438006-AddColumnTypeSysReportFiltersTable.ts.d.ts +5 -0
- package/dist/migrations/1692726438006-AddColumnTypeSysReportFiltersTable.ts.js +19 -0
- package/dist/migrations/1692726438006-AddColumnTypeSysReportFiltersTable.ts.js.map +1 -0
- package/dist/platformUtility/commands/index.d.ts +3 -0
- package/dist/platformUtility/commands/index.js +20 -0
- package/dist/platformUtility/commands/index.js.map +1 -0
- package/dist/platformUtility/commands/maintenance.command.d.ts +14 -0
- package/dist/platformUtility/commands/maintenance.command.js +99 -0
- package/dist/platformUtility/commands/maintenance.command.js.map +1 -0
- package/dist/platformUtility/commands/sqs.worker.command.d.ts +12 -0
- package/dist/platformUtility/commands/sqs.worker.command.js +54 -0
- package/dist/platformUtility/commands/sqs.worker.command.js.map +1 -0
- package/dist/platformUtility/commands/sync.class.command.d.ts +6 -0
- package/dist/platformUtility/commands/sync.class.command.js +56 -0
- package/dist/platformUtility/commands/sync.class.command.js.map +1 -0
- package/dist/platformUtility/consumers/event.consumer.d.ts +18 -0
- package/dist/platformUtility/consumers/event.consumer.js +119 -0
- package/dist/platformUtility/consumers/event.consumer.js.map +1 -0
- package/dist/platformUtility/consumers/index.d.ts +2 -0
- package/dist/platformUtility/consumers/index.js +19 -0
- package/dist/platformUtility/consumers/index.js.map +1 -0
- package/dist/platformUtility/consumers/job.consumer.d.ts +9 -0
- package/dist/platformUtility/consumers/job.consumer.js +74 -0
- package/dist/platformUtility/consumers/job.consumer.js.map +1 -0
- package/dist/platformUtility/controllers/bull.job.controller.d.ts +15 -0
- package/dist/platformUtility/controllers/bull.job.controller.js +134 -0
- package/dist/platformUtility/controllers/bull.job.controller.js.map +1 -0
- package/dist/platformUtility/controllers/index.d.ts +2 -0
- package/dist/platformUtility/controllers/index.js +19 -0
- package/dist/platformUtility/controllers/index.js.map +1 -0
- package/dist/platformUtility/controllers/queue.controller.d.ts +10 -0
- package/dist/platformUtility/controllers/queue.controller.js +53 -0
- package/dist/platformUtility/controllers/queue.controller.js.map +1 -0
- package/dist/platformUtility/dtos/aws.config.dto.d.ts +6 -0
- package/dist/platformUtility/dtos/aws.config.dto.js +7 -0
- package/dist/platformUtility/dtos/aws.config.dto.js.map +1 -0
- package/dist/platformUtility/dtos/common.attributes.dto.d.ts +7 -0
- package/dist/platformUtility/dtos/common.attributes.dto.js +36 -0
- package/dist/platformUtility/dtos/common.attributes.dto.js.map +1 -0
- package/dist/platformUtility/dtos/failed.bull.job.attributes.dto.d.ts +3 -0
- package/dist/platformUtility/dtos/failed.bull.job.attributes.dto.js +8 -0
- package/dist/platformUtility/dtos/failed.bull.job.attributes.dto.js.map +1 -0
- package/dist/platformUtility/dtos/fcm.response.dto.d.ts +7 -0
- package/dist/platformUtility/dtos/fcm.response.dto.js +7 -0
- package/dist/platformUtility/dtos/fcm.response.dto.js.map +1 -0
- package/dist/platformUtility/dtos/index.d.ts +15 -0
- package/dist/platformUtility/dtos/index.js +32 -0
- package/dist/platformUtility/dtos/index.js.map +1 -0
- package/dist/platformUtility/dtos/job.payload.dto.d.ts +6 -0
- package/dist/platformUtility/dtos/job.payload.dto.js +36 -0
- package/dist/platformUtility/dtos/job.payload.dto.js.map +1 -0
- package/dist/platformUtility/dtos/mail.options.dto.d.ts +14 -0
- package/dist/platformUtility/dtos/mail.options.dto.js +59 -0
- package/dist/platformUtility/dtos/mail.options.dto.js.map +1 -0
- package/dist/platformUtility/dtos/pending.bull.job.attributes.dto.d.ts +3 -0
- package/dist/platformUtility/dtos/pending.bull.job.attributes.dto.js +8 -0
- package/dist/platformUtility/dtos/pending.bull.job.attributes.dto.js.map +1 -0
- package/dist/platformUtility/dtos/push.notification.response.dto.d.ts +6 -0
- package/dist/platformUtility/dtos/push.notification.response.dto.js +7 -0
- package/dist/platformUtility/dtos/push.notification.response.dto.js.map +1 -0
- package/dist/platformUtility/dtos/push.notification.template.dto.d.ts +23 -0
- package/dist/platformUtility/dtos/push.notification.template.dto.js +7 -0
- package/dist/platformUtility/dtos/push.notification.template.dto.js.map +1 -0
- package/dist/platformUtility/dtos/queue.options.dto.d.ts +9 -0
- package/dist/platformUtility/dtos/queue.options.dto.js +50 -0
- package/dist/platformUtility/dtos/queue.options.dto.js.map +1 -0
- package/dist/platformUtility/dtos/remote.raw.response.dto.d.ts +6 -0
- package/dist/platformUtility/dtos/remote.raw.response.dto.js +35 -0
- package/dist/platformUtility/dtos/remote.raw.response.dto.js.map +1 -0
- package/dist/platformUtility/dtos/sms.payload.dto.d.ts +7 -0
- package/dist/platformUtility/dtos/sms.payload.dto.js +38 -0
- package/dist/platformUtility/dtos/sms.payload.dto.js.map +1 -0
- package/dist/platformUtility/dtos/smtp.config.dto.d.ts +7 -0
- package/dist/platformUtility/dtos/smtp.config.dto.js +7 -0
- package/dist/platformUtility/dtos/smtp.config.dto.js.map +1 -0
- package/dist/platformUtility/dtos/source.column.dto.d.ts +4 -0
- package/dist/platformUtility/dtos/source.column.dto.js +29 -0
- package/dist/platformUtility/dtos/source.column.dto.js.map +1 -0
- package/dist/platformUtility/dtos/string.search.dto.d.ts +5 -0
- package/dist/platformUtility/dtos/string.search.dto.js +34 -0
- package/dist/platformUtility/dtos/string.search.dto.js.map +1 -0
- package/dist/platformUtility/entities/failed.bull.job.entity.d.ts +15 -0
- package/dist/platformUtility/entities/failed.bull.job.entity.js +66 -0
- package/dist/platformUtility/entities/failed.bull.job.entity.js.map +1 -0
- package/dist/platformUtility/entities/index.d.ts +2 -0
- package/dist/platformUtility/entities/index.js +19 -0
- package/dist/platformUtility/entities/index.js.map +1 -0
- package/dist/platformUtility/entities/pending.bull.job.entity.d.ts +12 -0
- package/dist/platformUtility/entities/pending.bull.job.entity.js +54 -0
- package/dist/platformUtility/entities/pending.bull.job.entity.js.map +1 -0
- package/dist/platformUtility/es6.classes.d.ts +69 -0
- package/dist/platformUtility/es6.classes.js +119 -0
- package/dist/platformUtility/es6.classes.js.map +1 -0
- package/dist/platformUtility/index.d.ts +11 -0
- package/dist/platformUtility/index.js +28 -0
- package/dist/platformUtility/index.js.map +1 -0
- package/dist/platformUtility/jobs/index.d.ts +4 -0
- package/dist/platformUtility/jobs/index.js +21 -0
- package/dist/platformUtility/jobs/index.js.map +1 -0
- package/dist/platformUtility/jobs/load.failed.bull.job.d.ts +9 -0
- package/dist/platformUtility/jobs/load.failed.bull.job.js +54 -0
- package/dist/platformUtility/jobs/load.failed.bull.job.js.map +1 -0
- package/dist/platformUtility/jobs/record.watcher.job.d.ts +12 -0
- package/dist/platformUtility/jobs/record.watcher.job.js +37 -0
- package/dist/platformUtility/jobs/record.watcher.job.js.map +1 -0
- package/dist/platformUtility/jobs/reload.pending.bull.job.d.ts +7 -0
- package/dist/platformUtility/jobs/reload.pending.bull.job.js +39 -0
- package/dist/platformUtility/jobs/reload.pending.bull.job.js.map +1 -0
- package/dist/platformUtility/jobs/test.job.d.ts +7 -0
- package/dist/platformUtility/jobs/test.job.js +28 -0
- package/dist/platformUtility/jobs/test.job.js.map +1 -0
- package/dist/platformUtility/libraries/common.sqs.polling.d.ts +24 -0
- package/dist/platformUtility/libraries/common.sqs.polling.js +71 -0
- package/dist/platformUtility/libraries/common.sqs.polling.js.map +1 -0
- package/dist/platformUtility/libraries/create.entity.constants.file.d.ts +10 -0
- package/dist/platformUtility/libraries/create.entity.constants.file.js +64 -0
- package/dist/platformUtility/libraries/create.entity.constants.file.js.map +1 -0
- package/dist/platformUtility/libraries/create.es6.classes.file.d.ts +9 -0
- package/dist/platformUtility/libraries/create.es6.classes.file.js +62 -0
- package/dist/platformUtility/libraries/create.es6.classes.file.js.map +1 -0
- package/dist/platformUtility/libraries/create.es6.jobs.file.d.ts +9 -0
- package/dist/platformUtility/libraries/create.es6.jobs.file.js +105 -0
- package/dist/platformUtility/libraries/create.es6.jobs.file.js.map +1 -0
- package/dist/platformUtility/libraries/create.es6.service.file.d.ts +9 -0
- package/dist/platformUtility/libraries/create.es6.service.file.js +109 -0
- package/dist/platformUtility/libraries/create.es6.service.file.js.map +1 -0
- package/dist/platformUtility/libraries/create.index.file.d.ts +12 -0
- package/dist/platformUtility/libraries/create.index.file.js +78 -0
- package/dist/platformUtility/libraries/create.index.file.js.map +1 -0
- package/dist/platformUtility/libraries/file.system.utility.d.ts +13 -0
- package/dist/platformUtility/libraries/file.system.utility.js +67 -0
- package/dist/platformUtility/libraries/file.system.utility.js.map +1 -0
- package/dist/platformUtility/libraries/index.d.ts +11 -0
- package/dist/platformUtility/libraries/index.js +28 -0
- package/dist/platformUtility/libraries/index.js.map +1 -0
- package/dist/platformUtility/libraries/process.audit.log.data.d.ts +12 -0
- package/dist/platformUtility/libraries/process.audit.log.data.js +63 -0
- package/dist/platformUtility/libraries/process.audit.log.data.js.map +1 -0
- package/dist/platformUtility/libraries/process.common.mail.d.ts +9 -0
- package/dist/platformUtility/libraries/process.common.mail.js +42 -0
- package/dist/platformUtility/libraries/process.common.mail.js.map +1 -0
- package/dist/platformUtility/libraries/process.kaleyra.sms.d.ts +12 -0
- package/dist/platformUtility/libraries/process.kaleyra.sms.js +58 -0
- package/dist/platformUtility/libraries/process.kaleyra.sms.js.map +1 -0
- package/dist/platformUtility/libraries/process.smtp.mail.d.ts +14 -0
- package/dist/platformUtility/libraries/process.smtp.mail.js +81 -0
- package/dist/platformUtility/libraries/process.smtp.mail.js.map +1 -0
- package/dist/platformUtility/middlewares/index.d.ts +2 -0
- package/dist/platformUtility/middlewares/index.js +19 -0
- package/dist/platformUtility/middlewares/index.js.map +1 -0
- package/dist/platformUtility/middlewares/maintenance.middleware.d.ts +7 -0
- package/dist/platformUtility/middlewares/maintenance.middleware.js +31 -0
- package/dist/platformUtility/middlewares/maintenance.middleware.js.map +1 -0
- package/dist/platformUtility/middlewares/trim.pipe.d.ts +6 -0
- package/dist/platformUtility/middlewares/trim.pipe.js +42 -0
- package/dist/platformUtility/middlewares/trim.pipe.js.map +1 -0
- package/dist/platformUtility/platform.utility.module.d.ts +3 -0
- package/dist/platformUtility/platform.utility.module.js +35 -0
- package/dist/platformUtility/platform.utility.module.js.map +1 -0
- package/dist/platformUtility/services/audit.service.d.ts +17 -0
- package/dist/platformUtility/services/audit.service.js +96 -0
- package/dist/platformUtility/services/audit.service.js.map +1 -0
- package/dist/platformUtility/services/aws.config.service.d.ts +10 -0
- package/dist/platformUtility/services/aws.config.service.js +48 -0
- package/dist/platformUtility/services/aws.config.service.js.map +1 -0
- package/dist/platformUtility/services/cache.service.d.ts +8 -0
- package/dist/platformUtility/services/cache.service.js +57 -0
- package/dist/platformUtility/services/cache.service.js.map +1 -0
- package/dist/platformUtility/services/dynamo.service.d.ts +20 -0
- package/dist/platformUtility/services/dynamo.service.js +155 -0
- package/dist/platformUtility/services/dynamo.service.js.map +1 -0
- package/dist/platformUtility/services/es6.jobs.service.d.ts +14 -0
- package/dist/platformUtility/services/es6.jobs.service.js +49 -0
- package/dist/platformUtility/services/es6.jobs.service.js.map +1 -0
- package/dist/platformUtility/services/fcm.notification.service.d.ts +17 -0
- package/dist/platformUtility/services/fcm.notification.service.js +91 -0
- package/dist/platformUtility/services/fcm.notification.service.js.map +1 -0
- package/dist/platformUtility/services/index.d.ts +15 -0
- package/dist/platformUtility/services/index.js +32 -0
- package/dist/platformUtility/services/index.js.map +1 -0
- package/dist/platformUtility/services/local.property.service.d.ts +8 -0
- package/dist/platformUtility/services/local.property.service.js +44 -0
- package/dist/platformUtility/services/local.property.service.js.map +1 -0
- package/dist/platformUtility/services/mail.service.d.ts +17 -0
- package/dist/platformUtility/services/mail.service.js +73 -0
- package/dist/platformUtility/services/mail.service.js.map +1 -0
- package/dist/platformUtility/services/maintenance.service.d.ts +15 -0
- package/dist/platformUtility/services/maintenance.service.js +76 -0
- package/dist/platformUtility/services/maintenance.service.js.map +1 -0
- package/dist/platformUtility/services/queue.service.d.ts +42 -0
- package/dist/platformUtility/services/queue.service.js +191 -0
- package/dist/platformUtility/services/queue.service.js.map +1 -0
- package/dist/platformUtility/services/remote.request.service.d.ts +5 -0
- package/dist/platformUtility/services/remote.request.service.js +40 -0
- package/dist/platformUtility/services/remote.request.service.js.map +1 -0
- package/dist/platformUtility/services/shutdown.service.d.ts +7 -0
- package/dist/platformUtility/services/shutdown.service.js +30 -0
- package/dist/platformUtility/services/shutdown.service.js.map +1 -0
- package/dist/platformUtility/services/sms.service.d.ts +12 -0
- package/dist/platformUtility/services/sms.service.js +43 -0
- package/dist/platformUtility/services/sms.service.js.map +1 -0
- package/dist/platformUtility/services/sql.service.d.ts +15 -0
- package/dist/platformUtility/services/sql.service.js +87 -0
- package/dist/platformUtility/services/sql.service.js.map +1 -0
- package/dist/platformUtility/services/sqs.service.d.ts +13 -0
- package/dist/platformUtility/services/sqs.service.js +79 -0
- package/dist/platformUtility/services/sqs.service.js.map +1 -0
- package/dist/platformUtility/services/startup.service.d.ts +10 -0
- package/dist/platformUtility/services/startup.service.js +37 -0
- package/dist/platformUtility/services/startup.service.js.map +1 -0
- package/dist/platformUtility/subscribers/base.subscriber.d.ts +11 -0
- package/dist/platformUtility/subscribers/base.subscriber.js +63 -0
- package/dist/platformUtility/subscribers/base.subscriber.js.map +1 -0
- package/dist/platformUtility/subscribers/index.d.ts +1 -0
- package/dist/platformUtility/subscribers/index.js +18 -0
- package/dist/platformUtility/subscribers/index.js.map +1 -0
- package/dist/security/entities/index.d.ts +4 -0
- package/dist/security/entities/index.js +21 -0
- package/dist/security/entities/index.js.map +1 -0
- package/dist/security/entities/permission.entity.d.ts +7 -0
- package/dist/security/entities/permission.entity.js +41 -0
- package/dist/security/entities/permission.entity.js.map +1 -0
- package/dist/security/entities/role.entity.d.ts +8 -0
- package/dist/security/entities/role.entity.js +46 -0
- package/dist/security/entities/role.entity.js.map +1 -0
- package/dist/security/entities/user.permission.entity.d.ts +12 -0
- package/dist/security/entities/user.permission.entity.js +56 -0
- package/dist/security/entities/user.permission.entity.js.map +1 -0
- package/dist/security/entities/user.role.entity.d.ts +12 -0
- package/dist/security/entities/user.role.entity.js +56 -0
- package/dist/security/entities/user.role.entity.js.map +1 -0
- package/dist/security/es6.classes.d.ts +7 -0
- package/dist/security/es6.classes.js +11 -0
- package/dist/security/es6.classes.js.map +1 -0
- package/dist/security/index.d.ts +2 -0
- package/dist/security/index.js +19 -0
- package/dist/security/index.js.map +1 -0
- package/dist/security/security.module.d.ts +2 -0
- package/dist/security/security.module.js +21 -0
- package/dist/security/security.module.js.map +1 -0
- package/dist/system/commands/db.scanner.command.d.ts +30 -0
- package/dist/system/commands/db.scanner.command.js +285 -0
- package/dist/system/commands/db.scanner.command.js.map +1 -0
- package/dist/system/commands/dynamo.scanner.command.d.ts +8 -0
- package/dist/system/commands/dynamo.scanner.command.js +42 -0
- package/dist/system/commands/dynamo.scanner.command.js.map +1 -0
- package/dist/system/commands/event.queue.command.d.ts +17 -0
- package/dist/system/commands/event.queue.command.js +83 -0
- package/dist/system/commands/event.queue.command.js.map +1 -0
- package/dist/system/commands/index.d.ts +8 -0
- package/dist/system/commands/index.js +25 -0
- package/dist/system/commands/index.js.map +1 -0
- package/dist/system/commands/jobs.scanner.command.d.ts +8 -0
- package/dist/system/commands/jobs.scanner.command.js +46 -0
- package/dist/system/commands/jobs.scanner.command.js.map +1 -0
- package/dist/system/commands/model.scanner.command.d.ts +10 -0
- package/dist/system/commands/model.scanner.command.js +58 -0
- package/dist/system/commands/model.scanner.command.js.map +1 -0
- package/dist/system/commands/report.scanner.command.d.ts +8 -0
- package/dist/system/commands/report.scanner.command.js +49 -0
- package/dist/system/commands/report.scanner.command.js.map +1 -0
- package/dist/system/commands/service.scanner.command.d.ts +9 -0
- package/dist/system/commands/service.scanner.command.js +47 -0
- package/dist/system/commands/service.scanner.command.js.map +1 -0
- package/dist/system/commands/sync.all.command.d.ts +18 -0
- package/dist/system/commands/sync.all.command.js +76 -0
- package/dist/system/commands/sync.all.command.js.map +1 -0
- package/dist/system/controllers/base.controller.d.ts +50 -0
- package/dist/system/controllers/base.controller.js +187 -0
- package/dist/system/controllers/base.controller.js.map +1 -0
- package/dist/system/controllers/data.controller.d.ts +9 -0
- package/dist/system/controllers/data.controller.js +60 -0
- package/dist/system/controllers/data.controller.js.map +1 -0
- package/dist/system/controllers/form.controller.d.ts +15 -0
- package/dist/system/controllers/form.controller.js +51 -0
- package/dist/system/controllers/form.controller.js.map +1 -0
- package/dist/system/controllers/index.d.ts +8 -0
- package/dist/system/controllers/index.js +25 -0
- package/dist/system/controllers/index.js.map +1 -0
- package/dist/system/controllers/menu.controller.d.ts +10 -0
- package/dist/system/controllers/menu.controller.js +47 -0
- package/dist/system/controllers/menu.controller.js.map +1 -0
- package/dist/system/controllers/preference.controller.d.ts +18 -0
- package/dist/system/controllers/preference.controller.js +149 -0
- package/dist/system/controllers/preference.controller.js.map +1 -0
- package/dist/system/controllers/report.controller.d.ts +22 -0
- package/dist/system/controllers/report.controller.js +117 -0
- package/dist/system/controllers/report.controller.js.map +1 -0
- package/dist/system/controllers/upload.controller.d.ts +8 -0
- package/dist/system/controllers/upload.controller.js +60 -0
- package/dist/system/controllers/upload.controller.js.map +1 -0
- package/dist/system/controllers/user.preference.controller.d.ts +9 -0
- package/dist/system/controllers/user.preference.controller.js +56 -0
- package/dist/system/controllers/user.preference.controller.js.map +1 -0
- package/dist/system/dtos/add.comment.dto.d.ts +6 -0
- package/dist/system/dtos/add.comment.dto.js +41 -0
- package/dist/system/dtos/add.comment.dto.js.map +1 -0
- package/dist/system/dtos/comment.attributes.dto.d.ts +3 -0
- package/dist/system/dtos/comment.attributes.dto.js +8 -0
- package/dist/system/dtos/comment.attributes.dto.js.map +1 -0
- package/dist/system/dtos/document.attributes.dto.d.ts +7 -0
- package/dist/system/dtos/document.attributes.dto.js +40 -0
- package/dist/system/dtos/document.attributes.dto.js.map +1 -0
- package/dist/system/dtos/file.upload.dto.d.ts +8 -0
- package/dist/system/dtos/file.upload.dto.js +48 -0
- package/dist/system/dtos/file.upload.dto.js.map +1 -0
- package/dist/system/dtos/file.upload.spec.dto.d.ts +10 -0
- package/dist/system/dtos/file.upload.spec.dto.js +7 -0
- package/dist/system/dtos/file.upload.spec.dto.js.map +1 -0
- package/dist/system/dtos/index.d.ts +18 -0
- package/dist/system/dtos/index.js +35 -0
- package/dist/system/dtos/index.js.map +1 -0
- package/dist/system/dtos/job.record.param.dto.d.ts +4 -0
- package/dist/system/dtos/job.record.param.dto.js +29 -0
- package/dist/system/dtos/job.record.param.dto.js.map +1 -0
- package/dist/system/dtos/local.file.s3.upload.dto.d.ts +6 -0
- package/dist/system/dtos/local.file.s3.upload.dto.js +33 -0
- package/dist/system/dtos/local.file.s3.upload.dto.js.map +1 -0
- package/dist/system/dtos/mail.validation.dto.d.ts +5 -0
- package/dist/system/dtos/mail.validation.dto.js +7 -0
- package/dist/system/dtos/mail.validation.dto.js.map +1 -0
- package/dist/system/dtos/menu.list.preference.creation.dto.d.ts +7 -0
- package/dist/system/dtos/menu.list.preference.creation.dto.js +39 -0
- package/dist/system/dtos/menu.list.preference.creation.dto.js.map +1 -0
- package/dist/system/dtos/mobile.validation.dto.d.ts +5 -0
- package/dist/system/dtos/mobile.validation.dto.js +7 -0
- package/dist/system/dtos/mobile.validation.dto.js.map +1 -0
- package/dist/system/dtos/model.allowed.column.dto.d.ts +5 -0
- package/dist/system/dtos/model.allowed.column.dto.js +7 -0
- package/dist/system/dtos/model.allowed.column.dto.js.map +1 -0
- package/dist/system/dtos/model.form.preference.creation.dto.d.ts +4 -0
- package/dist/system/dtos/model.form.preference.creation.dto.js +27 -0
- package/dist/system/dtos/model.form.preference.creation.dto.js.map +1 -0
- package/dist/system/dtos/otp.generation.dto.d.ts +5 -0
- package/dist/system/dtos/otp.generation.dto.js +25 -0
- package/dist/system/dtos/otp.generation.dto.js.map +1 -0
- package/dist/system/dtos/s3.object.info.dto.d.ts +4 -0
- package/dist/system/dtos/s3.object.info.dto.js +7 -0
- package/dist/system/dtos/s3.object.info.dto.js.map +1 -0
- package/dist/system/dtos/s3.upload.options.dto.d.ts +6 -0
- package/dist/system/dtos/s3.upload.options.dto.js +7 -0
- package/dist/system/dtos/s3.upload.options.dto.js.map +1 -0
- package/dist/system/dtos/sms.message.attributes.dto.d.ts +4 -0
- package/dist/system/dtos/sms.message.attributes.dto.js +8 -0
- package/dist/system/dtos/sms.message.attributes.dto.js.map +1 -0
- package/dist/system/dtos/user.preference.creation.dto.d.ts +4 -0
- package/dist/system/dtos/user.preference.creation.dto.js +25 -0
- package/dist/system/dtos/user.preference.creation.dto.js.map +1 -0
- package/dist/system/dtos/validation.options.dto.d.ts +4 -0
- package/dist/system/dtos/validation.options.dto.js +7 -0
- package/dist/system/dtos/validation.options.dto.js.map +1 -0
- package/dist/system/entities/business.rule.entity.d.ts +27 -0
- package/dist/system/entities/business.rule.entity.js +115 -0
- package/dist/system/entities/business.rule.entity.js.map +1 -0
- package/dist/system/entities/business.rule.role.entity.d.ts +10 -0
- package/dist/system/entities/business.rule.role.entity.js +45 -0
- package/dist/system/entities/business.rule.role.entity.js.map +1 -0
- package/dist/system/entities/chart.entity.d.ts +21 -0
- package/dist/system/entities/chart.entity.js +87 -0
- package/dist/system/entities/chart.entity.js.map +1 -0
- package/dist/system/entities/client.script.entity.d.ts +15 -0
- package/dist/system/entities/client.script.entity.js +65 -0
- package/dist/system/entities/client.script.entity.js.map +1 -0
- package/dist/system/entities/column.definition.entity.d.ts +7 -0
- package/dist/system/entities/column.definition.entity.js +41 -0
- package/dist/system/entities/column.definition.entity.js.map +1 -0
- package/dist/system/entities/column.entity.d.ts +21 -0
- package/dist/system/entities/column.entity.js +95 -0
- package/dist/system/entities/column.entity.js.map +1 -0
- package/dist/system/entities/comment.entity.d.ts +11 -0
- package/dist/system/entities/comment.entity.js +56 -0
- package/dist/system/entities/comment.entity.js.map +1 -0
- package/dist/system/entities/document.entity.d.ts +11 -0
- package/dist/system/entities/document.entity.js +48 -0
- package/dist/system/entities/document.entity.js.map +1 -0
- package/dist/system/entities/dynamo.table.entity.d.ts +10 -0
- package/dist/system/entities/dynamo.table.entity.js +47 -0
- package/dist/system/entities/dynamo.table.entity.js.map +1 -0
- package/dist/system/entities/email.template.entity.d.ts +9 -0
- package/dist/system/entities/email.template.entity.js +45 -0
- package/dist/system/entities/email.template.entity.js.map +1 -0
- package/dist/system/entities/event.detail.entity.d.ts +7 -0
- package/dist/system/entities/event.detail.entity.js +37 -0
- package/dist/system/entities/event.detail.entity.js.map +1 -0
- package/dist/system/entities/event.queue.entity.d.ts +14 -0
- package/dist/system/entities/event.queue.entity.js +63 -0
- package/dist/system/entities/event.queue.entity.js.map +1 -0
- package/dist/system/entities/form.column.entity.d.ts +10 -0
- package/dist/system/entities/form.column.entity.js +45 -0
- package/dist/system/entities/form.column.entity.js.map +1 -0
- package/dist/system/entities/form.entity.d.ts +17 -0
- package/dist/system/entities/form.entity.js +75 -0
- package/dist/system/entities/form.entity.js.map +1 -0
- package/dist/system/entities/form.preference.entity.d.ts +8 -0
- package/dist/system/entities/form.preference.entity.js +41 -0
- package/dist/system/entities/form.preference.entity.js.map +1 -0
- package/dist/system/entities/index.d.ts +57 -0
- package/dist/system/entities/index.js +74 -0
- package/dist/system/entities/index.js.map +1 -0
- package/dist/system/entities/list.preference.entity.d.ts +12 -0
- package/dist/system/entities/list.preference.entity.js +58 -0
- package/dist/system/entities/list.preference.entity.js.map +1 -0
- package/dist/system/entities/lookup.type.entity.d.ts +8 -0
- package/dist/system/entities/lookup.type.entity.js +41 -0
- package/dist/system/entities/lookup.type.entity.js.map +1 -0
- package/dist/system/entities/lookup.value.entity.d.ts +10 -0
- package/dist/system/entities/lookup.value.entity.js +51 -0
- package/dist/system/entities/lookup.value.entity.js.map +1 -0
- package/dist/system/entities/mail.log.entity.d.ts +12 -0
- package/dist/system/entities/mail.log.entity.js +57 -0
- package/dist/system/entities/mail.log.entity.js.map +1 -0
- package/dist/system/entities/mail.validation.entity.d.ts +13 -0
- package/dist/system/entities/mail.validation.entity.js +59 -0
- package/dist/system/entities/mail.validation.entity.js.map +1 -0
- package/dist/system/entities/menu.entity.d.ts +28 -0
- package/dist/system/entities/menu.entity.js +97 -0
- package/dist/system/entities/menu.entity.js.map +1 -0
- package/dist/system/entities/menu.role.entity.d.ts +10 -0
- package/dist/system/entities/menu.role.entity.js +48 -0
- package/dist/system/entities/menu.role.entity.js.map +1 -0
- package/dist/system/entities/mobile.validation.entity.d.ts +14 -0
- package/dist/system/entities/mobile.validation.entity.js +63 -0
- package/dist/system/entities/mobile.validation.entity.js.map +1 -0
- package/dist/system/entities/model.column.entity.d.ts +10 -0
- package/dist/system/entities/model.column.entity.js +45 -0
- package/dist/system/entities/model.column.entity.js.map +1 -0
- package/dist/system/entities/model.entity.d.ts +31 -0
- package/dist/system/entities/model.entity.js +120 -0
- package/dist/system/entities/model.entity.js.map +1 -0
- package/dist/system/entities/model.relationship.entity.d.ts +10 -0
- package/dist/system/entities/model.relationship.entity.js +45 -0
- package/dist/system/entities/model.relationship.entity.js.map +1 -0
- package/dist/system/entities/model.role.entity.d.ts +11 -0
- package/dist/system/entities/model.role.entity.js +49 -0
- package/dist/system/entities/model.role.entity.js.map +1 -0
- package/dist/system/entities/module.entity.d.ts +10 -0
- package/dist/system/entities/module.entity.js +49 -0
- package/dist/system/entities/module.entity.js.map +1 -0
- package/dist/system/entities/module.menu.entity.d.ts +11 -0
- package/dist/system/entities/module.menu.entity.js +52 -0
- package/dist/system/entities/module.menu.entity.js.map +1 -0
- package/dist/system/entities/open.property.entity.d.ts +7 -0
- package/dist/system/entities/open.property.entity.js +37 -0
- package/dist/system/entities/open.property.entity.js.map +1 -0
- package/dist/system/entities/page.definition.entity.d.ts +7 -0
- package/dist/system/entities/page.definition.entity.js +40 -0
- package/dist/system/entities/page.definition.entity.js.map +1 -0
- package/dist/system/entities/parent.menu.entity.d.ts +9 -0
- package/dist/system/entities/parent.menu.entity.js +47 -0
- package/dist/system/entities/parent.menu.entity.js.map +1 -0
- package/dist/system/entities/primary.axis.entity.d.ts +9 -0
- package/dist/system/entities/primary.axis.entity.js +43 -0
- package/dist/system/entities/primary.axis.entity.js.map +1 -0
- package/dist/system/entities/property.entity.d.ts +10 -0
- package/dist/system/entities/property.entity.js +53 -0
- package/dist/system/entities/property.entity.js.map +1 -0
- package/dist/system/entities/relationship.entity.d.ts +22 -0
- package/dist/system/entities/relationship.entity.js +98 -0
- package/dist/system/entities/relationship.entity.js.map +1 -0
- package/dist/system/entities/report.column.entity.d.ts +8 -0
- package/dist/system/entities/report.column.entity.js +39 -0
- package/dist/system/entities/report.column.entity.js.map +1 -0
- package/dist/system/entities/report.entity.d.ts +35 -0
- package/dist/system/entities/report.entity.js +117 -0
- package/dist/system/entities/report.entity.js.map +1 -0
- package/dist/system/entities/report.filter.entity.d.ts +19 -0
- package/dist/system/entities/report.filter.entity.js +79 -0
- package/dist/system/entities/report.filter.entity.js.map +1 -0
- package/dist/system/entities/report.param.entity.d.ts +12 -0
- package/dist/system/entities/report.param.entity.js +53 -0
- package/dist/system/entities/report.param.entity.js.map +1 -0
- package/dist/system/entities/report.relationship.entity.d.ts +10 -0
- package/dist/system/entities/report.relationship.entity.js +45 -0
- package/dist/system/entities/report.relationship.entity.js.map +1 -0
- package/dist/system/entities/report.role.entity.d.ts +10 -0
- package/dist/system/entities/report.role.entity.js +45 -0
- package/dist/system/entities/report.role.entity.js.map +1 -0
- package/dist/system/entities/scheduled.event.entity.d.ts +15 -0
- package/dist/system/entities/scheduled.event.entity.js +67 -0
- package/dist/system/entities/scheduled.event.entity.js.map +1 -0
- package/dist/system/entities/secondary.axis.entity.d.ts +10 -0
- package/dist/system/entities/secondary.axis.entity.js +47 -0
- package/dist/system/entities/secondary.axis.entity.js.map +1 -0
- package/dist/system/entities/security.rule.entity.d.ts +15 -0
- package/dist/system/entities/security.rule.entity.js +74 -0
- package/dist/system/entities/security.rule.entity.js.map +1 -0
- package/dist/system/entities/service.entity.d.ts +7 -0
- package/dist/system/entities/service.entity.js +37 -0
- package/dist/system/entities/service.entity.js.map +1 -0
- package/dist/system/entities/sms.message.entity.d.ts +18 -0
- package/dist/system/entities/sms.message.entity.js +74 -0
- package/dist/system/entities/sms.message.entity.js.map +1 -0
- package/dist/system/entities/sms.template.entity.d.ts +13 -0
- package/dist/system/entities/sms.template.entity.js +59 -0
- package/dist/system/entities/sms.template.entity.js.map +1 -0
- package/dist/system/entities/system.script.entity.d.ts +11 -0
- package/dist/system/entities/system.script.entity.js +55 -0
- package/dist/system/entities/system.script.entity.js.map +1 -0
- package/dist/system/entities/ui.action.entity.d.ts +29 -0
- package/dist/system/entities/ui.action.entity.js +116 -0
- package/dist/system/entities/ui.action.entity.js.map +1 -0
- package/dist/system/entities/ui.action.permission.entity.d.ts +10 -0
- package/dist/system/entities/ui.action.permission.entity.js +45 -0
- package/dist/system/entities/ui.action.permission.entity.js.map +1 -0
- package/dist/system/entities/ui.action.role.entity.d.ts +10 -0
- package/dist/system/entities/ui.action.role.entity.js +45 -0
- package/dist/system/entities/ui.action.role.entity.js.map +1 -0
- package/dist/system/entities/user.group.entity.d.ts +15 -0
- package/dist/system/entities/user.group.entity.js +66 -0
- package/dist/system/entities/user.group.entity.js.map +1 -0
- package/dist/system/entities/user.group.member.entity.d.ts +10 -0
- package/dist/system/entities/user.group.member.entity.js +45 -0
- package/dist/system/entities/user.group.member.entity.js.map +1 -0
- package/dist/system/entities/user.group.permission.entity.d.ts +6 -0
- package/dist/system/entities/user.group.permission.entity.js +33 -0
- package/dist/system/entities/user.group.permission.entity.js.map +1 -0
- package/dist/system/entities/user.group.role.entity.d.ts +10 -0
- package/dist/system/entities/user.group.role.entity.js +45 -0
- package/dist/system/entities/user.group.role.entity.js.map +1 -0
- package/dist/system/entities/user.preference.entity.d.ts +7 -0
- package/dist/system/entities/user.preference.entity.js +40 -0
- package/dist/system/entities/user.preference.entity.js.map +1 -0
- package/dist/system/entities/whatsapp.template.entity.d.ts +7 -0
- package/dist/system/entities/whatsapp.template.entity.js +37 -0
- package/dist/system/entities/whatsapp.template.entity.js.map +1 -0
- package/dist/system/es6.classes.d.ts +155 -0
- package/dist/system/es6.classes.js +320 -0
- package/dist/system/es6.classes.js.map +1 -0
- package/dist/system/index.d.ts +10 -0
- package/dist/system/index.js +27 -0
- package/dist/system/index.js.map +1 -0
- package/dist/system/jobs/clean.scheduled.event.job.d.ts +12 -0
- package/dist/system/jobs/clean.scheduled.event.job.js +37 -0
- package/dist/system/jobs/clean.scheduled.event.job.js.map +1 -0
- package/dist/system/jobs/column.mapper.job.d.ts +11 -0
- package/dist/system/jobs/column.mapper.job.js +65 -0
- package/dist/system/jobs/column.mapper.job.js.map +1 -0
- package/dist/system/jobs/comment.job.d.ts +10 -0
- package/dist/system/jobs/comment.job.js +45 -0
- package/dist/system/jobs/comment.job.js.map +1 -0
- package/dist/system/jobs/document.job.d.ts +10 -0
- package/dist/system/jobs/document.job.js +45 -0
- package/dist/system/jobs/document.job.js.map +1 -0
- package/dist/system/jobs/index.d.ts +17 -0
- package/dist/system/jobs/index.js +34 -0
- package/dist/system/jobs/index.js.map +1 -0
- package/dist/system/jobs/mail.validation.job.d.ts +9 -0
- package/dist/system/jobs/mail.validation.job.js +28 -0
- package/dist/system/jobs/mail.validation.job.js.map +1 -0
- package/dist/system/jobs/mobile.validation.job.d.ts +9 -0
- package/dist/system/jobs/mobile.validation.job.js +28 -0
- package/dist/system/jobs/mobile.validation.job.js.map +1 -0
- package/dist/system/jobs/model.scanner.job.d.ts +20 -0
- package/dist/system/jobs/model.scanner.job.js +220 -0
- package/dist/system/jobs/model.scanner.job.js.map +1 -0
- package/dist/system/jobs/property.job.d.ts +10 -0
- package/dist/system/jobs/property.job.js +32 -0
- package/dist/system/jobs/property.job.js.map +1 -0
- package/dist/system/jobs/refresh.property.cache.job.d.ts +10 -0
- package/dist/system/jobs/refresh.property.cache.job.js +44 -0
- package/dist/system/jobs/refresh.property.cache.job.js.map +1 -0
- package/dist/system/jobs/relationship.mapper.job.d.ts +11 -0
- package/dist/system/jobs/relationship.mapper.job.js +60 -0
- package/dist/system/jobs/relationship.mapper.job.js.map +1 -0
- package/dist/system/jobs/report.column.sync.job.d.ts +18 -0
- package/dist/system/jobs/report.column.sync.job.js +133 -0
- package/dist/system/jobs/report.column.sync.job.js.map +1 -0
- package/dist/system/jobs/scheduled.event.job.d.ts +11 -0
- package/dist/system/jobs/scheduled.event.job.js +48 -0
- package/dist/system/jobs/scheduled.event.job.js.map +1 -0
- package/dist/system/jobs/scheduled.events.job.d.ts +10 -0
- package/dist/system/jobs/scheduled.events.job.js +43 -0
- package/dist/system/jobs/scheduled.events.job.js.map +1 -0
- package/dist/system/jobs/sms.message.job.d.ts +12 -0
- package/dist/system/jobs/sms.message.job.js +39 -0
- package/dist/system/jobs/sms.message.job.js.map +1 -0
- package/dist/system/jobs/user.group.member.job.d.ts +14 -0
- package/dist/system/jobs/user.group.member.job.js +101 -0
- package/dist/system/jobs/user.group.member.job.js.map +1 -0
- package/dist/system/jobs/user.group.permission.job.d.ts +10 -0
- package/dist/system/jobs/user.group.permission.job.js +59 -0
- package/dist/system/jobs/user.group.permission.job.js.map +1 -0
- package/dist/system/jobs/user.group.role.job.d.ts +10 -0
- package/dist/system/jobs/user.group.role.job.js +59 -0
- package/dist/system/jobs/user.group.role.job.js.map +1 -0
- package/dist/system/libraries/business.rule.filter.validator.d.ts +10 -0
- package/dist/system/libraries/business.rule.filter.validator.js +37 -0
- package/dist/system/libraries/business.rule.filter.validator.js.map +1 -0
- package/dist/system/libraries/business.rule.query.evaluator.d.ts +10 -0
- package/dist/system/libraries/business.rule.query.evaluator.js +40 -0
- package/dist/system/libraries/business.rule.query.evaluator.js.map +1 -0
- package/dist/system/libraries/column.manager.d.ts +17 -0
- package/dist/system/libraries/column.manager.js +70 -0
- package/dist/system/libraries/column.manager.js.map +1 -0
- package/dist/system/libraries/index.d.ts +6 -0
- package/dist/system/libraries/index.js +23 -0
- package/dist/system/libraries/index.js.map +1 -0
- package/dist/system/libraries/model.sync.d.ts +15 -0
- package/dist/system/libraries/model.sync.js +101 -0
- package/dist/system/libraries/model.sync.js.map +1 -0
- package/dist/system/libraries/security.rule.evaluator.d.ts +6 -0
- package/dist/system/libraries/security.rule.evaluator.js +26 -0
- package/dist/system/libraries/security.rule.evaluator.js.map +1 -0
- package/dist/system/libraries/sync.dynamo.tables.d.ts +12 -0
- package/dist/system/libraries/sync.dynamo.tables.js +64 -0
- package/dist/system/libraries/sync.dynamo.tables.js.map +1 -0
- package/dist/system/modifiers/index.d.ts +2 -0
- package/dist/system/modifiers/index.js +19 -0
- package/dist/system/modifiers/index.js.map +1 -0
- package/dist/system/modifiers/menu.list.modifier.d.ts +9 -0
- package/dist/system/modifiers/menu.list.modifier.js +45 -0
- package/dist/system/modifiers/menu.list.modifier.js.map +1 -0
- package/dist/system/modifiers/module.list.modifier.d.ts +8 -0
- package/dist/system/modifiers/module.list.modifier.js +37 -0
- package/dist/system/modifiers/module.list.modifier.js.map +1 -0
- package/dist/system/services/aws.s3.service.d.ts +22 -0
- package/dist/system/services/aws.s3.service.js +140 -0
- package/dist/system/services/aws.s3.service.js.map +1 -0
- package/dist/system/services/business.rule.service.d.ts +11 -0
- package/dist/system/services/business.rule.service.js +62 -0
- package/dist/system/services/business.rule.service.js.map +1 -0
- package/dist/system/services/client.script.service.d.ts +3 -0
- package/dist/system/services/client.script.service.js +39 -0
- package/dist/system/services/client.script.service.js.map +1 -0
- package/dist/system/services/column.service.d.ts +4 -0
- package/dist/system/services/column.service.js +33 -0
- package/dist/system/services/column.service.js.map +1 -0
- package/dist/system/services/comment.service.d.ts +12 -0
- package/dist/system/services/comment.service.js +35 -0
- package/dist/system/services/comment.service.js.map +1 -0
- package/dist/system/services/common.service.d.ts +12 -0
- package/dist/system/services/common.service.js +62 -0
- package/dist/system/services/common.service.js.map +1 -0
- package/dist/system/services/document.service.d.ts +13 -0
- package/dist/system/services/document.service.js +55 -0
- package/dist/system/services/document.service.js.map +1 -0
- package/dist/system/services/es6.jobs.service.d.ts +40 -0
- package/dist/system/services/es6.jobs.service.js +101 -0
- package/dist/system/services/es6.jobs.service.js.map +1 -0
- package/dist/system/services/es6.service.d.ts +50 -0
- package/dist/system/services/es6.service.js +123 -0
- package/dist/system/services/es6.service.js.map +1 -0
- package/dist/system/services/event.detail.service.d.ts +4 -0
- package/dist/system/services/event.detail.service.js +32 -0
- package/dist/system/services/event.detail.service.js.map +1 -0
- package/dist/system/services/event.queue.service.d.ts +5 -0
- package/dist/system/services/event.queue.service.js +47 -0
- package/dist/system/services/event.queue.service.js.map +1 -0
- package/dist/system/services/form.service.d.ts +7 -0
- package/dist/system/services/form.service.js +35 -0
- package/dist/system/services/form.service.js.map +1 -0
- package/dist/system/services/index.d.ts +23 -0
- package/dist/system/services/index.js +40 -0
- package/dist/system/services/index.js.map +1 -0
- package/dist/system/services/list.service.d.ts +37 -0
- package/dist/system/services/list.service.js +73 -0
- package/dist/system/services/list.service.js.map +1 -0
- package/dist/system/services/mail.validation.service.d.ts +14 -0
- package/dist/system/services/mail.validation.service.js +84 -0
- package/dist/system/services/mail.validation.service.js.map +1 -0
- package/dist/system/services/menu.service.d.ts +19 -0
- package/dist/system/services/menu.service.js +113 -0
- package/dist/system/services/menu.service.js.map +1 -0
- package/dist/system/services/mobile.validation.service.d.ts +14 -0
- package/dist/system/services/mobile.validation.service.js +88 -0
- package/dist/system/services/mobile.validation.service.js.map +1 -0
- package/dist/system/services/model.service.d.ts +21 -0
- package/dist/system/services/model.service.js +119 -0
- package/dist/system/services/model.service.js.map +1 -0
- package/dist/system/services/preference.service.d.ts +10 -0
- package/dist/system/services/preference.service.js +64 -0
- package/dist/system/services/preference.service.js.map +1 -0
- package/dist/system/services/property.service.d.ts +9 -0
- package/dist/system/services/property.service.js +63 -0
- package/dist/system/services/property.service.js.map +1 -0
- package/dist/system/services/report.service.d.ts +12 -0
- package/dist/system/services/report.service.js +58 -0
- package/dist/system/services/report.service.js.map +1 -0
- package/dist/system/services/scheduled.event.service.d.ts +10 -0
- package/dist/system/services/scheduled.event.service.js +104 -0
- package/dist/system/services/scheduled.event.service.js.map +1 -0
- package/dist/system/services/security.rule.service.d.ts +12 -0
- package/dist/system/services/security.rule.service.js +90 -0
- package/dist/system/services/security.rule.service.js.map +1 -0
- package/dist/system/services/ui.action.service.d.ts +9 -0
- package/dist/system/services/ui.action.service.js +56 -0
- package/dist/system/services/ui.action.service.js.map +1 -0
- package/dist/system/services/upload.service.d.ts +16 -0
- package/dist/system/services/upload.service.js +75 -0
- package/dist/system/services/upload.service.js.map +1 -0
- package/dist/system/services/user.preference.service.d.ts +11 -0
- package/dist/system/services/user.preference.service.js +76 -0
- package/dist/system/services/user.preference.service.js.map +1 -0
- package/dist/system/subscribers/column.subscriber.d.ts +12 -0
- package/dist/system/subscribers/column.subscriber.js +39 -0
- package/dist/system/subscribers/column.subscriber.js.map +1 -0
- package/dist/system/subscribers/comment.subscriber.d.ts +12 -0
- package/dist/system/subscribers/comment.subscriber.js +39 -0
- package/dist/system/subscribers/comment.subscriber.js.map +1 -0
- package/dist/system/subscribers/document.subscriber.d.ts +12 -0
- package/dist/system/subscribers/document.subscriber.js +39 -0
- package/dist/system/subscribers/document.subscriber.js.map +1 -0
- package/dist/system/subscribers/index.d.ts +12 -0
- package/dist/system/subscribers/index.js +29 -0
- package/dist/system/subscribers/index.js.map +1 -0
- package/dist/system/subscribers/mail.validation.subscriber.d.ts +12 -0
- package/dist/system/subscribers/mail.validation.subscriber.js +39 -0
- package/dist/system/subscribers/mail.validation.subscriber.js.map +1 -0
- package/dist/system/subscribers/mobile.validation.subscriber.d.ts +12 -0
- package/dist/system/subscribers/mobile.validation.subscriber.js +39 -0
- package/dist/system/subscribers/mobile.validation.subscriber.js.map +1 -0
- package/dist/system/subscribers/property.subscriber.d.ts +14 -0
- package/dist/system/subscribers/property.subscriber.js +48 -0
- package/dist/system/subscribers/property.subscriber.js.map +1 -0
- package/dist/system/subscribers/relationship.subscriber.d.ts +11 -0
- package/dist/system/subscribers/relationship.subscriber.js +37 -0
- package/dist/system/subscribers/relationship.subscriber.js.map +1 -0
- package/dist/system/subscribers/scheduled.event.subscriber.d.ts +14 -0
- package/dist/system/subscribers/scheduled.event.subscriber.js +45 -0
- package/dist/system/subscribers/scheduled.event.subscriber.js.map +1 -0
- package/dist/system/subscribers/sms.message.subscriber.d.ts +12 -0
- package/dist/system/subscribers/sms.message.subscriber.js +39 -0
- package/dist/system/subscribers/sms.message.subscriber.js.map +1 -0
- package/dist/system/subscribers/user.group.member.subscriber.d.ts +12 -0
- package/dist/system/subscribers/user.group.member.subscriber.js +39 -0
- package/dist/system/subscribers/user.group.member.subscriber.js.map +1 -0
- package/dist/system/subscribers/user.group.permission.subscriber.d.ts +12 -0
- package/dist/system/subscribers/user.group.permission.subscriber.js +39 -0
- package/dist/system/subscribers/user.group.permission.subscriber.js.map +1 -0
- package/dist/system/subscribers/user.group.role.subscriber.d.ts +12 -0
- package/dist/system/subscribers/user.group.role.subscriber.js +39 -0
- package/dist/system/subscribers/user.group.role.subscriber.js.map +1 -0
- package/dist/system/system.module.d.ts +2 -0
- package/dist/system/system.module.js +26 -0
- package/dist/system/system.module.js.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/dist/worker.d.ts +1 -0
- package/dist/worker.js +16 -0
- package/dist/worker.js.map +1 -0
- package/dist/worker.service.d.ts +11 -0
- package/dist/worker.service.js +39 -0
- package/dist/worker.service.js.map +1 -0
- package/package.json +1 -1
@@ -0,0 +1,26 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.SecurityRuleEvaluator = void 0;
|
4
|
+
const auth_1 = require("../../common/libraries/auth");
|
5
|
+
class SecurityRuleEvaluator {
|
6
|
+
constructor(data) {
|
7
|
+
this.data = data;
|
8
|
+
}
|
9
|
+
async process(rule) {
|
10
|
+
const passedFilterCondition = await this.evaluateCondition(rule.filter_condition);
|
11
|
+
if (passedFilterCondition)
|
12
|
+
return this.evaluateCondition(rule.script);
|
13
|
+
return true;
|
14
|
+
}
|
15
|
+
async evaluateCondition(condition) {
|
16
|
+
if (!condition)
|
17
|
+
return true;
|
18
|
+
const data = this.data;
|
19
|
+
const user = auth_1.Auth.user();
|
20
|
+
let answer = true;
|
21
|
+
eval(condition);
|
22
|
+
return answer;
|
23
|
+
}
|
24
|
+
}
|
25
|
+
exports.SecurityRuleEvaluator = SecurityRuleEvaluator;
|
26
|
+
//# sourceMappingURL=security.rule.evaluator.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"security.rule.evaluator.js","sourceRoot":"","sources":["../../../src/system/libraries/security.rule.evaluator.ts"],"names":[],"mappings":";;;AAAA,sDAAmD;AAEnD,MAAa,qBAAqB;IAG9B,YAAY,IAAS;QACjB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACrB,CAAC;IAED,KAAK,CAAC,OAAO,CAAC,IAAS;QACnB,MAAM,qBAAqB,GAAG,MAAM,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAClF,IAAI,qBAAqB;YAAE,OAAO,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAEtE,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,KAAK,CAAC,iBAAiB,CAAC,SAAiB;QACrC,IAAI,CAAC,SAAS;YAAE,OAAO,IAAI,CAAC;QAE5B,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;QACvB,MAAM,IAAI,GAAG,WAAI,CAAC,IAAI,EAAE,CAAC;QAGzB,IAAI,MAAM,GAAG,IAAI,CAAC;QAGlB,IAAI,CAAC,SAAS,CAAC,CAAC;QAEhB,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ;AA5BD,sDA4BC"}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { DynamoService } from '../../platformUtility/services/dynamo.service';
|
2
|
+
export declare class SyncDynamoTables {
|
3
|
+
private readonly dynamoService;
|
4
|
+
constructor(dynamoService: DynamoService);
|
5
|
+
private dynamoTables;
|
6
|
+
handle(): Promise<void>;
|
7
|
+
private getRemoteTables;
|
8
|
+
private syncLocalToRemote;
|
9
|
+
private syncRemoteToLocal;
|
10
|
+
private setRemoteInLocalTable;
|
11
|
+
private getTableDetails;
|
12
|
+
}
|
@@ -0,0 +1,64 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.SyncDynamoTables = void 0;
|
4
|
+
const dynamo_table_entity_1 = require("../entities/dynamo.table.entity");
|
5
|
+
class SyncDynamoTables {
|
6
|
+
constructor(dynamoService) {
|
7
|
+
this.dynamoService = dynamoService;
|
8
|
+
this.dynamoTables = [];
|
9
|
+
}
|
10
|
+
async handle() {
|
11
|
+
await this.getRemoteTables();
|
12
|
+
await this.syncRemoteToLocal();
|
13
|
+
await this.syncLocalToRemote();
|
14
|
+
}
|
15
|
+
async getRemoteTables() {
|
16
|
+
const records = await this.dynamoService.listTables();
|
17
|
+
this.dynamoTables = records.TableNames;
|
18
|
+
}
|
19
|
+
async syncLocalToRemote() {
|
20
|
+
const tables = await dynamo_table_entity_1.DynamoTableEntity.find();
|
21
|
+
for (const table of tables) {
|
22
|
+
if (this.dynamoTables.includes(table.table_name))
|
23
|
+
continue;
|
24
|
+
await this.dynamoService.createTable(table);
|
25
|
+
}
|
26
|
+
}
|
27
|
+
async syncRemoteToLocal() {
|
28
|
+
for (const table of this.dynamoTables)
|
29
|
+
await this.setRemoteInLocalTable(table);
|
30
|
+
}
|
31
|
+
async setRemoteInLocalTable(tableName) {
|
32
|
+
const localEntity = await dynamo_table_entity_1.DynamoTableEntity.firstOrNew({ table_name: tableName });
|
33
|
+
if (localEntity.id)
|
34
|
+
return;
|
35
|
+
global.console.log(`syncing remote dynamo table ${tableName} to local`);
|
36
|
+
const tableDetails = await this.getTableDetails(tableName);
|
37
|
+
if (!(tableDetails.key.type_id && tableDetails.sortKey.type_id))
|
38
|
+
return;
|
39
|
+
localEntity.primary_key = tableDetails.key.name;
|
40
|
+
localEntity.sort_key = tableDetails.sortKey.name;
|
41
|
+
localEntity.sort_type_id = tableDetails.sortKey.type_id;
|
42
|
+
return localEntity.save();
|
43
|
+
}
|
44
|
+
async getTableDetails(tableName) {
|
45
|
+
const tableDetails = await this.dynamoService.getTableDetails(tableName);
|
46
|
+
const key = {};
|
47
|
+
const sortKey = {};
|
48
|
+
tableDetails.Table.KeySchema.forEach((element) => {
|
49
|
+
if (element.KeyType === 'HASH')
|
50
|
+
key.name = element.AttributeName;
|
51
|
+
if (element.KeyType === 'RANGE')
|
52
|
+
sortKey.name = element.AttributeName;
|
53
|
+
});
|
54
|
+
tableDetails.Table.AttributeDefinitions.forEach((element) => {
|
55
|
+
if (element.AttributeName === key.name)
|
56
|
+
key.type_id = element.AttributeType === 'N' ? 2 : 1;
|
57
|
+
if (element.AttributeName === sortKey.name)
|
58
|
+
sortKey.type_id = element.AttributeType === 'N' ? 2 : 1;
|
59
|
+
});
|
60
|
+
return { key, sortKey };
|
61
|
+
}
|
62
|
+
}
|
63
|
+
exports.SyncDynamoTables = SyncDynamoTables;
|
64
|
+
//# sourceMappingURL=sync.dynamo.tables.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"sync.dynamo.tables.js","sourceRoot":"","sources":["../../../src/system/libraries/sync.dynamo.tables.ts"],"names":[],"mappings":"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"}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./menu.list.modifier"), exports);
|
18
|
+
__exportStar(require("./module.list.modifier"), exports);
|
19
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/modifiers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,yDAAuC"}
|
@@ -0,0 +1,45 @@
|
|
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.MenuListModifier = void 0;
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
14
|
+
class MenuListModifier {
|
15
|
+
}
|
16
|
+
exports.MenuListModifier = MenuListModifier;
|
17
|
+
__decorate([
|
18
|
+
(0, class_transformer_1.Expose)(),
|
19
|
+
__metadata("design:type", Number)
|
20
|
+
], MenuListModifier.prototype, "id", void 0);
|
21
|
+
__decorate([
|
22
|
+
(0, class_transformer_1.Expose)(),
|
23
|
+
__metadata("design:type", String)
|
24
|
+
], MenuListModifier.prototype, "name", void 0);
|
25
|
+
__decorate([
|
26
|
+
(0, class_transformer_1.Expose)(),
|
27
|
+
__metadata("design:type", String)
|
28
|
+
], MenuListModifier.prototype, "url", void 0);
|
29
|
+
__decorate([
|
30
|
+
(0, class_transformer_1.Expose)(),
|
31
|
+
__metadata("design:type", String)
|
32
|
+
], MenuListModifier.prototype, "image", void 0);
|
33
|
+
__decorate([
|
34
|
+
(0, class_transformer_1.Expose)(),
|
35
|
+
__metadata("design:type", Boolean)
|
36
|
+
], MenuListModifier.prototype, "visibility", void 0);
|
37
|
+
__decorate([
|
38
|
+
(0, class_transformer_1.Expose)(),
|
39
|
+
__metadata("design:type", Number)
|
40
|
+
], MenuListModifier.prototype, "page_id", void 0);
|
41
|
+
__decorate([
|
42
|
+
(0, class_transformer_1.Expose)(),
|
43
|
+
__metadata("design:type", String)
|
44
|
+
], MenuListModifier.prototype, "includes", void 0);
|
45
|
+
//# sourceMappingURL=menu.list.modifier.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"menu.list.modifier.js","sourceRoot":"","sources":["../../../src/system/modifiers/menu.list.modifier.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAE3C,MAAa,gBAAgB;CAQ5B;AARD,4CAQC;AAPa;IAAT,IAAA,0BAAM,GAAE;;4CAAY;AACX;IAAT,IAAA,0BAAM,GAAE;;8CAAc;AACb;IAAT,IAAA,0BAAM,GAAE;;6CAAa;AACZ;IAAT,IAAA,0BAAM,GAAE;;+CAAe;AACd;IAAT,IAAA,0BAAM,GAAE;;oDAAqB;AACpB;IAAT,IAAA,0BAAM,GAAE;;iDAAiB;AAChB;IAAT,IAAA,0BAAM,GAAE;;kDAAkB"}
|
@@ -0,0 +1,37 @@
|
|
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.ModuleListModifier = void 0;
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
14
|
+
class ModuleListModifier {
|
15
|
+
}
|
16
|
+
exports.ModuleListModifier = ModuleListModifier;
|
17
|
+
__decorate([
|
18
|
+
(0, class_transformer_1.Expose)(),
|
19
|
+
__metadata("design:type", Number)
|
20
|
+
], ModuleListModifier.prototype, "id", void 0);
|
21
|
+
__decorate([
|
22
|
+
(0, class_transformer_1.Expose)(),
|
23
|
+
__metadata("design:type", String)
|
24
|
+
], ModuleListModifier.prototype, "name", void 0);
|
25
|
+
__decorate([
|
26
|
+
(0, class_transformer_1.Expose)(),
|
27
|
+
__metadata("design:type", Number)
|
28
|
+
], ModuleListModifier.prototype, "display_order", void 0);
|
29
|
+
__decorate([
|
30
|
+
(0, class_transformer_1.Expose)(),
|
31
|
+
__metadata("design:type", String)
|
32
|
+
], ModuleListModifier.prototype, "image", void 0);
|
33
|
+
__decorate([
|
34
|
+
(0, class_transformer_1.Expose)(),
|
35
|
+
__metadata("design:type", Array)
|
36
|
+
], ModuleListModifier.prototype, "menus", void 0);
|
37
|
+
//# sourceMappingURL=module.list.modifier.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"module.list.modifier.js","sourceRoot":"","sources":["../../../src/system/modifiers/module.list.modifier.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAE3C,MAAa,kBAAkB;CAO9B;AAPD,gDAOC;AANa;IAAT,IAAA,0BAAM,GAAE;;8CAAY;AACX;IAAT,IAAA,0BAAM,GAAE;;gDAAc;AACb;IAAT,IAAA,0BAAM,GAAE;;yDAAuB;AACtB;IAAT,IAAA,0BAAM,GAAE;;iDAAe;AAEd;IAAT,IAAA,0BAAM,GAAE;;iDAA2B"}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { AwsConfigService } from '../../platformUtility/services/aws.config.service';
|
2
|
+
import { S3ObjectInfoDto } from '../dtos/s3.object.info.dto';
|
3
|
+
export declare class AwsS3Service {
|
4
|
+
private readonly awsConfigService;
|
5
|
+
private client;
|
6
|
+
constructor(awsConfigService: AwsConfigService);
|
7
|
+
private init;
|
8
|
+
private getClient;
|
9
|
+
upload(params: any): Promise<string>;
|
10
|
+
uploadToServer(params: any): Promise<any>;
|
11
|
+
getPublicUrl(bucket: string, key: string, expiresIn?: number): Promise<string>;
|
12
|
+
getObject(bucket: string, key: string): Promise<any>;
|
13
|
+
listObjects(bucket: string): Promise<any>;
|
14
|
+
moveObject(source: S3ObjectInfoDto, destination: S3ObjectInfoDto): Promise<any>;
|
15
|
+
copyObject(source: S3ObjectInfoDto, destination: S3ObjectInfoDto): Promise<any>;
|
16
|
+
dropObject(object: S3ObjectInfoDto): Promise<any>;
|
17
|
+
getS3BucketKeyFromUrl(url: string): {
|
18
|
+
bucket: string;
|
19
|
+
key: string;
|
20
|
+
region: string;
|
21
|
+
};
|
22
|
+
}
|
@@ -0,0 +1,140 @@
|
|
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.AwsS3Service = void 0;
|
13
|
+
const client_s3_1 = require("@aws-sdk/client-s3");
|
14
|
+
const lib_storage_1 = require("@aws-sdk/lib-storage");
|
15
|
+
const s3_request_presigner_1 = require("@aws-sdk/s3-request-presigner");
|
16
|
+
const common_1 = require("@nestjs/common");
|
17
|
+
const operation_exception_1 = require("../../common/exceptions/operation.exception");
|
18
|
+
const aws_config_service_1 = require("../../platformUtility/services/aws.config.service");
|
19
|
+
let AwsS3Service = class AwsS3Service {
|
20
|
+
constructor(awsConfigService) {
|
21
|
+
this.awsConfigService = awsConfigService;
|
22
|
+
this.client = null;
|
23
|
+
}
|
24
|
+
async init() {
|
25
|
+
const config = await this.awsConfigService.getConfigOrThrowException();
|
26
|
+
global.console.log('config', config);
|
27
|
+
this.client = new client_s3_1.S3Client({
|
28
|
+
credentials: { accessKeyId: config.key, secretAccessKey: config.secret },
|
29
|
+
region: config.region,
|
30
|
+
});
|
31
|
+
}
|
32
|
+
async getClient() {
|
33
|
+
if (!this.client)
|
34
|
+
this.init();
|
35
|
+
if (!this.client)
|
36
|
+
throw new operation_exception_1.OperationException(`S3 service is not working`);
|
37
|
+
return this.client;
|
38
|
+
}
|
39
|
+
async upload(params) {
|
40
|
+
const res = await this.uploadToServer(params);
|
41
|
+
if (res.Location)
|
42
|
+
return res.Location;
|
43
|
+
}
|
44
|
+
async uploadToServer(params) {
|
45
|
+
const client = await this.getClient();
|
46
|
+
const upload = new lib_storage_1.Upload({
|
47
|
+
client,
|
48
|
+
params,
|
49
|
+
});
|
50
|
+
return upload.done();
|
51
|
+
}
|
52
|
+
async getPublicUrl(bucket, key, expiresIn = 3600) {
|
53
|
+
const client = await this.getClient();
|
54
|
+
const command = new client_s3_1.GetObjectCommand({
|
55
|
+
Bucket: bucket,
|
56
|
+
Key: key,
|
57
|
+
});
|
58
|
+
return await (0, s3_request_presigner_1.getSignedUrl)(client, command, { expiresIn });
|
59
|
+
}
|
60
|
+
async getObject(bucket, key) {
|
61
|
+
const client = await this.getClient();
|
62
|
+
const params = { Bucket: bucket, Key: key };
|
63
|
+
const command = new client_s3_1.GetObjectCommand(params);
|
64
|
+
return client.send(command);
|
65
|
+
}
|
66
|
+
async listObjects(bucket) {
|
67
|
+
const client = await this.getClient();
|
68
|
+
const params = { Bucket: bucket };
|
69
|
+
const command = new client_s3_1.ListObjectsCommand(params);
|
70
|
+
return client.send(command);
|
71
|
+
}
|
72
|
+
async moveObject(source, destination) {
|
73
|
+
const response = await this.copyObject(source, destination);
|
74
|
+
await this.dropObject(source);
|
75
|
+
return response;
|
76
|
+
}
|
77
|
+
async copyObject(source, destination) {
|
78
|
+
const client = await this.getClient();
|
79
|
+
const params = {
|
80
|
+
Bucket: destination.bucket,
|
81
|
+
CopySource: `${source.bucket}/${source.key}`,
|
82
|
+
Key: destination.key,
|
83
|
+
};
|
84
|
+
const command = new client_s3_1.CopyObjectCommand(params);
|
85
|
+
return client.send(command);
|
86
|
+
}
|
87
|
+
async dropObject(object) {
|
88
|
+
const client = await this.getClient();
|
89
|
+
const params = {
|
90
|
+
Bucket: object.bucket,
|
91
|
+
Key: object.key,
|
92
|
+
};
|
93
|
+
const command = new client_s3_1.DeleteObjectCommand(params);
|
94
|
+
return client.send(command);
|
95
|
+
}
|
96
|
+
getS3BucketKeyFromUrl(url) {
|
97
|
+
let _decodedUrl = decodeURIComponent(url);
|
98
|
+
let _result = null;
|
99
|
+
let _match = _decodedUrl.match(/^https?:\/\/s3.amazonaws.com\/([^\/]+)\/?(.*?)$/);
|
100
|
+
if (_match) {
|
101
|
+
_result = {
|
102
|
+
bucket: _match[1],
|
103
|
+
key: _match[2],
|
104
|
+
region: '',
|
105
|
+
};
|
106
|
+
}
|
107
|
+
_match = _decodedUrl.match(/^https?:\/\/s3-([^.]+).amazonaws.com\/([^\/]+)\/?(.*?)$/);
|
108
|
+
if (_match) {
|
109
|
+
_result = {
|
110
|
+
bucket: _match[2],
|
111
|
+
key: _match[3],
|
112
|
+
region: _match[1],
|
113
|
+
};
|
114
|
+
}
|
115
|
+
_match = _decodedUrl.match(/^https?:\/\/([^.]+).s3.amazonaws.com\/?(.*?)$/);
|
116
|
+
if (_match) {
|
117
|
+
_result = {
|
118
|
+
bucket: _match[1],
|
119
|
+
key: _match[2],
|
120
|
+
region: '',
|
121
|
+
};
|
122
|
+
}
|
123
|
+
_match = _decodedUrl.match(/^https?:\/\/([^.]+).(?:s3-|s3\.)([^.]+).amazonaws.com\/?(.*?)$/);
|
124
|
+
if (_match) {
|
125
|
+
_result = {
|
126
|
+
bucket: _match[1],
|
127
|
+
key: _match[3],
|
128
|
+
region: _match[2],
|
129
|
+
};
|
130
|
+
}
|
131
|
+
_result.key = _result.key.split('?')[0];
|
132
|
+
return _result;
|
133
|
+
}
|
134
|
+
};
|
135
|
+
exports.AwsS3Service = AwsS3Service;
|
136
|
+
exports.AwsS3Service = AwsS3Service = __decorate([
|
137
|
+
(0, common_1.Injectable)(),
|
138
|
+
__metadata("design:paramtypes", [aws_config_service_1.AwsConfigService])
|
139
|
+
], AwsS3Service);
|
140
|
+
//# sourceMappingURL=aws.s3.service.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"aws.s3.service.js","sourceRoot":"","sources":["../../../src/system/services/aws.s3.service.ts"],"names":[],"mappings":"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"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { AccessManager } from '../../auth/services/access.manager';
|
2
|
+
import { BusinessRuleRoleEntity } from '../entities/business.rule.role.entity';
|
3
|
+
import { CommonService } from './common.service';
|
4
|
+
export declare class BusinessRuleService {
|
5
|
+
private readonly accessManager;
|
6
|
+
private readonly commonService;
|
7
|
+
constructor(accessManager: AccessManager, commonService: CommonService);
|
8
|
+
getQueryRestrictions(modelId: number): Promise<string[]>;
|
9
|
+
private getQuery;
|
10
|
+
validateRoleCheck(roles: BusinessRuleRoleEntity[]): boolean;
|
11
|
+
}
|
@@ -0,0 +1,62 @@
|
|
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.BusinessRuleService = void 0;
|
13
|
+
const common_1 = require("@nestjs/common");
|
14
|
+
const access_manager_1 = require("../../auth/services/access.manager");
|
15
|
+
const entities_1 = require("../entities");
|
16
|
+
const business_rule_filter_validator_1 = require("./../libraries/business.rule.filter.validator");
|
17
|
+
const business_rule_query_evaluator_1 = require("./../libraries/business.rule.query.evaluator");
|
18
|
+
const common_service_1 = require("./common.service");
|
19
|
+
let BusinessRuleService = class BusinessRuleService {
|
20
|
+
constructor(accessManager, commonService) {
|
21
|
+
this.accessManager = accessManager;
|
22
|
+
this.commonService = commonService;
|
23
|
+
}
|
24
|
+
async getQueryRestrictions(modelId) {
|
25
|
+
const rules = await entities_1.BusinessRuleEntity.find({
|
26
|
+
where: { model_id: modelId, active: true, on_query: true },
|
27
|
+
relations: ['business_rule_roles'],
|
28
|
+
});
|
29
|
+
const query = [];
|
30
|
+
const promises = [];
|
31
|
+
rules.forEach((rule) => {
|
32
|
+
promises.push(this.getQuery(rule));
|
33
|
+
});
|
34
|
+
return Promise.all(promises).then((res) => {
|
35
|
+
res.forEach((response) => {
|
36
|
+
if (response)
|
37
|
+
query.push(response);
|
38
|
+
});
|
39
|
+
return query;
|
40
|
+
});
|
41
|
+
}
|
42
|
+
async getQuery(rule) {
|
43
|
+
const toEvaluate = new business_rule_filter_validator_1.BusinessRuleFilterValidator(rule).validate();
|
44
|
+
if (!toEvaluate)
|
45
|
+
return null;
|
46
|
+
const hasRoleAccess = this.validateRoleCheck(rule.business_rule_roles);
|
47
|
+
if (!hasRoleAccess)
|
48
|
+
return null;
|
49
|
+
return new business_rule_query_evaluator_1.BusinessRuleQueryEvaluator(rule, this.commonService).process();
|
50
|
+
}
|
51
|
+
validateRoleCheck(roles) {
|
52
|
+
if (roles.length === 0)
|
53
|
+
return true;
|
54
|
+
return this.accessManager.hasRoleAssignments(roles, true);
|
55
|
+
}
|
56
|
+
};
|
57
|
+
exports.BusinessRuleService = BusinessRuleService;
|
58
|
+
exports.BusinessRuleService = BusinessRuleService = __decorate([
|
59
|
+
(0, common_1.Injectable)(),
|
60
|
+
__metadata("design:paramtypes", [access_manager_1.AccessManager, common_service_1.CommonService])
|
61
|
+
], BusinessRuleService);
|
62
|
+
//# sourceMappingURL=business.rule.service.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"business.rule.service.js","sourceRoot":"","sources":["../../../src/system/services/business.rule.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,uEAAmE;AACnE,0CAAiD;AAEjD,kGAA4F;AAC5F,gGAA0F;AAC1F,qDAAiD;AAQ1C,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IAC5B,YAA6B,aAA4B,EAAmB,aAA4B;QAA3E,kBAAa,GAAb,aAAa,CAAe;QAAmB,kBAAa,GAAb,aAAa,CAAe;IAAG,CAAC;IAQ5G,KAAK,CAAC,oBAAoB,CAAC,OAAe;QAEtC,MAAM,KAAK,GAAG,MAAM,6BAAkB,CAAC,IAAI,CAAC;YACxC,KAAK,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC1D,SAAS,EAAE,CAAC,qBAAqB,CAAC;SACrC,CAAC,CAAC;QAEH,MAAM,KAAK,GAAG,EAAE,CAAC;QACjB,MAAM,QAAQ,GAAG,EAAE,CAAC;QAGpB,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;YACnB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC;QACvC,CAAC,CAAC,CAAC;QAEH,OAAO,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE;YAEtC,GAAG,CAAC,OAAO,CAAC,CAAC,QAAQ,EAAE,EAAE;gBACrB,IAAI,QAAQ;oBAAE,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YACvC,CAAC,CAAC,CAAC;YAEH,OAAO,KAAK,CAAC;QACjB,CAAC,CAAC,CAAC;IACP,CAAC;IASO,KAAK,CAAC,QAAQ,CAAC,IAAwB;QAC3C,MAAM,UAAU,GAAG,IAAI,4DAA2B,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC;QACpE,IAAI,CAAC,UAAU;YAAE,OAAO,IAAI,CAAC;QAE7B,MAAM,aAAa,GAAG,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;QACvE,IAAI,CAAC,aAAa;YAAE,OAAO,IAAI,CAAC;QAEhC,OAAO,IAAI,0DAA0B,CAAC,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC,OAAO,EAAE,CAAC;IAC9E,CAAC;IAQD,iBAAiB,CAAC,KAA+B;QAC7C,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC;YAAE,OAAO,IAAI,CAAC;QAEpC,OAAO,IAAI,CAAC,aAAa,CAAC,kBAAkB,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;CACJ,CAAA;AA9DY,kDAAmB;8BAAnB,mBAAmB;IAD/B,IAAA,mBAAU,GAAE;qCAEmC,8BAAa,EAAkC,8BAAa;GAD/F,mBAAmB,CA8D/B"}
|
@@ -0,0 +1,39 @@
|
|
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.ClientScriptService = void 0;
|
10
|
+
const common_1 = require("@nestjs/common");
|
11
|
+
const typeorm_1 = require("typeorm");
|
12
|
+
const client_script_entity_1 = require("../entities/client.script.entity");
|
13
|
+
let ClientScriptService = class ClientScriptService {
|
14
|
+
async getClientScripts(identifier) {
|
15
|
+
const scripts = await client_script_entity_1.ClientScriptEntity.find({
|
16
|
+
where: [
|
17
|
+
{ name: identifier },
|
18
|
+
{
|
19
|
+
name: (0, typeorm_1.ILike)(`%${identifier}%`),
|
20
|
+
},
|
21
|
+
],
|
22
|
+
});
|
23
|
+
const records = [];
|
24
|
+
scripts.forEach((script) => {
|
25
|
+
records.push({
|
26
|
+
name: script.name,
|
27
|
+
activity_type_id: script.activity_type_id,
|
28
|
+
script: script.script,
|
29
|
+
column: script.activity_type_id === 2 ? script.name.split('.').slice(-1)[0] : null,
|
30
|
+
});
|
31
|
+
});
|
32
|
+
return records;
|
33
|
+
}
|
34
|
+
};
|
35
|
+
exports.ClientScriptService = ClientScriptService;
|
36
|
+
exports.ClientScriptService = ClientScriptService = __decorate([
|
37
|
+
(0, common_1.Injectable)()
|
38
|
+
], ClientScriptService);
|
39
|
+
//# sourceMappingURL=client.script.service.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"client.script.service.js","sourceRoot":"","sources":["../../../src/system/services/client.script.service.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAA4C;AAC5C,qCAAgC;AAChC,2EAAsE;AAG/D,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IAC5B,KAAK,CAAC,gBAAgB,CAAC,UAAkB;QACrC,MAAM,OAAO,GAAG,MAAM,yCAAkB,CAAC,IAAI,CAAC;YAC1C,KAAK,EAAE;gBACH,EAAE,IAAI,EAAE,UAAU,EAAE;gBACpB;oBACI,IAAI,EAAE,IAAA,eAAK,EAAC,IAAI,UAAU,GAAG,CAAC;iBACjC;aACJ;SACJ,CAAC,CAAC;QAEH,MAAM,OAAO,GAAG,EAAE,CAAC;QAEnB,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE;YACvB,OAAO,CAAC,IAAI,CAAC;gBACT,IAAI,EAAE,MAAM,CAAC,IAAI;gBACjB,gBAAgB,EAAE,MAAM,CAAC,gBAAgB;gBACzC,MAAM,EAAE,MAAM,CAAC,MAAM;gBACrB,MAAM,EAAE,MAAM,CAAC,gBAAgB,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI;aACrF,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;QAEH,OAAO,OAAO,CAAC;IACnB,CAAC;CACJ,CAAA;AAxBY,kDAAmB;8BAAnB,mBAAmB;IAD/B,IAAA,mBAAU,GAAE;GACA,mBAAmB,CAwB/B"}
|
@@ -0,0 +1,33 @@
|
|
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.ColumnService = void 0;
|
10
|
+
const common_1 = require("@nestjs/common");
|
11
|
+
const SOURCEHASH = require("../../config/source.hash");
|
12
|
+
const column_entity_1 = require("../entities/column.entity");
|
13
|
+
let ColumnService = class ColumnService {
|
14
|
+
async getModelColumns(id) {
|
15
|
+
const data = {
|
16
|
+
allowed: [],
|
17
|
+
allowed_identifiers: [],
|
18
|
+
};
|
19
|
+
const records = await column_entity_1.ColumnEntity.find({
|
20
|
+
where: { source_type: SOURCEHASH.model, source_id: id },
|
21
|
+
});
|
22
|
+
records.forEach((record) => {
|
23
|
+
data.allowed.push(record);
|
24
|
+
data.allowed_identifiers.push(record.name);
|
25
|
+
});
|
26
|
+
return data;
|
27
|
+
}
|
28
|
+
};
|
29
|
+
exports.ColumnService = ColumnService;
|
30
|
+
exports.ColumnService = ColumnService = __decorate([
|
31
|
+
(0, common_1.Injectable)()
|
32
|
+
], ColumnService);
|
33
|
+
//# sourceMappingURL=column.service.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"column.service.js","sourceRoot":"","sources":["../../../src/system/services/column.service.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAA4C;AAC5C,uDAAwD;AAExD,6DAAyD;AAGlD,IAAM,aAAa,GAAnB,MAAM,aAAa;IACtB,KAAK,CAAC,eAAe,CAAC,EAAU;QAC5B,MAAM,IAAI,GAA0B;YAChC,OAAO,EAAE,EAAE;YACX,mBAAmB,EAAE,EAAE;SAC1B,CAAC;QAEF,MAAM,OAAO,GAAG,MAAM,4BAAY,CAAC,IAAI,CAAC;YACpC,KAAK,EAAE,EAAE,WAAW,EAAE,UAAU,CAAC,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE;SAC1D,CAAC,CAAC;QAEH,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE;YACvB,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YAC1B,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QAC/C,CAAC,CAAC,CAAC;QAEH,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ,CAAA;AAlBY,sCAAa;wBAAb,aAAa;IADzB,IAAA,mBAAU,GAAE;GACA,aAAa,CAkBzB"}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { SourceColumnDto } from '../../platformUtility';
|
2
|
+
import { AddCommentDto } from '../dtos/add.comment.dto';
|
3
|
+
import { CommentEntity } from '../entities/comment.entity';
|
4
|
+
export declare class CommentService {
|
5
|
+
getComments(query: {
|
6
|
+
source_type: string;
|
7
|
+
source_id: number;
|
8
|
+
type_id?: number;
|
9
|
+
limit?: number;
|
10
|
+
}): Promise<any[]>;
|
11
|
+
setComment(body: AddCommentDto, source?: SourceColumnDto): Promise<CommentEntity>;
|
12
|
+
}
|