@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,14 @@
|
|
1
|
+
import { CommonEntity } from '../../common/libraries/common.entity';
|
2
|
+
import { DeviceTokenEntity } from './device.token.entity';
|
3
|
+
import { UserEntity } from './user.entity';
|
4
|
+
export declare class RefreshTokenEntity extends CommonEntity {
|
5
|
+
uuid: string;
|
6
|
+
token: string;
|
7
|
+
user_id: number;
|
8
|
+
device_id: number;
|
9
|
+
validity_datetime: Date;
|
10
|
+
last_access_datetime: Date;
|
11
|
+
attributes: any;
|
12
|
+
user: UserEntity;
|
13
|
+
device: DeviceTokenEntity;
|
14
|
+
}
|
@@ -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.RefreshTokenEntity = void 0;
|
13
|
+
const typeorm_1 = require("typeorm");
|
14
|
+
const common_entity_1 = require("../../common/libraries/common.entity");
|
15
|
+
const device_token_entity_1 = require("./device.token.entity");
|
16
|
+
const user_entity_1 = require("./user.entity");
|
17
|
+
let RefreshTokenEntity = class RefreshTokenEntity extends common_entity_1.CommonEntity {
|
18
|
+
};
|
19
|
+
exports.RefreshTokenEntity = RefreshTokenEntity;
|
20
|
+
__decorate([
|
21
|
+
(0, typeorm_1.Generated)('uuid'),
|
22
|
+
(0, typeorm_1.Column)(),
|
23
|
+
__metadata("design:type", String)
|
24
|
+
], RefreshTokenEntity.prototype, "uuid", void 0);
|
25
|
+
__decorate([
|
26
|
+
(0, typeorm_1.Column)(),
|
27
|
+
__metadata("design:type", String)
|
28
|
+
], RefreshTokenEntity.prototype, "token", void 0);
|
29
|
+
__decorate([
|
30
|
+
(0, typeorm_1.Column)(),
|
31
|
+
__metadata("design:type", Number)
|
32
|
+
], RefreshTokenEntity.prototype, "user_id", void 0);
|
33
|
+
__decorate([
|
34
|
+
(0, typeorm_1.Column)(),
|
35
|
+
__metadata("design:type", Number)
|
36
|
+
], RefreshTokenEntity.prototype, "device_id", void 0);
|
37
|
+
__decorate([
|
38
|
+
(0, typeorm_1.Column)(),
|
39
|
+
__metadata("design:type", Date)
|
40
|
+
], RefreshTokenEntity.prototype, "validity_datetime", void 0);
|
41
|
+
__decorate([
|
42
|
+
(0, typeorm_1.Column)(),
|
43
|
+
__metadata("design:type", Date)
|
44
|
+
], RefreshTokenEntity.prototype, "last_access_datetime", void 0);
|
45
|
+
__decorate([
|
46
|
+
(0, typeorm_1.Column)('json'),
|
47
|
+
__metadata("design:type", Object)
|
48
|
+
], RefreshTokenEntity.prototype, "attributes", void 0);
|
49
|
+
__decorate([
|
50
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.UserEntity),
|
51
|
+
(0, typeorm_1.JoinColumn)({ name: 'user_id' }),
|
52
|
+
__metadata("design:type", user_entity_1.UserEntity)
|
53
|
+
], RefreshTokenEntity.prototype, "user", void 0);
|
54
|
+
__decorate([
|
55
|
+
(0, typeorm_1.ManyToOne)(() => device_token_entity_1.DeviceTokenEntity),
|
56
|
+
(0, typeorm_1.JoinColumn)({ name: 'device_id' }),
|
57
|
+
__metadata("design:type", device_token_entity_1.DeviceTokenEntity)
|
58
|
+
], RefreshTokenEntity.prototype, "device", void 0);
|
59
|
+
exports.RefreshTokenEntity = RefreshTokenEntity = __decorate([
|
60
|
+
(0, typeorm_1.Entity)('sys_refresh_tokens')
|
61
|
+
], RefreshTokenEntity);
|
62
|
+
//# sourceMappingURL=refresh.token.entity.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"refresh.token.entity.js","sourceRoot":"","sources":["../../../src/auth/entities/refresh.token.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA2E;AAC3E,wEAAoE;AACpE,+DAA0D;AAC1D,+CAA2C;AASpC,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,4BAAY;CA8BnD,CAAA;AA9BY,gDAAkB;AAG3B;IAFC,IAAA,mBAAS,EAAC,MAAM,CAAC;IACjB,IAAA,gBAAM,GAAE;;gDACI;AAGb;IADC,IAAA,gBAAM,GAAE;;iDACK;AAGd;IADC,IAAA,gBAAM,GAAE;;mDACO;AAGhB;IADC,IAAA,gBAAM,GAAE;;qDACS;AAGlB;IADC,IAAA,gBAAM,GAAE;8BACU,IAAI;6DAAC;AAGxB;IADC,IAAA,gBAAM,GAAE;8BACa,IAAI;gEAAC;AAEX;IAAf,IAAA,gBAAM,EAAC,MAAM,CAAC;;sDAAiB;AAKhC;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,wBAAU,CAAC;IAC3B,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;8BAC1B,wBAAU;gDAAC;AAIjB;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,uCAAiB,CAAC;IAClC,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;8BAC1B,uCAAiB;kDAAC;6BA7BjB,kBAAkB;IAD9B,IAAA,gBAAM,EAAC,oBAAoB,CAAC;GAChB,kBAAkB,CA8B9B"}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { CommonEntity } from '../../common/libraries/common.entity';
|
2
|
+
import { PermissionEntity } from '../../security/entities/permission.entity';
|
3
|
+
import { RoleEntity } from '../../security/entities/role.entity';
|
4
|
+
import { UserPermissionEntity } from '../../security/entities/user.permission.entity';
|
5
|
+
import { UserRoleEntity } from '../../security/entities/user.role.entity';
|
6
|
+
import { UserGroupMemberEntity } from '../../system/entities/user.group.member.entity';
|
7
|
+
import { UserReferralEntity } from './user.referral.entity';
|
8
|
+
export declare class UserEntity extends CommonEntity {
|
9
|
+
name: string;
|
10
|
+
email: string;
|
11
|
+
password: string;
|
12
|
+
mobile: number;
|
13
|
+
dialing_code: number;
|
14
|
+
attempts: number;
|
15
|
+
image_url: string;
|
16
|
+
mobile_verified_at: Date;
|
17
|
+
email_verified_at: Date;
|
18
|
+
attributes: any;
|
19
|
+
validatePassword(password: string): boolean;
|
20
|
+
user_roles: UserRoleEntity[];
|
21
|
+
user_permissions: UserPermissionEntity[];
|
22
|
+
roles: RoleEntity[];
|
23
|
+
permissions: PermissionEntity[];
|
24
|
+
referrred_users: UserReferralEntity[];
|
25
|
+
referrals: UserReferralEntity[];
|
26
|
+
user_group_members: UserGroupMemberEntity[];
|
27
|
+
}
|
@@ -0,0 +1,116 @@
|
|
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.UserEntity = void 0;
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
14
|
+
const class_validator_1 = require("class-validator");
|
15
|
+
const typeorm_1 = require("typeorm");
|
16
|
+
const common_entity_1 = require("../../common/libraries/common.entity");
|
17
|
+
const hash_1 = require("../../common/libraries/hash");
|
18
|
+
const permission_entity_1 = require("../../security/entities/permission.entity");
|
19
|
+
const role_entity_1 = require("../../security/entities/role.entity");
|
20
|
+
const user_permission_entity_1 = require("../../security/entities/user.permission.entity");
|
21
|
+
const user_role_entity_1 = require("../../security/entities/user.role.entity");
|
22
|
+
const user_group_member_entity_1 = require("../../system/entities/user.group.member.entity");
|
23
|
+
const user_referral_entity_1 = require("./user.referral.entity");
|
24
|
+
let UserEntity = class UserEntity extends common_entity_1.CommonEntity {
|
25
|
+
validatePassword(password) {
|
26
|
+
if (!this.password)
|
27
|
+
return false;
|
28
|
+
return hash_1.Hash.compare(password, this.password);
|
29
|
+
}
|
30
|
+
};
|
31
|
+
exports.UserEntity = UserEntity;
|
32
|
+
__decorate([
|
33
|
+
(0, typeorm_1.Column)(),
|
34
|
+
(0, class_validator_1.IsNotEmpty)(),
|
35
|
+
__metadata("design:type", String)
|
36
|
+
], UserEntity.prototype, "name", void 0);
|
37
|
+
__decorate([
|
38
|
+
(0, typeorm_1.Column)(),
|
39
|
+
(0, class_validator_1.IsEmail)(),
|
40
|
+
__metadata("design:type", String)
|
41
|
+
], UserEntity.prototype, "email", void 0);
|
42
|
+
__decorate([
|
43
|
+
(0, typeorm_1.Column)(),
|
44
|
+
(0, class_transformer_1.Exclude)({ toPlainOnly: true }),
|
45
|
+
__metadata("design:type", String)
|
46
|
+
], UserEntity.prototype, "password", void 0);
|
47
|
+
__decorate([
|
48
|
+
(0, typeorm_1.Column)(),
|
49
|
+
__metadata("design:type", Number)
|
50
|
+
], UserEntity.prototype, "mobile", void 0);
|
51
|
+
__decorate([
|
52
|
+
(0, typeorm_1.Column)(),
|
53
|
+
__metadata("design:type", Number)
|
54
|
+
], UserEntity.prototype, "dialing_code", void 0);
|
55
|
+
__decorate([
|
56
|
+
(0, typeorm_1.Column)(),
|
57
|
+
__metadata("design:type", Number)
|
58
|
+
], UserEntity.prototype, "attempts", void 0);
|
59
|
+
__decorate([
|
60
|
+
(0, typeorm_1.Column)(),
|
61
|
+
__metadata("design:type", String)
|
62
|
+
], UserEntity.prototype, "image_url", void 0);
|
63
|
+
__decorate([
|
64
|
+
(0, typeorm_1.Column)(),
|
65
|
+
__metadata("design:type", Date)
|
66
|
+
], UserEntity.prototype, "mobile_verified_at", void 0);
|
67
|
+
__decorate([
|
68
|
+
(0, typeorm_1.Column)(),
|
69
|
+
__metadata("design:type", Date)
|
70
|
+
], UserEntity.prototype, "email_verified_at", void 0);
|
71
|
+
__decorate([
|
72
|
+
(0, typeorm_1.Column)('json'),
|
73
|
+
__metadata("design:type", Object)
|
74
|
+
], UserEntity.prototype, "attributes", void 0);
|
75
|
+
__decorate([
|
76
|
+
(0, typeorm_1.OneToMany)(() => user_role_entity_1.UserRoleEntity, (user_roles) => user_roles.user),
|
77
|
+
__metadata("design:type", Array)
|
78
|
+
], UserEntity.prototype, "user_roles", void 0);
|
79
|
+
__decorate([
|
80
|
+
(0, typeorm_1.OneToMany)(() => user_permission_entity_1.UserPermissionEntity, (user_permissions) => user_permissions.user),
|
81
|
+
__metadata("design:type", Array)
|
82
|
+
], UserEntity.prototype, "user_permissions", void 0);
|
83
|
+
__decorate([
|
84
|
+
(0, typeorm_1.ManyToMany)(() => role_entity_1.RoleEntity),
|
85
|
+
(0, typeorm_1.JoinTable)({
|
86
|
+
name: 'sys_user_roles',
|
87
|
+
joinColumn: { name: 'user_id' },
|
88
|
+
inverseJoinColumn: { name: 'role_id' },
|
89
|
+
}),
|
90
|
+
__metadata("design:type", Array)
|
91
|
+
], UserEntity.prototype, "roles", void 0);
|
92
|
+
__decorate([
|
93
|
+
(0, typeorm_1.ManyToMany)(() => permission_entity_1.PermissionEntity),
|
94
|
+
(0, typeorm_1.JoinTable)({
|
95
|
+
name: 'sys_user_permissions',
|
96
|
+
joinColumn: { name: 'user_id' },
|
97
|
+
inverseJoinColumn: { name: 'permission_id' },
|
98
|
+
}),
|
99
|
+
__metadata("design:type", Array)
|
100
|
+
], UserEntity.prototype, "permissions", void 0);
|
101
|
+
__decorate([
|
102
|
+
(0, typeorm_1.OneToMany)(() => user_referral_entity_1.UserReferralEntity, (referrred_users) => referrred_users.referred_by),
|
103
|
+
__metadata("design:type", Array)
|
104
|
+
], UserEntity.prototype, "referrred_users", void 0);
|
105
|
+
__decorate([
|
106
|
+
(0, typeorm_1.OneToMany)(() => user_referral_entity_1.UserReferralEntity, (referrals) => referrals.user),
|
107
|
+
__metadata("design:type", Array)
|
108
|
+
], UserEntity.prototype, "referrals", void 0);
|
109
|
+
__decorate([
|
110
|
+
(0, typeorm_1.OneToMany)(() => user_group_member_entity_1.UserGroupMemberEntity, (user_group_members) => user_group_members.user),
|
111
|
+
__metadata("design:type", Array)
|
112
|
+
], UserEntity.prototype, "user_group_members", void 0);
|
113
|
+
exports.UserEntity = UserEntity = __decorate([
|
114
|
+
(0, typeorm_1.Entity)('sys_users')
|
115
|
+
], UserEntity);
|
116
|
+
//# sourceMappingURL=user.entity.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"user.entity.js","sourceRoot":"","sources":["../../../src/auth/entities/user.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA4C;AAC5C,qDAAsD;AACtD,qCAA2E;AAC3E,wEAAoE;AACpE,sDAAmD;AACnD,iFAA6E;AAC7E,qEAAiE;AACjE,2FAAsF;AACtF,+EAA0E;AAC1E,6FAAuF;AACvF,iEAA4D;AAGrD,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,4BAAY;IA0CxC,gBAAgB,CAAC,QAAgB;QAC7B,IAAI,CAAC,IAAI,CAAC,QAAQ;YAAE,OAAO,KAAK,CAAC;QAEjC,OAAO,WAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;IACjD,CAAC;CAiCJ,CAAA;AA/EY,gCAAU;AAGnB;IAFC,IAAA,gBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;wCACA;AAIb;IAFC,IAAA,gBAAM,GAAE;IACR,IAAA,yBAAO,GAAE;;yCACI;AAId;IAFC,IAAA,gBAAM,GAAE;IACR,IAAA,2BAAO,EAAC,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;;4CACd;AAGjB;IADC,IAAA,gBAAM,GAAE;;0CACM;AAGf;IADC,IAAA,gBAAM,GAAE;;gDACY;AAGrB;IADC,IAAA,gBAAM,GAAE;;4CACQ;AAGjB;IADC,IAAA,gBAAM,GAAE;;6CACS;AAGlB;IADC,IAAA,gBAAM,GAAE;8BACW,IAAI;sDAAC;AAGzB;IADC,IAAA,gBAAM,GAAE;8BACU,IAAI;qDAAC;AAGxB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;;8CACC;AAkBhB;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,iCAAc,EAAE,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC;;8CACpC;AAG7B;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6CAAoB,EAAE,CAAC,gBAAgB,EAAE,EAAE,CAAC,gBAAgB,CAAC,IAAI,CAAC;;oDAC1C;AAQzC;IANC,IAAA,oBAAU,EAAC,GAAG,EAAE,CAAC,wBAAU,CAAC;IAC5B,IAAA,mBAAS,EAAC;QACP,IAAI,EAAE,gBAAgB;QACtB,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;QAC/B,iBAAiB,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;KACzC,CAAC;;yCACkB;AAQpB;IANC,IAAA,oBAAU,EAAC,GAAG,EAAE,CAAC,oCAAgB,CAAC;IAClC,IAAA,mBAAS,EAAC;QACP,IAAI,EAAE,sBAAsB;QAC5B,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;QAC/B,iBAAiB,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE;KAC/C,CAAC;;+CAC8B;AAGhC;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,yCAAkB,EAAE,CAAC,eAAe,EAAE,EAAE,CAAC,eAAe,CAAC,WAAW,CAAC;;mDAChD;AAGtC;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,yCAAkB,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC;;6CACnC;AAGhC;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,gDAAqB,EAAE,CAAC,kBAAkB,EAAE,EAAE,CAAC,kBAAkB,CAAC,IAAI,CAAC;;sDAC5C;qBA9EnC,UAAU;IADtB,IAAA,gBAAM,EAAC,WAAW,CAAC;GACP,UAAU,CA+EtB"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { CommonEntity } from '../../common/libraries/common.entity';
|
2
|
+
import { UserEntity } from './user.entity';
|
3
|
+
export declare class UserReferralEntity extends CommonEntity {
|
4
|
+
user_id: number;
|
5
|
+
referred_by_id: number;
|
6
|
+
dynamic_link_url: string;
|
7
|
+
referral_code: string;
|
8
|
+
attributes: any;
|
9
|
+
user: UserEntity;
|
10
|
+
referred_by: UserEntity;
|
11
|
+
}
|
@@ -0,0 +1,52 @@
|
|
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.UserReferralEntity = void 0;
|
13
|
+
const typeorm_1 = require("typeorm");
|
14
|
+
const common_entity_1 = require("../../common/libraries/common.entity");
|
15
|
+
const user_entity_1 = require("./user.entity");
|
16
|
+
let UserReferralEntity = class UserReferralEntity extends common_entity_1.CommonEntity {
|
17
|
+
};
|
18
|
+
exports.UserReferralEntity = UserReferralEntity;
|
19
|
+
__decorate([
|
20
|
+
(0, typeorm_1.Column)(),
|
21
|
+
__metadata("design:type", Number)
|
22
|
+
], UserReferralEntity.prototype, "user_id", void 0);
|
23
|
+
__decorate([
|
24
|
+
(0, typeorm_1.Column)(),
|
25
|
+
__metadata("design:type", Number)
|
26
|
+
], UserReferralEntity.prototype, "referred_by_id", void 0);
|
27
|
+
__decorate([
|
28
|
+
(0, typeorm_1.Column)(),
|
29
|
+
__metadata("design:type", String)
|
30
|
+
], UserReferralEntity.prototype, "dynamic_link_url", void 0);
|
31
|
+
__decorate([
|
32
|
+
(0, typeorm_1.Column)(),
|
33
|
+
__metadata("design:type", String)
|
34
|
+
], UserReferralEntity.prototype, "referral_code", void 0);
|
35
|
+
__decorate([
|
36
|
+
(0, typeorm_1.Column)('json'),
|
37
|
+
__metadata("design:type", Object)
|
38
|
+
], UserReferralEntity.prototype, "attributes", void 0);
|
39
|
+
__decorate([
|
40
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.UserEntity),
|
41
|
+
(0, typeorm_1.JoinColumn)({ name: 'user_id' }),
|
42
|
+
__metadata("design:type", user_entity_1.UserEntity)
|
43
|
+
], UserReferralEntity.prototype, "user", void 0);
|
44
|
+
__decorate([
|
45
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.UserEntity),
|
46
|
+
(0, typeorm_1.JoinColumn)({ name: 'referred_by_id' }),
|
47
|
+
__metadata("design:type", user_entity_1.UserEntity)
|
48
|
+
], UserReferralEntity.prototype, "referred_by", void 0);
|
49
|
+
exports.UserReferralEntity = UserReferralEntity = __decorate([
|
50
|
+
(0, typeorm_1.Entity)('sys_user_referrals')
|
51
|
+
], UserReferralEntity);
|
52
|
+
//# sourceMappingURL=user.referral.entity.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"user.referral.entity.js","sourceRoot":"","sources":["../../../src/auth/entities/user.referral.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,wEAAoE;AACpE,+CAA2C;AASpC,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,4BAAY;CAuBnD,CAAA;AAvBY,gDAAkB;AAE3B;IADC,IAAA,gBAAM,GAAE;;mDACO;AAGhB;IADC,IAAA,gBAAM,GAAE;;0DACc;AAGvB;IADC,IAAA,gBAAM,GAAE;;4DACgB;AAGzB;IADC,IAAA,gBAAM,GAAE;;yDACa;AAEN;IAAf,IAAA,gBAAM,EAAC,MAAM,CAAC;;sDAAiB;AAKhC;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,wBAAU,CAAC;IAC3B,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;8BAC1B,wBAAU;gDAAC;AAIjB;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,wBAAU,CAAC;IAC3B,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,CAAC;8BAC1B,wBAAU;uDAAC;6BAtBf,kBAAkB;IAD9B,IAAA,gBAAM,EAAC,oBAAoB,CAAC;GAChB,kBAAkB,CAuB9B"}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
import { AdminAuthController } from './controllers/admin.auth.controller';
|
2
|
+
import { SocialController } from './controllers/social.controller';
|
3
|
+
import { UserController } from './controllers/user.controller';
|
4
|
+
import { CreateUserDto } from './dtos/create.user.dto';
|
5
|
+
import { OfflineUserDto } from './dtos/offline.user.dto';
|
6
|
+
import { PermissionAssignmentDto } from './dtos/permission.assignment.dto';
|
7
|
+
import { RoleAssignmentDto } from './dtos/role.assignment.dto';
|
8
|
+
import { UpdateUserDto } from './dtos/update.user.dto';
|
9
|
+
import { UserLoginDto } from './dtos/user.login.dto';
|
10
|
+
import { UserRolesAccessObjectDto } from './dtos/user.roles.access.object.dto';
|
11
|
+
import { CountryEntity } from './entities/country.entity';
|
12
|
+
import { CreatorEntity } from './entities/creator.entity';
|
13
|
+
import { DeviceTokenEntity } from './entities/device.token.entity';
|
14
|
+
import { RefreshTokenEntity } from './entities/refresh.token.entity';
|
15
|
+
import { UserReferralEntity } from './entities/user.referral.entity';
|
16
|
+
import { BasicAuthMiddleware } from './middlewares/basic.auth.middleware';
|
17
|
+
import { InternalMiddleware } from './middlewares/internal.middleware';
|
18
|
+
import { JwtMiddleware } from './middlewares/jwt.middleware';
|
19
|
+
import { RestrictedMiddleware } from './middlewares/restricted.middleware';
|
20
|
+
import { AccessManager } from './services/access.manager';
|
21
|
+
import { AuthService } from './services/auth.service';
|
22
|
+
import { DeviceTokenService } from './services/device.token.service';
|
23
|
+
import { Es6Service } from './services/es6.service';
|
24
|
+
import { RefreshTokenService } from './services/refresh.token.service';
|
25
|
+
import { SocialService } from './services/social.service';
|
26
|
+
import { UserService } from './services/user.service';
|
27
|
+
declare const es6Classes: {
|
28
|
+
controllers: (typeof AdminAuthController | typeof SocialController | typeof UserController)[];
|
29
|
+
dtos: (typeof CreateUserDto | typeof OfflineUserDto | typeof PermissionAssignmentDto | typeof RoleAssignmentDto | typeof UpdateUserDto | typeof UserRolesAccessObjectDto | typeof UserLoginDto)[];
|
30
|
+
entities: (typeof CountryEntity | typeof CreatorEntity | typeof DeviceTokenEntity | typeof RefreshTokenEntity | typeof UserReferralEntity)[];
|
31
|
+
middlewares: (typeof JwtMiddleware | typeof BasicAuthMiddleware | typeof RestrictedMiddleware | typeof InternalMiddleware)[];
|
32
|
+
services: (typeof AccessManager | typeof AuthService | typeof DeviceTokenService | typeof Es6Service | typeof RefreshTokenService | typeof SocialService | typeof UserService)[];
|
33
|
+
};
|
34
|
+
export default es6Classes;
|
@@ -0,0 +1,48 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
const admin_auth_controller_1 = require("./controllers/admin.auth.controller");
|
4
|
+
const social_controller_1 = require("./controllers/social.controller");
|
5
|
+
const user_controller_1 = require("./controllers/user.controller");
|
6
|
+
const create_user_dto_1 = require("./dtos/create.user.dto");
|
7
|
+
const offline_user_dto_1 = require("./dtos/offline.user.dto");
|
8
|
+
const permission_assignment_dto_1 = require("./dtos/permission.assignment.dto");
|
9
|
+
const role_assignment_dto_1 = require("./dtos/role.assignment.dto");
|
10
|
+
const update_user_dto_1 = require("./dtos/update.user.dto");
|
11
|
+
const user_access_dto_1 = require("./dtos/user.access.dto");
|
12
|
+
const user_login_dto_1 = require("./dtos/user.login.dto");
|
13
|
+
const user_roles_access_object_dto_1 = require("./dtos/user.roles.access.object.dto");
|
14
|
+
const country_entity_1 = require("./entities/country.entity");
|
15
|
+
const creator_entity_1 = require("./entities/creator.entity");
|
16
|
+
const device_token_entity_1 = require("./entities/device.token.entity");
|
17
|
+
const refresh_token_entity_1 = require("./entities/refresh.token.entity");
|
18
|
+
const user_entity_1 = require("./entities/user.entity");
|
19
|
+
const user_referral_entity_1 = require("./entities/user.referral.entity");
|
20
|
+
const basic_auth_middleware_1 = require("./middlewares/basic.auth.middleware");
|
21
|
+
const internal_middleware_1 = require("./middlewares/internal.middleware");
|
22
|
+
const jwt_middleware_1 = require("./middlewares/jwt.middleware");
|
23
|
+
const restricted_middleware_1 = require("./middlewares/restricted.middleware");
|
24
|
+
const access_manager_1 = require("./services/access.manager");
|
25
|
+
const auth_service_1 = require("./services/auth.service");
|
26
|
+
const device_token_service_1 = require("./services/device.token.service");
|
27
|
+
const es6_service_1 = require("./services/es6.service");
|
28
|
+
const refresh_token_service_1 = require("./services/refresh.token.service");
|
29
|
+
const social_service_1 = require("./services/social.service");
|
30
|
+
const user_service_1 = require("./services/user.service");
|
31
|
+
const es6Classes = {
|
32
|
+
controllers: [admin_auth_controller_1.AdminAuthController, social_controller_1.SocialController, user_controller_1.UserController],
|
33
|
+
dtos: [
|
34
|
+
create_user_dto_1.CreateUserDto,
|
35
|
+
offline_user_dto_1.OfflineUserDto,
|
36
|
+
permission_assignment_dto_1.PermissionAssignmentDto,
|
37
|
+
role_assignment_dto_1.RoleAssignmentDto,
|
38
|
+
update_user_dto_1.UpdateUserDto,
|
39
|
+
user_access_dto_1.UserAccessDto,
|
40
|
+
user_login_dto_1.UserLoginDto,
|
41
|
+
user_roles_access_object_dto_1.UserRolesAccessObjectDto,
|
42
|
+
],
|
43
|
+
entities: [country_entity_1.CountryEntity, creator_entity_1.CreatorEntity, device_token_entity_1.DeviceTokenEntity, refresh_token_entity_1.RefreshTokenEntity, user_entity_1.UserEntity, user_referral_entity_1.UserReferralEntity],
|
44
|
+
middlewares: [basic_auth_middleware_1.BasicAuthMiddleware, internal_middleware_1.InternalMiddleware, jwt_middleware_1.JwtMiddleware, restricted_middleware_1.RestrictedMiddleware],
|
45
|
+
services: [access_manager_1.AccessManager, auth_service_1.AuthService, device_token_service_1.DeviceTokenService, es6_service_1.Es6Service, refresh_token_service_1.RefreshTokenService, social_service_1.SocialService, user_service_1.UserService],
|
46
|
+
};
|
47
|
+
exports.default = es6Classes;
|
48
|
+
//# sourceMappingURL=es6.classes.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"es6.classes.js","sourceRoot":"","sources":["../../src/auth/es6.classes.ts"],"names":[],"mappings":";;AAAA,+EAA0E;AAC1E,uEAAmE;AACnE,mEAA+D;AAC/D,4DAAuD;AACvD,8DAAyD;AACzD,gFAA2E;AAC3E,oEAA+D;AAC/D,4DAAuD;AACvD,4DAAuD;AACvD,0DAAqD;AACrD,sFAA+E;AAC/E,8DAA0D;AAC1D,8DAA0D;AAC1D,wEAAmE;AACnE,0EAAqE;AACrE,wDAAoD;AACpD,0EAAqE;AACrE,+EAA0E;AAC1E,2EAAuE;AACvE,iEAA6D;AAC7D,+EAA2E;AAC3E,8DAA0D;AAC1D,0DAAsD;AACtD,0EAAqE;AACrE,wDAAoD;AACpD,4EAAuE;AACvE,8DAA0D;AAC1D,0DAAsD;AAEtD,MAAM,UAAU,GAAG;IACf,WAAW,EAAE,CAAC,2CAAmB,EAAE,oCAAgB,EAAE,gCAAc,CAAC;IACpE,IAAI,EAAE;QACF,+BAAa;QACb,iCAAc;QACd,mDAAuB;QACvB,uCAAiB;QACjB,+BAAa;QACb,+BAAa;QACb,6BAAY;QACZ,uDAAwB;KAC3B;IACD,QAAQ,EAAE,CAAC,8BAAa,EAAE,8BAAa,EAAE,uCAAiB,EAAE,yCAAkB,EAAE,wBAAU,EAAE,yCAAkB,CAAC;IAC/G,WAAW,EAAE,CAAC,2CAAmB,EAAE,wCAAkB,EAAE,8BAAa,EAAE,4CAAoB,CAAC;IAC3F,QAAQ,EAAE,CAAC,8BAAa,EAAE,0BAAW,EAAE,yCAAkB,EAAE,wBAAU,EAAE,2CAAmB,EAAE,8BAAa,EAAE,0BAAW,CAAC;CAC1H,CAAC;AAEF,kBAAe,UAAU,CAAC"}
|
@@ -0,0 +1,23 @@
|
|
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("./controllers"), exports);
|
18
|
+
__exportStar(require("./dtos"), exports);
|
19
|
+
__exportStar(require("./entities"), exports);
|
20
|
+
__exportStar(require("./middlewares"), exports);
|
21
|
+
__exportStar(require("./services"), exports);
|
22
|
+
__exportStar(require("./auth.module"), exports);
|
23
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/auth/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,yCAAuB;AACvB,6CAA2B;AAC3B,gDAA8B;AAC9B,6CAA2B;AAC3B,gDAA8B"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { NestMiddleware } from '@nestjs/common';
|
2
|
+
import { Request } from 'express';
|
3
|
+
import { AuthService } from '../services/auth.service';
|
4
|
+
import { UserService } from '../services/user.service';
|
5
|
+
export declare class BasicAuthMiddleware implements NestMiddleware {
|
6
|
+
private readonly userService;
|
7
|
+
private readonly authService;
|
8
|
+
constructor(userService: UserService, authService: AuthService);
|
9
|
+
use(req: Request, res: any, next: () => void): Promise<any>;
|
10
|
+
}
|
@@ -0,0 +1,43 @@
|
|
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.BasicAuthMiddleware = void 0;
|
13
|
+
const common_1 = require("@nestjs/common");
|
14
|
+
const auth_1 = require("../../common/libraries/auth");
|
15
|
+
const auth_service_1 = require("../services/auth.service");
|
16
|
+
const user_service_1 = require("../services/user.service");
|
17
|
+
let BasicAuthMiddleware = class BasicAuthMiddleware {
|
18
|
+
constructor(userService, authService) {
|
19
|
+
this.userService = userService;
|
20
|
+
this.authService = authService;
|
21
|
+
}
|
22
|
+
async use(req, res, next) {
|
23
|
+
if (auth_1.Auth.check())
|
24
|
+
return next();
|
25
|
+
if (!req.headers.authorization || req.headers.authorization.indexOf('Basic ') === -1) {
|
26
|
+
return next();
|
27
|
+
}
|
28
|
+
const base64Credentials = req.headers.authorization.split(' ')[1];
|
29
|
+
const credentials = Buffer.from(base64Credentials, 'base64').toString('ascii');
|
30
|
+
const [username, password] = credentials.split(':');
|
31
|
+
const user = await this.userService.validateUser(username, password);
|
32
|
+
if (!user)
|
33
|
+
return next();
|
34
|
+
auth_1.Auth.login(await this.authService.getUserObject(user.id));
|
35
|
+
next();
|
36
|
+
}
|
37
|
+
};
|
38
|
+
exports.BasicAuthMiddleware = BasicAuthMiddleware;
|
39
|
+
exports.BasicAuthMiddleware = BasicAuthMiddleware = __decorate([
|
40
|
+
(0, common_1.Injectable)(),
|
41
|
+
__metadata("design:paramtypes", [user_service_1.UserService, auth_service_1.AuthService])
|
42
|
+
], BasicAuthMiddleware);
|
43
|
+
//# sourceMappingURL=basic.auth.middleware.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"basic.auth.middleware.js","sourceRoot":"","sources":["../../../src/auth/middlewares/basic.auth.middleware.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4D;AAE5D,sDAAmD;AACnD,2DAAuD;AACvD,2DAAuD;AAUhD,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IAM5B,YAA6B,WAAwB,EAAmB,WAAwB;QAAnE,gBAAW,GAAX,WAAW,CAAa;QAAmB,gBAAW,GAAX,WAAW,CAAa;IAAG,CAAC;IAWpG,KAAK,CAAC,GAAG,CAAC,GAAY,EAAE,GAAQ,EAAE,IAAgB;QAE9C,IAAI,WAAI,CAAC,KAAK,EAAE;YAAE,OAAO,IAAI,EAAE,CAAC;QAGhC,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,aAAa,IAAI,GAAG,CAAC,OAAO,CAAC,aAAa,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE;YAClF,OAAO,IAAI,EAAE,CAAC;SACjB;QAGD,MAAM,iBAAiB,GAAG,GAAG,CAAC,OAAO,CAAC,aAAa,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;QAClE,MAAM,WAAW,GAAG,MAAM,CAAC,IAAI,CAAC,iBAAiB,EAAE,QAAQ,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;QAC/E,MAAM,CAAC,QAAQ,EAAE,QAAQ,CAAC,GAAG,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAGpD,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,YAAY,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;QAErE,IAAI,CAAC,IAAI;YAAE,OAAO,IAAI,EAAE,CAAC;QAGzB,WAAI,CAAC,KAAK,CAAC,MAAM,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC;QAE1D,IAAI,EAAE,CAAC;IACX,CAAC;CACJ,CAAA;AAzCY,kDAAmB;8BAAnB,mBAAmB;IAD/B,IAAA,mBAAU,GAAE;qCAOiC,0BAAW,EAAgC,0BAAW;GANvF,mBAAmB,CAyC/B"}
|
@@ -0,0 +1,21 @@
|
|
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("./basic.auth.middleware"), exports);
|
18
|
+
__exportStar(require("./internal.middleware"), exports);
|
19
|
+
__exportStar(require("./jwt.middleware"), exports);
|
20
|
+
__exportStar(require("./restricted.middleware"), exports);
|
21
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/auth/middlewares/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,wDAAsC;AACtC,mDAAiC;AACjC,0DAAwC"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { NestMiddleware } from '@nestjs/common';
|
2
|
+
import { Response } from 'express';
|
3
|
+
import { PropertyService } from '../../system/services/property.service';
|
4
|
+
import { AuthService } from '../services/auth.service';
|
5
|
+
export declare class InternalMiddleware implements NestMiddleware {
|
6
|
+
private readonly authService;
|
7
|
+
private readonly propertyService;
|
8
|
+
constructor(authService: AuthService, propertyService: PropertyService);
|
9
|
+
use(req: any, res: Response, next: Function): Promise<void>;
|
10
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
7
|
+
};
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
10
|
+
};
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
+
exports.InternalMiddleware = void 0;
|
13
|
+
const common_1 = require("@nestjs/common");
|
14
|
+
const access_exception_1 = require("../../common/exceptions/access.exception");
|
15
|
+
const no_logged_user_exception_1 = require("../../common/exceptions/no.logged.user.exception");
|
16
|
+
const operation_exception_1 = require("../../common/exceptions/operation.exception");
|
17
|
+
const auth_1 = require("../../common/libraries/auth");
|
18
|
+
const property_service_1 = require("../../system/services/property.service");
|
19
|
+
const auth_service_1 = require("../services/auth.service");
|
20
|
+
let InternalMiddleware = class InternalMiddleware {
|
21
|
+
constructor(authService, propertyService) {
|
22
|
+
this.authService = authService;
|
23
|
+
this.propertyService = propertyService;
|
24
|
+
}
|
25
|
+
async use(req, res, next) {
|
26
|
+
const credential = req.headers['x-internal-token'];
|
27
|
+
if (!credential)
|
28
|
+
throw new no_logged_user_exception_1.NoLoggedUserException();
|
29
|
+
const key = await this.propertyService.get('internal.server.key');
|
30
|
+
if (!key)
|
31
|
+
throw new operation_exception_1.OperationException('Internal Auth key is not set');
|
32
|
+
if (key !== credential)
|
33
|
+
throw new access_exception_1.AccessException('Invalid credential');
|
34
|
+
const accessObject = await this.authService.getUserObject(2);
|
35
|
+
auth_1.Auth.login(accessObject);
|
36
|
+
next();
|
37
|
+
}
|
38
|
+
};
|
39
|
+
exports.InternalMiddleware = InternalMiddleware;
|
40
|
+
exports.InternalMiddleware = InternalMiddleware = __decorate([
|
41
|
+
(0, common_1.Injectable)(),
|
42
|
+
__metadata("design:paramtypes", [auth_service_1.AuthService, property_service_1.PropertyService])
|
43
|
+
], InternalMiddleware);
|
44
|
+
//# sourceMappingURL=internal.middleware.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"internal.middleware.js","sourceRoot":"","sources":["../../../src/auth/middlewares/internal.middleware.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4D;AAE5D,+EAA2E;AAC3E,+FAAyF;AACzF,qFAAiF;AACjF,sDAAmD;AACnD,6EAAyE;AACzE,2DAAuD;AAShD,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;IAM3B,YAA6B,WAAwB,EAAmB,eAAgC;QAA3E,gBAAW,GAAX,WAAW,CAAa;QAAmB,oBAAe,GAAf,eAAe,CAAiB;IAAG,CAAC;IAa5G,KAAK,CAAC,GAAG,CAAC,GAAQ,EAAE,GAAa,EAAE,IAAc;QAC7C,MAAM,UAAU,GAAG,GAAG,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC;QACnD,IAAI,CAAC,UAAU;YAAE,MAAM,IAAI,gDAAqB,EAAE,CAAC;QAEnD,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAC;QAClE,IAAI,CAAC,GAAG;YAAE,MAAM,IAAI,wCAAkB,CAAC,8BAA8B,CAAC,CAAC;QAEvE,IAAI,GAAG,KAAK,UAAU;YAAE,MAAM,IAAI,kCAAe,CAAC,oBAAoB,CAAC,CAAC;QAExE,MAAM,YAAY,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;QAE7D,WAAI,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;QAEzB,IAAI,EAAE,CAAC;IACX,CAAC;CACJ,CAAA;AAlCY,gDAAkB;6BAAlB,kBAAkB;IAD9B,IAAA,mBAAU,GAAE;qCAOiC,0BAAW,EAAoC,kCAAe;GAN/F,kBAAkB,CAkC9B"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { NestMiddleware } from '@nestjs/common';
|
2
|
+
import { Request, Response } from 'express';
|
3
|
+
import { AuthService } from '../services/auth.service';
|
4
|
+
export declare class JwtMiddleware implements NestMiddleware {
|
5
|
+
private readonly authService;
|
6
|
+
constructor(authService: AuthService);
|
7
|
+
use(req: Request, res: Response, next: Function): Promise<Function>;
|
8
|
+
_getUserOutOfToken(token: string): Promise<any>;
|
9
|
+
}
|