@servicelabsco/nestjs-utility-services 2.0.14 → 3.0.1
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/CHANGELOG.md +120 -1
- package/README.md +8 -1
- package/dist/app.controller.d.ts +6 -4
- package/dist/app.controller.js +22 -5
- package/dist/app.controller.js.map +1 -1
- package/dist/app.module.js +9 -2
- package/dist/app.module.js.map +1 -1
- package/dist/auth/controllers/admin.auth.controller.d.ts +6 -2
- package/dist/auth/controllers/admin.auth.controller.js +32 -18
- package/dist/auth/controllers/admin.auth.controller.js.map +1 -1
- package/dist/auth/controllers/social.controller.d.ts +4 -2
- package/dist/auth/controllers/social.controller.js +18 -8
- package/dist/auth/controllers/social.controller.js.map +1 -1
- package/dist/auth/controllers/user.controller.d.ts +2 -2
- package/dist/auth/controllers/user.controller.js +4 -4
- package/dist/auth/controllers/user.controller.js.map +1 -1
- package/dist/auth/dtos/index.d.ts +1 -0
- package/dist/auth/dtos/index.js +1 -0
- package/dist/auth/dtos/index.js.map +1 -1
- package/dist/auth/dtos/user.attributes.dto.d.ts +5 -0
- package/dist/auth/dtos/user.attributes.dto.js +31 -0
- package/dist/auth/dtos/user.attributes.dto.js.map +1 -0
- package/dist/auth/entities/country.entity.js +1 -1
- package/dist/auth/entities/country.entity.js.map +1 -1
- package/dist/auth/entities/device.token.entity.js +1 -1
- package/dist/auth/entities/device.token.entity.js.map +1 -1
- package/dist/auth/entities/index.d.ts +1 -0
- package/dist/auth/entities/index.js +1 -0
- package/dist/auth/entities/index.js.map +1 -1
- package/dist/auth/entities/refresh.token.entity.d.ts +4 -1
- package/dist/auth/entities/refresh.token.entity.js +14 -2
- package/dist/auth/entities/refresh.token.entity.js.map +1 -1
- package/dist/auth/entities/session.identifier.entity.js +1 -1
- package/dist/auth/entities/session.identifier.entity.js.map +1 -1
- package/dist/auth/entities/social.identity.entity.d.ts +9 -0
- package/dist/{system/entities/system.log.entity.js → auth/entities/social.identity.entity.js} +19 -22
- package/dist/auth/entities/social.identity.entity.js.map +1 -0
- package/dist/auth/entities/user.entity.d.ts +2 -1
- package/dist/auth/entities/user.entity.js +3 -2
- package/dist/auth/entities/user.entity.js.map +1 -1
- package/dist/auth/entities/user.referral.entity.js +1 -1
- package/dist/auth/entities/user.referral.entity.js.map +1 -1
- package/dist/auth/es6.classes.d.ts +5 -3
- package/dist/auth/es6.classes.js +25 -3
- package/dist/auth/es6.classes.js.map +1 -1
- package/dist/auth/index.d.ts +1 -0
- package/dist/auth/index.js +1 -0
- package/dist/auth/index.js.map +1 -1
- package/dist/auth/interfaces/index.d.ts +1 -0
- package/dist/auth/interfaces/index.js +18 -0
- package/dist/auth/interfaces/index.js.map +1 -0
- package/dist/auth/interfaces/verified.social.identity.interface.d.ts +7 -0
- package/dist/auth/interfaces/verified.social.identity.interface.js +3 -0
- package/dist/auth/interfaces/verified.social.identity.interface.js.map +1 -0
- package/dist/auth/middlewares/basic.auth.middleware.js +6 -1
- package/dist/auth/middlewares/basic.auth.middleware.js.map +1 -1
- package/dist/auth/middlewares/internal.middleware.d.ts +2 -0
- package/dist/auth/middlewares/internal.middleware.js +29 -4
- package/dist/auth/middlewares/internal.middleware.js.map +1 -1
- package/dist/auth/middlewares/jwt.middleware.js +7 -2
- package/dist/auth/middlewares/jwt.middleware.js.map +1 -1
- package/dist/auth/services/access.service.d.ts +1 -1
- package/dist/auth/services/access.service.js +41 -33
- package/dist/auth/services/access.service.js.map +1 -1
- package/dist/auth/services/auth.service.d.ts +1 -1
- package/dist/auth/services/auth.service.js +26 -5
- package/dist/auth/services/auth.service.js.map +1 -1
- package/dist/auth/services/device.token.service.d.ts +4 -1
- package/dist/auth/services/device.token.service.js +67 -8
- package/dist/auth/services/device.token.service.js.map +1 -1
- package/dist/auth/services/index.d.ts +1 -0
- package/dist/auth/services/index.js +1 -0
- package/dist/auth/services/index.js.map +1 -1
- package/dist/auth/services/refresh.token.service.d.ts +16 -1
- package/dist/auth/services/refresh.token.service.js +80 -10
- package/dist/auth/services/refresh.token.service.js.map +1 -1
- package/dist/auth/services/social.identity.service.d.ts +5 -0
- package/dist/auth/services/social.identity.service.js +52 -0
- package/dist/auth/services/social.identity.service.js.map +1 -0
- package/dist/auth/services/social.service.d.ts +3 -2
- package/dist/auth/services/social.service.js +51 -19
- package/dist/auth/services/social.service.js.map +1 -1
- package/dist/auth/services/user.service.d.ts +2 -3
- package/dist/auth/services/user.service.js +10 -3
- package/dist/auth/services/user.service.js.map +1 -1
- package/dist/auth/subscribers/session.identifier.subscriber.d.ts +2 -2
- package/dist/auth/subscribers/session.identifier.subscriber.js +2 -2
- package/dist/auth/subscribers/session.identifier.subscriber.js.map +1 -1
- package/dist/common/constants/index.d.ts +2 -0
- package/dist/common/constants/index.js +19 -0
- package/dist/common/constants/index.js.map +1 -0
- package/dist/common/constants/role.constants.d.ts +5 -0
- package/dist/common/constants/role.constants.js +9 -0
- package/dist/common/constants/role.constants.js.map +1 -0
- package/dist/common/constants/user.constants.d.ts +4 -0
- package/dist/common/constants/user.constants.js +8 -0
- package/dist/common/constants/user.constants.js.map +1 -0
- package/dist/common/decorators/index.d.ts +1 -0
- package/dist/common/decorators/index.js +18 -0
- package/dist/common/decorators/index.js.map +1 -0
- package/dist/common/decorators/public.exposed.decorator.d.ts +6 -0
- package/dist/common/decorators/public.exposed.decorator.js +23 -0
- package/dist/common/decorators/public.exposed.decorator.js.map +1 -0
- package/dist/common/dtos/capture.record.index.dto.d.ts +1 -1
- package/dist/common/dtos/capture.record.index.dto.js.map +1 -1
- package/dist/common/dtos/database.event.dto.d.ts +1 -1
- package/dist/common/dtos/generic.index.param.dto.d.ts +1 -1
- package/dist/common/dtos/record.data.manager.dto.d.ts +1 -1
- package/dist/common/dtos/record.tab.dto.d.ts +3 -3
- package/dist/common/dtos/report.body.dto.d.ts +1 -1
- package/dist/common/dtos/report.data.manager.dto.d.ts +1 -1
- package/dist/common/es6.classes.d.ts +20 -3
- package/dist/common/es6.classes.js +15 -0
- package/dist/common/es6.classes.js.map +1 -1
- package/dist/common/index.d.ts +2 -0
- package/dist/common/index.js +2 -0
- package/dist/common/index.js.map +1 -1
- package/dist/common/libraries/auth.d.ts +5 -3
- package/dist/common/libraries/auth.js +14 -4
- package/dist/common/libraries/auth.js.map +1 -1
- package/dist/common/libraries/base.migration.utility.d.ts +3 -0
- package/dist/common/libraries/base.migration.utility.js +17 -3
- package/dist/common/libraries/base.migration.utility.js.map +1 -1
- package/dist/common/libraries/cached.property.d.ts +12 -0
- package/dist/common/libraries/cached.property.js +50 -0
- package/dist/common/libraries/cached.property.js.map +1 -0
- package/dist/common/libraries/common.entity.d.ts +2 -2
- package/dist/common/libraries/common.entity.js +79 -20
- package/dist/common/libraries/common.entity.js.map +1 -1
- package/dist/common/libraries/common.job.d.ts +3 -11
- package/dist/common/libraries/common.job.js +7 -38
- package/dist/common/libraries/common.job.js.map +1 -1
- package/dist/common/libraries/common.mapper.job.d.ts +1 -1
- package/dist/common/libraries/common.mapper.job.js.map +1 -1
- package/dist/common/libraries/common.subscriber.d.ts +10 -2
- package/dist/common/libraries/common.subscriber.js +81 -9
- package/dist/common/libraries/common.subscriber.js.map +1 -1
- package/dist/common/libraries/custom.crypt.d.ts +16 -3
- package/dist/common/libraries/custom.crypt.js +104 -21
- package/dist/common/libraries/custom.crypt.js.map +1 -1
- package/dist/common/libraries/data.manager.d.ts +3 -1
- package/dist/common/libraries/data.manager.js +9 -13
- package/dist/common/libraries/data.manager.js.map +1 -1
- package/dist/common/libraries/database.event.evaluator.js +3 -4
- package/dist/common/libraries/database.event.evaluator.js.map +1 -1
- package/dist/common/libraries/date.util.d.ts +2 -1
- package/dist/common/libraries/date.util.js +8 -4
- package/dist/common/libraries/date.util.js.map +1 -1
- package/dist/common/libraries/decimal.column.transformer.d.ts +6 -0
- package/dist/common/libraries/decimal.column.transformer.js +18 -0
- package/dist/common/libraries/decimal.column.transformer.js.map +1 -0
- package/dist/common/libraries/entity.evaluator.js +12 -17
- package/dist/common/libraries/entity.evaluator.js.map +1 -1
- package/dist/common/libraries/generic.index.parser.d.ts +1 -1
- package/dist/common/libraries/generic.index.parser.js +15 -5
- package/dist/common/libraries/generic.index.parser.js.map +1 -1
- package/dist/common/libraries/hash.d.ts +1 -1
- package/dist/common/libraries/hash.js +13 -2
- package/dist/common/libraries/hash.js.map +1 -1
- package/dist/common/libraries/index.d.ts +5 -0
- package/dist/common/libraries/index.js +5 -0
- package/dist/common/libraries/index.js.map +1 -1
- package/dist/common/libraries/json.evaluator.d.ts +1 -0
- package/dist/common/libraries/json.evaluator.js +23 -2
- package/dist/common/libraries/json.evaluator.js.map +1 -1
- package/dist/common/libraries/list.manager.d.ts +0 -1
- package/dist/common/libraries/list.manager.js +9 -3
- package/dist/common/libraries/list.manager.js.map +1 -1
- package/dist/common/libraries/log.redactor.d.ts +11 -0
- package/dist/common/libraries/log.redactor.js +72 -0
- package/dist/common/libraries/log.redactor.js.map +1 -0
- package/dist/common/libraries/money.d.ts +29 -0
- package/dist/common/libraries/money.js +87 -0
- package/dist/common/libraries/money.js.map +1 -0
- package/dist/common/libraries/platform.utility.d.ts +6 -2
- package/dist/common/libraries/platform.utility.js +48 -23
- package/dist/common/libraries/platform.utility.js.map +1 -1
- package/dist/common/libraries/record.manager.d.ts +1 -1
- package/dist/common/libraries/record.manager.js +29 -9
- package/dist/common/libraries/record.manager.js.map +1 -1
- package/dist/common/libraries/report.data.manager.d.ts +4 -2
- package/dist/common/libraries/report.data.manager.js +9 -10
- package/dist/common/libraries/report.data.manager.js.map +1 -1
- package/dist/common/libraries/report.list.manager.d.ts +1 -1
- package/dist/common/libraries/report.list.manager.js +24 -5
- package/dist/common/libraries/report.list.manager.js.map +1 -1
- package/dist/common/libraries/seeder.utility.js +0 -1
- package/dist/common/libraries/seeder.utility.js.map +1 -1
- package/dist/common/libraries/subscriber.registry.d.ts +9 -0
- package/dist/common/libraries/subscriber.registry.js +31 -0
- package/dist/common/libraries/subscriber.registry.js.map +1 -0
- package/dist/config/cors.config.js +7 -0
- package/dist/config/cors.config.js.map +1 -1
- package/dist/config/entity.constants.d.ts +2 -4
- package/dist/config/entity.constants.js +2 -4
- package/dist/config/entity.constants.js.map +1 -1
- package/dist/config/jwt.config.js +13 -1
- package/dist/config/jwt.config.js.map +1 -1
- package/dist/config/mongo.config.js +1 -1
- package/dist/config/mongo.config.js.map +1 -1
- package/dist/config/platform.constants.d.ts +1 -0
- package/dist/config/platform.constants.js +1 -0
- package/dist/config/platform.constants.js.map +1 -1
- package/dist/config/rate.limiter.config.js +1 -1
- package/dist/config/rate.limiter.config.js.map +1 -1
- package/dist/config/read.typeorm.config.js +3 -1
- package/dist/config/read.typeorm.config.js.map +1 -1
- package/dist/config/sentry.config.d.ts +1 -6
- package/dist/config/sentry.config.js +2 -6
- package/dist/config/sentry.config.js.map +1 -1
- package/dist/config/sentry.options.d.ts +6 -0
- package/dist/config/sentry.options.js +85 -0
- package/dist/config/sentry.options.js.map +1 -0
- package/dist/config/typeorm.config.js +3 -1
- package/dist/config/typeorm.config.js.map +1 -1
- package/dist/health.check.controller.d.ts +2 -0
- package/dist/health.check.controller.js +41 -23
- package/dist/health.check.controller.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/instrument.d.ts +1 -0
- package/dist/instrument.js +5 -0
- package/dist/instrument.js.map +1 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.js +3 -9
- package/dist/main.js.map +1 -1
- package/dist/migrations/{1580011348975-SysUsersTable.ts.js → 1580011348975-SysUsersTable.js} +1 -1
- package/dist/migrations/1580011348975-SysUsersTable.js.map +1 -0
- package/dist/migrations/{1580012157523-SysRolesTable.ts.js → 1580012157523-SysRolesTable.js} +1 -1
- package/dist/migrations/1580012157523-SysRolesTable.js.map +1 -0
- package/dist/migrations/{1580012268960-SysPermissionsTable.ts.js → 1580012268960-SysPermissionsTable.js} +1 -1
- package/dist/migrations/1580012268960-SysPermissionsTable.js.map +1 -0
- package/dist/migrations/{1580012428385-SysPropertiesTable.ts.js → 1580012428385-SysPropertiesTable.js} +1 -1
- package/dist/migrations/1580012428385-SysPropertiesTable.js.map +1 -0
- package/dist/migrations/{1580012617487-SysOpenPropertiesTable.ts.js → 1580012617487-SysOpenPropertiesTable.js} +1 -1
- package/dist/migrations/1580012617487-SysOpenPropertiesTable.js.map +1 -0
- package/dist/migrations/{1580012802170-SysLookupTypesTable.ts.js → 1580012802170-SysLookupTypesTable.js} +1 -1
- package/dist/migrations/1580012802170-SysLookupTypesTable.js.map +1 -0
- package/dist/migrations/{1580012876576-SysLookupValuesTable.ts.js → 1580012876576-SysLookupValuesTable.js} +1 -1
- package/dist/migrations/1580012876576-SysLookupValuesTable.js.map +1 -0
- package/dist/migrations/{1580013243446-SysSystemScriptsTable.ts.js → 1580013243446-SysSystemScriptsTable.js} +1 -1
- package/dist/migrations/1580013243446-SysSystemScriptsTable.js.map +1 -0
- package/dist/migrations/{1580013426935-SysUserGroupsTable.ts.js → 1580013426935-SysUserGroupsTable.js} +1 -1
- package/dist/migrations/1580013426935-SysUserGroupsTable.js.map +1 -0
- package/dist/migrations/{1580013438750-SysUserGroupMembersTable.ts.js → 1580013438750-SysUserGroupMembersTable.js} +1 -1
- package/dist/migrations/1580013438750-SysUserGroupMembersTable.js.map +1 -0
- package/dist/migrations/{1580013583515-SysColumnDefinitionsTable.ts.js → 1580013583515-SysColumnDefinitionsTable.js} +1 -1
- package/dist/migrations/1580013583515-SysColumnDefinitionsTable.js.map +1 -0
- package/dist/migrations/{1580013737722-SysModelDetailsTable.ts.js → 1580013737722-SysModelDetailsTable.js} +1 -1
- package/dist/migrations/1580013737722-SysModelDetailsTable.js.map +1 -0
- package/dist/migrations/{1580032909794-SysColumnDetailsTable.ts.js → 1580032909794-SysColumnDetailsTable.js} +1 -1
- package/dist/migrations/1580032909794-SysColumnDetailsTable.js.map +1 -0
- package/dist/migrations/{1580033076554-SysModelColumnsTable.ts.js → 1580033076554-SysModelColumnsTable.js} +1 -1
- package/dist/migrations/1580033076554-SysModelColumnsTable.js.map +1 -0
- package/dist/migrations/{1580033241460-SysModelRelationshipsTable.ts.js → 1580033241460-SysModelRelationshipsTable.js} +1 -1
- package/dist/migrations/1580033241460-SysModelRelationshipsTable.js.map +1 -0
- package/dist/migrations/{1580033439057-SysPageDefinitionsTable.ts.js → 1580033439057-SysPageDefinitionsTable.js} +1 -1
- package/dist/migrations/1580033439057-SysPageDefinitionsTable.js.map +1 -0
- package/dist/migrations/{1580033536134-SysModuleDetailsTable.ts.js → 1580033536134-SysModuleDetailsTable.js} +1 -1
- package/dist/migrations/1580033536134-SysModuleDetailsTable.js.map +1 -0
- package/dist/migrations/{1580033654069-SysMenuDetailsTable.ts.js → 1580033654069-SysMenuDetailsTable.js} +1 -1
- package/dist/migrations/1580033654069-SysMenuDetailsTable.js.map +1 -0
- package/dist/migrations/{1580034121887-SysModuleMenusTable.ts.js → 1580034121887-SysModuleMenusTable.js} +1 -1
- package/dist/migrations/1580034121887-SysModuleMenusTable.js.map +1 -0
- package/dist/migrations/{1580034434762-SysParentMenusTable.ts.js → 1580034434762-SysParentMenusTable.js} +1 -1
- package/dist/migrations/1580034434762-SysParentMenusTable.js.map +1 -0
- package/dist/migrations/{1580034626349-SysUserPreferencesTable.ts.js → 1580034626349-SysUserPreferencesTable.js} +1 -1
- package/dist/migrations/1580034626349-SysUserPreferencesTable.js.map +1 -0
- package/dist/migrations/{1580034717318-SysFormDetailsTable.ts.js → 1580034717318-SysFormDetailsTable.js} +1 -1
- package/dist/migrations/1580034717318-SysFormDetailsTable.js.map +1 -0
- package/dist/migrations/{1580034866284-SysFormColumnsTable.ts.js → 1580034866284-SysFormColumnsTable.js} +1 -1
- package/dist/migrations/1580034866284-SysFormColumnsTable.js.map +1 -0
- package/dist/migrations/{1580034927543-SysBusinessRulesTable.ts.js → 1580034927543-SysBusinessRulesTable.js} +1 -1
- package/dist/migrations/1580034927543-SysBusinessRulesTable.js.map +1 -0
- package/dist/migrations/{1580035169090-SysFormPreferencesTable.ts.js → 1580035169090-SysFormPreferencesTable.js} +1 -1
- package/dist/migrations/1580035169090-SysFormPreferencesTable.js.map +1 -0
- package/dist/migrations/{1580035241990-SysListPreferencesTable.ts.js → 1580035241990-SysListPreferencesTable.js} +1 -1
- package/dist/migrations/1580035241990-SysListPreferencesTable.js.map +1 -0
- package/dist/migrations/{1580035351803-SysSecurityRulesTable.ts.js → 1580035351803-SysSecurityRulesTable.js} +1 -1
- package/dist/migrations/1580035351803-SysSecurityRulesTable.js.map +1 -0
- package/dist/migrations/{1580035532119-SysUiActionsTable.ts.js → 1580035532119-SysUiActionsTable.js} +1 -1
- package/dist/migrations/1580035532119-SysUiActionsTable.js.map +1 -0
- package/dist/migrations/{1580035823624-SysDeviceTokensTable.ts.js → 1580035823624-SysDeviceTokensTable.js} +1 -1
- package/dist/migrations/1580035823624-SysDeviceTokensTable.js.map +1 -0
- package/dist/migrations/{1580036042576-SysCountriesTable.ts.js → 1580036042576-SysCountriesTable.js} +1 -1
- package/dist/migrations/1580036042576-SysCountriesTable.js.map +1 -0
- package/dist/migrations/{1580036055684-SysRefreshTokensTable.ts.js → 1580036055684-SysRefreshTokensTable.js} +1 -1
- package/dist/migrations/1580036055684-SysRefreshTokensTable.js.map +1 -0
- package/dist/migrations/{1580036754269-SysUserRolesTable.ts.js → 1580036754269-SysUserRolesTable.js} +1 -1
- package/dist/migrations/1580036754269-SysUserRolesTable.js.map +1 -0
- package/dist/migrations/{1580036787378-SysMenuRolesTable.ts.js → 1580036787378-SysMenuRolesTable.js} +1 -1
- package/dist/migrations/1580036787378-SysMenuRolesTable.js.map +1 -0
- package/dist/migrations/{1580036809003-SysModelRolesTable.ts.js → 1580036809003-SysModelRolesTable.js} +1 -1
- package/dist/migrations/1580036809003-SysModelRolesTable.js.map +1 -0
- package/dist/migrations/{1580037052174-SysUiActionRolesTable.ts.js → 1580037052174-SysUiActionRolesTable.js} +1 -1
- package/dist/migrations/1580037052174-SysUiActionRolesTable.js.map +1 -0
- package/dist/migrations/{1580037081670-SysUserGroupRolesTable.ts.js → 1580037081670-SysUserGroupRolesTable.js} +1 -1
- package/dist/migrations/1580037081670-SysUserGroupRolesTable.js.map +1 -0
- package/dist/migrations/{1580037119302-SysUserPermissionsTable.ts.js → 1580037119302-SysUserPermissionsTable.js} +1 -1
- package/dist/migrations/1580037119302-SysUserPermissionsTable.js.map +1 -0
- package/dist/migrations/{1599034575440-AddTimezoneOffsetSysCountriesTable.ts.js → 1599034575440-AddTimezoneOffsetSysCountriesTable.js} +1 -1
- package/dist/migrations/1599034575440-AddTimezoneOffsetSysCountriesTable.js.map +1 -0
- package/dist/migrations/1599567001962-AddUserSequence.js +1 -1
- package/dist/migrations/1599567001962-AddUserSequence.js.map +1 -1
- package/dist/migrations/{1606282995979-ActiveColumnSysDeviceTokensTable.ts.js → 1606282995979-ActiveColumnSysDeviceTokensTable.js} +1 -1
- package/dist/migrations/1606282995979-ActiveColumnSysDeviceTokensTable.js.map +1 -0
- package/dist/migrations/{1609583413782-SystemGeneratedSysCommentsTable.ts.js → 1609583413782-SystemGeneratedSysCommentsTable.js} +1 -1
- package/dist/migrations/1609583413782-SystemGeneratedSysCommentsTable.js.map +1 -0
- package/dist/migrations/{1610226459497-AddIndexOnTokenSysDeviceTokensTable.ts.js → 1610226459497-AddIndexOnTokenSysDeviceTokensTable.js} +1 -1
- package/dist/migrations/1610226459497-AddIndexOnTokenSysDeviceTokensTable.js.map +1 -0
- package/dist/migrations/{1615622117306-DeleteValueColumnSysUserPreferencesTable.ts.js → 1615622117306-DeleteValueColumnSysUserPreferencesTable.js} +1 -1
- package/dist/migrations/1615622117306-DeleteValueColumnSysUserPreferencesTable.js.map +1 -0
- package/dist/migrations/{1615622742904-AddValueJsonColumnSysUserPreferencesTable.ts.js → 1615622742904-AddValueJsonColumnSysUserPreferencesTable.js} +1 -1
- package/dist/migrations/1615622742904-AddValueJsonColumnSysUserPreferencesTable.js.map +1 -0
- package/dist/migrations/{1615661067542-RemoveColumnDefinitionColumnSysListPreferencesTable.ts.js → 1615661067542-RemoveColumnDefinitionColumnSysListPreferencesTable.js} +1 -1
- package/dist/migrations/1615661067542-RemoveColumnDefinitionColumnSysListPreferencesTable.js.map +1 -0
- package/dist/migrations/{1615661131556-AddColumnDefinitionJsonColumnSysListPreferencesTable.ts.js → 1615661131556-AddColumnDefinitionJsonColumnSysListPreferencesTable.js} +1 -1
- package/dist/migrations/1615661131556-AddColumnDefinitionJsonColumnSysListPreferencesTable.js.map +1 -0
- package/dist/migrations/{1615743889725-RemoveColumnDefinitionColumnSysFormPreferencesTable.ts.js → 1615743889725-RemoveColumnDefinitionColumnSysFormPreferencesTable.js} +1 -1
- package/dist/migrations/1615743889725-RemoveColumnDefinitionColumnSysFormPreferencesTable.js.map +1 -0
- package/dist/migrations/{1615743931363-AddColumnDefinitionColumnSysFormPreferencesTable.ts.js → 1615743931363-AddColumnDefinitionColumnSysFormPreferencesTable.js} +1 -1
- package/dist/migrations/1615743931363-AddColumnDefinitionColumnSysFormPreferencesTable.js.map +1 -0
- package/dist/migrations/{1616255314846-RenameRouteColumnSysMenuDetailsTable.ts.js → 1616255314846-RenameRouteColumnSysMenuDetailsTable.js} +1 -1
- package/dist/migrations/1616255314846-RenameRouteColumnSysMenuDetailsTable.js.map +1 -0
- package/dist/migrations/{1616257589431-RenameRouteColumnSysModelDetailsTable.ts.js → 1616257589431-RenameRouteColumnSysModelDetailsTable.js} +1 -1
- package/dist/migrations/1616257589431-RenameRouteColumnSysModelDetailsTable.js.map +1 -0
- package/dist/migrations/{1616329406291-AddIncludesColumnSysMenuDetailsTable.ts.js → 1616329406291-AddIncludesColumnSysMenuDetailsTable.js} +1 -1
- package/dist/migrations/1616329406291-AddIncludesColumnSysMenuDetailsTable.js.map +1 -0
- package/dist/migrations/{1616738455290-AddNameColumnSysReportParamsTable.ts.js → 1616738455290-AddNameColumnSysReportParamsTable.js} +1 -1
- package/dist/migrations/1616738455290-AddNameColumnSysReportParamsTable.js.map +1 -0
- package/dist/migrations/{1616749370769-AddSourceColumnsSysRelationshipDetailsTable.ts.js → 1616749370769-AddSourceColumnsSysRelationshipDetailsTable.js} +1 -1
- package/dist/migrations/1616749370769-AddSourceColumnsSysRelationshipDetailsTable.js.map +1 -0
- package/dist/migrations/{1616750113885-CreateTableSysModelRelationshipsTable.ts.js → 1616750113885-CreateTableSysModelRelationshipsTable.js} +1 -1
- package/dist/migrations/1616750113885-CreateTableSysModelRelationshipsTable.js.map +1 -0
- package/dist/migrations/{1617433544860-AddRouteColumnIncludesSysReportDetailsTable.ts.js → 1617433544860-AddRouteColumnIncludesSysReportDetailsTable.js} +1 -1
- package/dist/migrations/1617433544860-AddRouteColumnIncludesSysReportDetailsTable.js.map +1 -0
- package/dist/migrations/{1619186436996-AddRouteIdentifierColumnSysModelDetailsTable.ts.js → 1619186436996-AddRouteIdentifierColumnSysModelDetailsTable.js} +1 -1
- package/dist/migrations/1619186436996-AddRouteIdentifierColumnSysModelDetailsTable.js.map +1 -0
- package/dist/migrations/1619193418460-AddDefaultUserDataSeederTable.js +4 -4
- package/dist/migrations/1619193418460-AddDefaultUserDataSeederTable.js.map +1 -1
- package/dist/migrations/{1619555997151-AddSourceColumnsSysUserRolesTable.ts.js → 1619555997151-AddSourceColumnsSysUserRolesTable.js} +1 -1
- package/dist/migrations/1619555997151-AddSourceColumnsSysUserRolesTable.js.map +1 -0
- package/dist/migrations/{1619556025823-AddSourceColumnsSysUserPermissionsTable.ts.js → 1619556025823-AddSourceColumnsSysUserPermissionsTable.js} +1 -1
- package/dist/migrations/1619556025823-AddSourceColumnsSysUserPermissionsTable.js.map +1 -0
- package/dist/migrations/{1633602353156-AddWhatsAppNumberSysCountriesTable.ts.js → 1633602353156-AddWhatsAppNumberSysCountriesTable.js} +1 -1
- package/dist/migrations/1633602353156-AddWhatsAppNumberSysCountriesTable.js.map +1 -0
- package/dist/migrations/{1645886071349-AddSubjectSysEmailTemplatesTable.ts.js → 1645886071349-AddSubjectSysEmailTemplatesTable.js} +1 -1
- package/dist/migrations/1645886071349-AddSubjectSysEmailTemplatesTable.js.map +1 -0
- package/dist/migrations/{1652332064735-AddOrdinalPositionSysColumnDetailsTable.ts.js → 1652332064735-AddOrdinalPositionSysColumnDetailsTable.js} +1 -1
- package/dist/migrations/1652332064735-AddOrdinalPositionSysColumnDetailsTable.js.map +1 -0
- package/dist/migrations/{1662188562840-AddAttemptsSysUsersTable.ts.js → 1662188562840-AddAttemptsSysUsersTable.js} +1 -1
- package/dist/migrations/1662188562840-AddAttemptsSysUsersTable.js.map +1 -0
- package/dist/migrations/{1675176639864-AddReportFilterTableSysReportFiltersTable.ts.js → 1675176639864-AddReportFilterTableSysReportFiltersTable.js} +1 -1
- package/dist/migrations/1675176639864-AddReportFilterTableSysReportFiltersTable.js.map +1 -0
- package/dist/migrations/{1675876187420-AddIsEncryptedSysPropertiesTable.ts.js → 1675876187420-AddIsEncryptedSysPropertiesTable.js} +1 -1
- package/dist/migrations/1675876187420-AddIsEncryptedSysPropertiesTable.js.map +1 -0
- package/dist/migrations/{1679473705431-RemoveModelSysRelationshipDetailsTable.ts.js → 1679473705431-RemoveModelSysRelationshipDetailsTable.js} +1 -1
- package/dist/migrations/1679473705431-RemoveModelSysRelationshipDetailsTable.js.map +1 -0
- package/dist/migrations/{1684649589572-AddTypeSysCommentsTable.ts.js → 1684649589572-AddTypeSysCommentsTable.js} +1 -1
- package/dist/migrations/1684649589572-AddTypeSysCommentsTable.js.map +1 -0
- package/dist/migrations/{1692726438006-AddColumnTypeSysReportFiltersTable.ts.js → 1692726438006-AddColumnTypeSysReportFiltersTable.js} +1 -1
- package/dist/migrations/1692726438006-AddColumnTypeSysReportFiltersTable.js.map +1 -0
- package/dist/migrations/{1698026335959-AddActiveSysSmsTemplatesTable.ts.js → 1698026335959-AddActiveSysSmsTemplatesTable.js} +1 -1
- package/dist/migrations/1698026335959-AddActiveSysSmsTemplatesTable.js.map +1 -0
- package/dist/migrations/{1700393526749-AddBodySysMailLogsTable.ts.js → 1700393526749-AddBodySysMailLogsTable.js} +1 -1
- package/dist/migrations/1700393526749-AddBodySysMailLogsTable.js.map +1 -0
- package/dist/migrations/{1700401846961-RemoveToColumnSysMailLogsTable.ts.js → 1700401846961-RemoveToColumnSysMailLogsTable.js} +1 -1
- package/dist/migrations/1700401846961-RemoveToColumnSysMailLogsTable.js.map +1 -0
- package/dist/migrations/{1732962774052-AddJsonDataSysScheduledEventsTable.ts.js → 1732962774052-AddJsonDataSysScheduledEventsTable.js} +1 -1
- package/dist/migrations/1732962774052-AddJsonDataSysScheduledEventsTable.js.map +1 -0
- package/dist/migrations/{1732962856845-AddJsonPayloadSysEventQueuesTable.ts.js → 1732962856845-AddJsonPayloadSysEventQueuesTable.js} +1 -1
- package/dist/migrations/1732962856845-AddJsonPayloadSysEventQueuesTable.js.map +1 -0
- package/dist/migrations/{1735153438257-AddTimingSysCodefixScriptsTable.ts.js → 1735153438257-AddTimingSysCodefixScriptsTable.js} +1 -1
- package/dist/migrations/1735153438257-AddTimingSysCodefixScriptsTable.js.map +1 -0
- package/dist/migrations/{1735154396259-AddQuerySysRecurringQueriesTable.ts.js → 1735154396259-AddQuerySysRecurringQueriesTable.js} +1 -1
- package/dist/migrations/1735154396259-AddQuerySysRecurringQueriesTable.js.map +1 -0
- package/dist/migrations/{1735882485286-AddLastRunTimeSysCodefixScriptsTable.ts.js → 1735882485286-AddLastRunTimeSysCodefixScriptsTable.js} +1 -1
- package/dist/migrations/1735882485286-AddLastRunTimeSysCodefixScriptsTable.js.map +1 -0
- package/dist/migrations/{1735882522813-AddLastRunTimeSysRecurringQueriesTable.ts.js → 1735882522813-AddLastRunTimeSysRecurringQueriesTable.js} +1 -1
- package/dist/migrations/1735882522813-AddLastRunTimeSysRecurringQueriesTable.js.map +1 -0
- package/dist/migrations/{1739166543991-AddJobIdentifierSysPendingBullJobsTable.ts.js → 1739166543991-AddJobIdentifierSysPendingBullJobsTable.js} +1 -1
- package/dist/migrations/1739166543991-AddJobIdentifierSysPendingBullJobsTable.js.map +1 -0
- package/dist/migrations/{1739166586058-AddJobIdentifierSysFailedBullJobsTable.ts.js → 1739166586058-AddJobIdentifierSysFailedBullJobsTable.js} +1 -1
- package/dist/migrations/1739166586058-AddJobIdentifierSysFailedBullJobsTable.js.map +1 -0
- package/dist/migrations/{1742242110370-AddIsDownloadableSysReportDetailsTable.ts.js → 1742242110370-AddIsDownloadableSysReportDetailsTable.js} +1 -1
- package/dist/migrations/1742242110370-AddIsDownloadableSysReportDetailsTable.js.map +1 -0
- package/dist/migrations/{1762178107733-AddDataSysEventLogsTable.ts.js → 1762178107733-AddDataSysEventLogsTable.js} +1 -1
- package/dist/migrations/1762178107733-AddDataSysEventLogsTable.js.map +1 -0
- package/dist/migrations/{1770625065996-AddIdentifierSysDocumentsTable.ts.js → 1770625065996-AddIdentifierSysDocumentsTable.js} +1 -1
- package/dist/migrations/1770625065996-AddIdentifierSysDocumentsTable.js.map +1 -0
- package/dist/migrations/{1773949393819-AddFileHashSysDocumentsTable.ts.js → 1773949393819-AddFileHashSysDocumentsTable.js} +1 -1
- package/dist/migrations/1773949393819-AddFileHashSysDocumentsTable.js.map +1 -0
- package/dist/migrations/1779607111923-AddUniqueIndexSysPropertiesName.d.ts +7 -0
- package/dist/migrations/1779607111923-AddUniqueIndexSysPropertiesName.js +34 -0
- package/dist/migrations/1779607111923-AddUniqueIndexSysPropertiesName.js.map +1 -0
- package/dist/migrations/1779607111924-AddUniqueIndexSysDocumentsFileHash.d.ts +7 -0
- package/dist/migrations/1779607111924-AddUniqueIndexSysDocumentsFileHash.js +39 -0
- package/dist/migrations/1779607111924-AddUniqueIndexSysDocumentsFileHash.js.map +1 -0
- package/dist/migrations/1779685411636-RemoveSysEventLogsTable.d.ts +5 -0
- package/dist/migrations/1779685411636-RemoveSysEventLogsTable.js +23 -0
- package/dist/migrations/1779685411636-RemoveSysEventLogsTable.js.map +1 -0
- package/dist/migrations/1779685411637-RemoveSysSystemLogsTable.d.ts +5 -0
- package/dist/migrations/1779685411637-RemoveSysSystemLogsTable.js +21 -0
- package/dist/migrations/1779685411637-RemoveSysSystemLogsTable.js.map +1 -0
- package/dist/migrations/1779690834611-ReplaceDefaultUserSeedPii.d.ts +5 -0
- package/dist/migrations/1779690834611-ReplaceDefaultUserSeedPii.js +21 -0
- package/dist/migrations/1779690834611-ReplaceDefaultUserSeedPii.js.map +1 -0
- package/dist/migrations/1779690904231-FixSysColumnDetailsRequiredNullable.d.ts +5 -0
- package/dist/migrations/1779690904231-FixSysColumnDetailsRequiredNullable.js +19 -0
- package/dist/migrations/1779690904231-FixSysColumnDetailsRequiredNullable.js.map +1 -0
- package/dist/migrations/1779690975270-AddUniqueIndexSysSessionIdentifiers.d.ts +6 -0
- package/dist/migrations/1779690975270-AddUniqueIndexSysSessionIdentifiers.js +34 -0
- package/dist/migrations/1779690975270-AddUniqueIndexSysSessionIdentifiers.js.map +1 -0
- package/dist/migrations/1779773659655-AddIdempotencyIndexesForJobs.d.ts +8 -0
- package/dist/migrations/1779773659655-AddIdempotencyIndexesForJobs.js +65 -0
- package/dist/migrations/1779773659655-AddIdempotencyIndexesForJobs.js.map +1 -0
- package/dist/migrations/1779807657061-AddRefreshTokenHashingAndRotation.d.ts +9 -0
- package/dist/migrations/1779807657061-AddRefreshTokenHashingAndRotation.js +86 -0
- package/dist/migrations/1779807657061-AddRefreshTokenHashingAndRotation.js.map +1 -0
- package/dist/migrations/1779810674046-AddSocialIdentitiesTable.d.ts +5 -0
- package/dist/migrations/1779810674046-AddSocialIdentitiesTable.js +37 -0
- package/dist/migrations/1779810674046-AddSocialIdentitiesTable.js.map +1 -0
- package/dist/migrations/1780002352495-MigrateJsonColumnsToJsonb.d.ts +17 -0
- package/dist/migrations/1780002352495-MigrateJsonColumnsToJsonb.js +209 -0
- package/dist/migrations/1780002352495-MigrateJsonColumnsToJsonb.js.map +1 -0
- package/dist/migrations/1788287350858-ReplaceUniqueIndexesWithSoftDeleteAware.d.ts +12 -0
- package/dist/migrations/1788287350858-ReplaceUniqueIndexesWithSoftDeleteAware.js +87 -0
- package/dist/migrations/1788287350858-ReplaceUniqueIndexesWithSoftDeleteAware.js.map +1 -0
- package/dist/migrations/1788287350859-NormalizeSocialIdentitiesUuidDefault.d.ts +8 -0
- package/dist/migrations/1788287350859-NormalizeSocialIdentitiesUuidDefault.js +36 -0
- package/dist/migrations/1788287350859-NormalizeSocialIdentitiesUuidDefault.js.map +1 -0
- package/dist/platformUtility/constants/index.d.ts +1 -0
- package/dist/{system/mentities → platformUtility/constants}/index.js +1 -1
- package/dist/platformUtility/constants/index.js.map +1 -0
- package/dist/platformUtility/constants/sms.constants.d.ts +4 -0
- package/dist/platformUtility/constants/sms.constants.js +8 -0
- package/dist/platformUtility/constants/sms.constants.js.map +1 -0
- package/dist/platformUtility/consumers/job.consumer.d.ts +2 -1
- package/dist/platformUtility/consumers/job.consumer.js +84 -27
- package/dist/platformUtility/consumers/job.consumer.js.map +1 -1
- package/dist/platformUtility/controllers/bull.job.controller.js +2 -1
- package/dist/platformUtility/controllers/bull.job.controller.js.map +1 -1
- package/dist/platformUtility/controllers/queue.controller.js +2 -1
- package/dist/platformUtility/controllers/queue.controller.js.map +1 -1
- package/dist/platformUtility/dtos/aws.config.dto.d.ts +2 -2
- package/dist/platformUtility/dtos/aws.config.dto.js.map +1 -1
- package/dist/platformUtility/dtos/index.d.ts +1 -0
- package/dist/platformUtility/dtos/index.js +1 -0
- package/dist/platformUtility/dtos/index.js.map +1 -1
- package/dist/platformUtility/dtos/mail.options.dto.d.ts +1 -0
- package/dist/platformUtility/dtos/mail.options.dto.js +5 -0
- package/dist/platformUtility/dtos/mail.options.dto.js.map +1 -1
- package/dist/platformUtility/dtos/remote.request.config.dto.d.ts +1 -0
- package/dist/platformUtility/dtos/remote.request.config.dto.js.map +1 -1
- package/dist/platformUtility/dtos/s3.service.upload.options.dto.d.ts +4 -0
- package/dist/platformUtility/dtos/s3.service.upload.options.dto.js +7 -0
- package/dist/platformUtility/dtos/s3.service.upload.options.dto.js.map +1 -0
- package/dist/platformUtility/entities/failed.bull.job.entity.js +4 -4
- package/dist/platformUtility/entities/failed.bull.job.entity.js.map +1 -1
- package/dist/platformUtility/entities/pending.bull.job.entity.js +3 -3
- package/dist/platformUtility/entities/pending.bull.job.entity.js.map +1 -1
- package/dist/platformUtility/entities/remote.request.log.entity.js +3 -3
- package/dist/platformUtility/entities/remote.request.log.entity.js.map +1 -1
- package/dist/platformUtility/es6.classes.d.ts +21 -5
- package/dist/platformUtility/es6.classes.js +26 -2
- package/dist/platformUtility/es6.classes.js.map +1 -1
- package/dist/platformUtility/filters/index.d.ts +1 -0
- package/dist/{system/interceptors → platformUtility/filters}/index.js +1 -1
- package/dist/platformUtility/filters/index.js.map +1 -0
- package/dist/platformUtility/filters/sentry.reporting.filter.d.ts +9 -0
- package/dist/platformUtility/filters/sentry.reporting.filter.js +63 -0
- package/dist/platformUtility/filters/sentry.reporting.filter.js.map +1 -0
- package/dist/platformUtility/index.d.ts +4 -0
- package/dist/platformUtility/index.js +4 -0
- package/dist/platformUtility/index.js.map +1 -1
- package/dist/platformUtility/interceptors/index.d.ts +1 -0
- package/dist/platformUtility/interceptors/index.js +18 -0
- package/dist/platformUtility/interceptors/index.js.map +1 -0
- package/dist/{system/interceptors/sentry.interceptor.d.ts → platformUtility/interceptors/sentry.user.scope.interceptor.d.ts} +1 -1
- package/dist/platformUtility/interceptors/sentry.user.scope.interceptor.js +24 -0
- package/dist/platformUtility/interceptors/sentry.user.scope.interceptor.js.map +1 -0
- package/dist/platformUtility/interfaces/emithook.email.attachment.interface.d.ts +10 -0
- package/dist/platformUtility/interfaces/emithook.email.attachment.interface.js +3 -0
- package/dist/platformUtility/interfaces/emithook.email.attachment.interface.js.map +1 -0
- package/dist/platformUtility/interfaces/emithook.email.list.options.interface.d.ts +7 -0
- package/dist/platformUtility/interfaces/emithook.email.list.options.interface.js +3 -0
- package/dist/platformUtility/interfaces/emithook.email.list.options.interface.js.map +1 -0
- package/dist/platformUtility/interfaces/emithook.email.message.interface.d.ts +20 -0
- package/dist/platformUtility/interfaces/emithook.email.message.interface.js +3 -0
- package/dist/platformUtility/interfaces/emithook.email.message.interface.js.map +1 -0
- package/dist/platformUtility/interfaces/emithook.email.send.options.interface.d.ts +12 -0
- package/dist/platformUtility/interfaces/emithook.email.send.options.interface.js +3 -0
- package/dist/platformUtility/interfaces/emithook.email.send.options.interface.js.map +1 -0
- package/dist/platformUtility/interfaces/emithook.email.send.result.interface.d.ts +3 -0
- package/dist/platformUtility/interfaces/emithook.email.send.result.interface.js +3 -0
- package/dist/platformUtility/interfaces/emithook.email.send.result.interface.js.map +1 -0
- package/dist/platformUtility/interfaces/emithook.suppression.interface.d.ts +6 -0
- package/dist/platformUtility/interfaces/emithook.suppression.interface.js +3 -0
- package/dist/platformUtility/interfaces/emithook.suppression.interface.js.map +1 -0
- package/dist/platformUtility/interfaces/html.pdf.convert.pdf.interface.d.ts +7 -0
- package/dist/platformUtility/interfaces/html.pdf.convert.pdf.interface.js +3 -0
- package/dist/platformUtility/interfaces/html.pdf.convert.pdf.interface.js.map +1 -0
- package/dist/platformUtility/interfaces/html.pdf.convert.request.interface.d.ts +9 -0
- package/dist/platformUtility/interfaces/html.pdf.convert.request.interface.js +3 -0
- package/dist/platformUtility/interfaces/html.pdf.convert.request.interface.js.map +1 -0
- package/dist/platformUtility/interfaces/html.pdf.convert.source.interface.d.ts +6 -0
- package/dist/platformUtility/interfaces/html.pdf.convert.source.interface.js +3 -0
- package/dist/platformUtility/interfaces/html.pdf.convert.source.interface.js.map +1 -0
- package/dist/platformUtility/interfaces/html.pdf.convert.success.interface.d.ts +8 -0
- package/dist/platformUtility/interfaces/html.pdf.convert.success.interface.js +3 -0
- package/dist/platformUtility/interfaces/html.pdf.convert.success.interface.js.map +1 -0
- package/dist/platformUtility/interfaces/html.pdf.margin.interface.d.ts +6 -0
- package/dist/platformUtility/interfaces/html.pdf.margin.interface.js +3 -0
- package/dist/platformUtility/interfaces/html.pdf.margin.interface.js.map +1 -0
- package/dist/platformUtility/interfaces/html.pdf.options.interface.d.ts +13 -0
- package/dist/platformUtility/interfaces/html.pdf.options.interface.js +3 -0
- package/dist/platformUtility/interfaces/html.pdf.options.interface.js.map +1 -0
- package/dist/platformUtility/interfaces/html.pdf.paper.format.interface.d.ts +1 -0
- package/dist/platformUtility/interfaces/html.pdf.paper.format.interface.js +3 -0
- package/dist/platformUtility/interfaces/html.pdf.paper.format.interface.js.map +1 -0
- package/dist/platformUtility/interfaces/index.d.ts +13 -0
- package/dist/platformUtility/interfaces/index.js +13 -0
- package/dist/platformUtility/interfaces/index.js.map +1 -1
- package/dist/platformUtility/jobs/process.ses.delivery.webhook.job.js.map +1 -1
- package/dist/platformUtility/jobs/process.tracking.webhook.job.js.map +1 -1
- package/dist/platformUtility/jobs/remote.request.log.job.js +3 -0
- package/dist/platformUtility/jobs/remote.request.log.job.js.map +1 -1
- package/dist/platformUtility/jobs/test.job.d.ts +1 -1
- package/dist/platformUtility/jobs/test.job.js +1 -7
- package/dist/platformUtility/jobs/test.job.js.map +1 -1
- package/dist/platformUtility/libraries/common.sms.service.d.ts +7 -0
- package/dist/platformUtility/libraries/common.sms.service.js +7 -0
- package/dist/platformUtility/libraries/common.sms.service.js.map +1 -0
- package/dist/platformUtility/libraries/common.sqs.polling.js +11 -2
- package/dist/platformUtility/libraries/common.sqs.polling.js.map +1 -1
- package/dist/platformUtility/libraries/create.index.file.d.ts +2 -0
- package/dist/platformUtility/libraries/create.index.file.js +40 -1
- package/dist/platformUtility/libraries/create.index.file.js.map +1 -1
- package/dist/platformUtility/libraries/index.d.ts +5 -0
- package/dist/platformUtility/libraries/index.js +5 -0
- package/dist/platformUtility/libraries/index.js.map +1 -1
- package/dist/platformUtility/libraries/process.common.emithook.mail.d.ts +13 -0
- package/dist/platformUtility/libraries/process.common.emithook.mail.js +41 -0
- package/dist/platformUtility/libraries/process.common.emithook.mail.js.map +1 -0
- package/dist/platformUtility/libraries/process.common.mail.d.ts +9 -0
- package/dist/platformUtility/libraries/process.common.mail.js +65 -3
- package/dist/platformUtility/libraries/process.common.mail.js.map +1 -1
- package/dist/platformUtility/libraries/process.common.ses.mail.d.ts +2 -2
- package/dist/platformUtility/libraries/process.common.ses.mail.js +1 -5
- package/dist/platformUtility/libraries/process.common.ses.mail.js.map +1 -1
- package/dist/platformUtility/libraries/process.emithook.mail.d.ts +28 -0
- package/dist/platformUtility/libraries/process.emithook.mail.js +124 -0
- package/dist/platformUtility/libraries/process.emithook.mail.js.map +1 -0
- package/dist/platformUtility/libraries/process.kaleyra.sms.d.ts +10 -1
- package/dist/platformUtility/libraries/process.kaleyra.sms.js +50 -13
- package/dist/platformUtility/libraries/process.kaleyra.sms.js.map +1 -1
- package/dist/platformUtility/libraries/process.ses.mail.d.ts +3 -3
- package/dist/platformUtility/libraries/process.ses.mail.js +9 -15
- package/dist/platformUtility/libraries/process.ses.mail.js.map +1 -1
- package/dist/platformUtility/libraries/process.ses.raw.mail.d.ts +3 -3
- package/dist/platformUtility/libraries/process.ses.raw.mail.js +2 -2
- package/dist/platformUtility/libraries/sentry.bootstrap.d.ts +12 -0
- package/dist/platformUtility/libraries/sentry.bootstrap.js +25 -0
- package/dist/platformUtility/libraries/sentry.bootstrap.js.map +1 -0
- package/dist/platformUtility/libraries/sentry.context.d.ts +13 -0
- package/dist/platformUtility/libraries/sentry.context.js +44 -0
- package/dist/platformUtility/libraries/sentry.context.js.map +1 -0
- package/dist/platformUtility/libraries/set.sms.message.d.ts +2 -0
- package/dist/platformUtility/libraries/set.sms.message.js +14 -2
- package/dist/platformUtility/libraries/set.sms.message.js.map +1 -1
- package/dist/platformUtility/middlewares/trim.pipe.d.ts +4 -2
- package/dist/platformUtility/middlewares/trim.pipe.js +41 -21
- package/dist/platformUtility/middlewares/trim.pipe.js.map +1 -1
- package/dist/platformUtility/sentry.reporting.module.d.ts +4 -0
- package/dist/platformUtility/sentry.reporting.module.js +36 -0
- package/dist/platformUtility/sentry.reporting.module.js.map +1 -0
- package/dist/platformUtility/services/audit.service.d.ts +1 -2
- package/dist/platformUtility/services/audit.service.js +4 -9
- package/dist/platformUtility/services/audit.service.js.map +1 -1
- package/dist/platformUtility/services/aws.client.factory.d.ts +19 -0
- package/dist/platformUtility/services/aws.client.factory.js +42 -0
- package/dist/platformUtility/services/aws.client.factory.js.map +1 -0
- package/dist/platformUtility/services/aws.config.service.js +7 -5
- package/dist/platformUtility/services/aws.config.service.js.map +1 -1
- package/dist/platformUtility/services/aws.secret.service.d.ts +3 -3
- package/dist/platformUtility/services/aws.secret.service.js +50 -10
- package/dist/platformUtility/services/aws.secret.service.js.map +1 -1
- package/dist/platformUtility/services/cache.service.d.ts +0 -2
- package/dist/platformUtility/services/cache.service.js +5 -47
- package/dist/platformUtility/services/cache.service.js.map +1 -1
- package/dist/platformUtility/services/dynamo.service.d.ts +6 -3
- package/dist/platformUtility/services/dynamo.service.js +51 -20
- package/dist/platformUtility/services/dynamo.service.js.map +1 -1
- package/dist/platformUtility/services/emithook.mail.service.d.ts +28 -0
- package/dist/platformUtility/services/emithook.mail.service.js +142 -0
- package/dist/platformUtility/services/emithook.mail.service.js.map +1 -0
- package/dist/platformUtility/services/es6.service.d.ts +5 -15
- package/dist/platformUtility/services/es6.service.js +9 -29
- package/dist/platformUtility/services/es6.service.js.map +1 -1
- package/dist/platformUtility/services/index.d.ts +3 -0
- package/dist/platformUtility/services/index.js +3 -0
- package/dist/platformUtility/services/index.js.map +1 -1
- package/dist/platformUtility/services/mail.service.d.ts +6 -5
- package/dist/platformUtility/services/mail.service.js +27 -21
- package/dist/platformUtility/services/mail.service.js.map +1 -1
- package/dist/platformUtility/services/maintenance.service.js +1 -1
- package/dist/platformUtility/services/maintenance.service.js.map +1 -1
- package/dist/platformUtility/services/pdf.service.d.ts +32 -0
- package/dist/platformUtility/services/pdf.service.js +161 -0
- package/dist/platformUtility/services/pdf.service.js.map +1 -0
- package/dist/platformUtility/services/queue.service.d.ts +3 -5
- package/dist/platformUtility/services/queue.service.js +8 -7
- package/dist/platformUtility/services/queue.service.js.map +1 -1
- package/dist/platformUtility/services/redis.service.d.ts +4 -2
- package/dist/platformUtility/services/redis.service.js +27 -7
- package/dist/platformUtility/services/redis.service.js.map +1 -1
- package/dist/platformUtility/services/remote.request.service.d.ts +9 -1
- package/dist/platformUtility/services/remote.request.service.js +185 -7
- package/dist/platformUtility/services/remote.request.service.js.map +1 -1
- package/dist/platformUtility/services/s3.service.d.ts +7 -5
- package/dist/platformUtility/services/s3.service.js +25 -18
- package/dist/platformUtility/services/s3.service.js.map +1 -1
- package/dist/platformUtility/services/ses.mail.notification.service.js.map +1 -1
- package/dist/platformUtility/services/shutdown.service.d.ts +1 -0
- package/dist/platformUtility/services/shutdown.service.js +26 -4
- package/dist/platformUtility/services/shutdown.service.js.map +1 -1
- package/dist/platformUtility/services/sms.service.d.ts +2 -0
- package/dist/platformUtility/services/sms.service.js +14 -2
- package/dist/platformUtility/services/sms.service.js.map +1 -1
- package/dist/platformUtility/services/split.pdf.service.d.ts +5 -1
- package/dist/platformUtility/services/split.pdf.service.js +44 -4
- package/dist/platformUtility/services/split.pdf.service.js.map +1 -1
- package/dist/platformUtility/services/sql.service.d.ts +7 -1
- package/dist/platformUtility/services/sql.service.js +45 -1
- package/dist/platformUtility/services/sql.service.js.map +1 -1
- package/dist/platformUtility/services/sqs.service.d.ts +13 -5
- package/dist/platformUtility/services/sqs.service.js +43 -27
- package/dist/platformUtility/services/sqs.service.js.map +1 -1
- package/dist/platformUtility/services/startup.service.d.ts +3 -2
- package/dist/platformUtility/services/startup.service.js +6 -2
- package/dist/platformUtility/services/startup.service.js.map +1 -1
- package/dist/platformUtility/services/zip.service.d.ts +6 -1
- package/dist/platformUtility/services/zip.service.js +31 -12
- package/dist/platformUtility/services/zip.service.js.map +1 -1
- package/dist/platformUtility/subscribers/base.subscriber.d.ts +2 -2
- package/dist/platformUtility/subscribers/base.subscriber.js +2 -2
- package/dist/platformUtility/subscribers/base.subscriber.js.map +1 -1
- package/dist/platformUtility/subscribers/dispatcher.subscriber.d.ts +18 -0
- package/dist/platformUtility/subscribers/dispatcher.subscriber.js +89 -0
- package/dist/platformUtility/subscribers/dispatcher.subscriber.js.map +1 -0
- package/dist/platformUtility/subscribers/index.d.ts +1 -1
- package/dist/platformUtility/subscribers/index.js +1 -1
- package/dist/platformUtility/subscribers/index.js.map +1 -1
- package/dist/security/entities/permission.entity.js +1 -1
- package/dist/security/entities/permission.entity.js.map +1 -1
- package/dist/security/entities/role.entity.js +1 -1
- package/dist/security/entities/role.entity.js.map +1 -1
- package/dist/security/entities/user.permission.entity.js +1 -1
- package/dist/security/entities/user.permission.entity.js.map +1 -1
- package/dist/security/entities/user.role.entity.js +1 -1
- package/dist/security/entities/user.role.entity.js.map +1 -1
- package/dist/system/constants/index.d.ts +2 -0
- package/dist/system/constants/index.js +2 -0
- package/dist/system/constants/index.js.map +1 -1
- package/dist/system/constants/ui.action.constants.d.ts +7 -0
- package/dist/system/constants/ui.action.constants.js +11 -0
- package/dist/system/constants/ui.action.constants.js.map +1 -0
- package/dist/system/constants/upload.allow.list.d.ts +4 -0
- package/dist/system/constants/upload.allow.list.js +34 -0
- package/dist/system/constants/upload.allow.list.js.map +1 -0
- package/dist/system/controllers/base.controller.d.ts +1 -0
- package/dist/system/controllers/base.controller.js +21 -2
- package/dist/system/controllers/base.controller.js.map +1 -1
- package/dist/system/controllers/form.controller.js +3 -0
- package/dist/system/controllers/form.controller.js.map +1 -1
- package/dist/system/controllers/preference.controller.js +6 -5
- package/dist/system/controllers/preference.controller.js.map +1 -1
- package/dist/system/controllers/report.controller.js +8 -0
- package/dist/system/controllers/report.controller.js.map +1 -1
- package/dist/system/controllers/upload.controller.js +6 -2
- package/dist/system/controllers/upload.controller.js.map +1 -1
- package/dist/system/controllers/user.preference.controller.js +0 -1
- package/dist/system/controllers/user.preference.controller.js.map +1 -1
- package/dist/system/dtos/file.upload.spec.dto.d.ts +1 -0
- package/dist/system/dtos/file.upload.spec.dto.js.map +1 -1
- package/dist/system/dtos/index.d.ts +2 -2
- package/dist/system/dtos/index.js +2 -2
- package/dist/system/dtos/index.js.map +1 -1
- package/dist/system/dtos/{event.log.attributes.dto.d.ts → scheduled.event.attributes.dto.d.ts} +1 -1
- package/dist/system/dtos/scheduled.event.attributes.dto.js +8 -0
- package/dist/system/dtos/scheduled.event.attributes.dto.js.map +1 -0
- package/dist/system/dtos/sms.template.attributes.dto.d.ts +4 -0
- package/dist/system/{jobs/event.log.job.js → dtos/sms.template.attributes.dto.js} +13 -19
- package/dist/system/dtos/sms.template.attributes.dto.js.map +1 -0
- package/dist/system/dtos/storage.upload.options.dto.d.ts +1 -0
- package/dist/system/dtos/storage.upload.options.dto.js +5 -0
- package/dist/system/dtos/storage.upload.options.dto.js.map +1 -1
- package/dist/system/entities/business.rule.entity.js +1 -1
- package/dist/system/entities/business.rule.entity.js.map +1 -1
- package/dist/system/entities/business.rule.role.entity.js +1 -1
- package/dist/system/entities/business.rule.role.entity.js.map +1 -1
- package/dist/system/entities/chart.entity.js +1 -1
- package/dist/system/entities/chart.entity.js.map +1 -1
- package/dist/system/entities/client.credential.entity.js +1 -1
- package/dist/system/entities/client.credential.entity.js.map +1 -1
- package/dist/system/entities/client.entity.js +1 -1
- package/dist/system/entities/client.entity.js.map +1 -1
- package/dist/system/entities/client.script.entity.js +1 -1
- package/dist/system/entities/client.script.entity.js.map +1 -1
- package/dist/system/entities/code.fix.log.entity.js +3 -3
- package/dist/system/entities/code.fix.log.entity.js.map +1 -1
- package/dist/system/entities/code.fix.script.entity.js +1 -1
- package/dist/system/entities/code.fix.script.entity.js.map +1 -1
- package/dist/system/entities/column.definition.entity.js +1 -1
- package/dist/system/entities/column.definition.entity.js.map +1 -1
- package/dist/system/entities/column.entity.js +1 -1
- package/dist/system/entities/column.entity.js.map +1 -1
- package/dist/system/entities/comment.entity.d.ts +2 -1
- package/dist/system/entities/comment.entity.js +4 -3
- package/dist/system/entities/comment.entity.js.map +1 -1
- package/dist/system/entities/credential.ip.entity.js +1 -1
- package/dist/system/entities/credential.ip.entity.js.map +1 -1
- package/dist/system/entities/data.log.entity.js +2 -2
- package/dist/system/entities/data.log.entity.js.map +1 -1
- package/dist/system/entities/document.entity.js +1 -1
- package/dist/system/entities/document.entity.js.map +1 -1
- package/dist/system/entities/dynamo.table.entity.js +1 -1
- package/dist/system/entities/dynamo.table.entity.js.map +1 -1
- package/dist/system/entities/email.template.entity.js +1 -1
- package/dist/system/entities/email.template.entity.js.map +1 -1
- package/dist/system/entities/event.detail.entity.js +1 -1
- package/dist/system/entities/event.detail.entity.js.map +1 -1
- package/dist/system/entities/event.queue.entity.js +2 -2
- package/dist/system/entities/event.queue.entity.js.map +1 -1
- package/dist/system/entities/executable.script.entity.js +2 -2
- package/dist/system/entities/executable.script.entity.js.map +1 -1
- package/dist/system/entities/form.column.entity.js +1 -1
- package/dist/system/entities/form.column.entity.js.map +1 -1
- package/dist/system/entities/form.entity.js +1 -1
- package/dist/system/entities/form.entity.js.map +1 -1
- package/dist/system/entities/form.preference.entity.js +2 -2
- package/dist/system/entities/form.preference.entity.js.map +1 -1
- package/dist/system/entities/index.d.ts +0 -2
- package/dist/system/entities/index.js +0 -2
- package/dist/system/entities/index.js.map +1 -1
- package/dist/system/entities/list.preference.entity.js +2 -2
- package/dist/system/entities/list.preference.entity.js.map +1 -1
- package/dist/system/entities/lookup.type.entity.js +1 -1
- package/dist/system/entities/lookup.type.entity.js.map +1 -1
- package/dist/system/entities/lookup.value.entity.js +1 -1
- package/dist/system/entities/lookup.value.entity.js.map +1 -1
- package/dist/system/entities/mail.event.entity.js +1 -1
- package/dist/system/entities/mail.event.entity.js.map +1 -1
- package/dist/system/entities/mail.log.entity.js +2 -2
- package/dist/system/entities/mail.log.entity.js.map +1 -1
- package/dist/system/entities/mail.recipient.entity.js +2 -2
- package/dist/system/entities/mail.recipient.entity.js.map +1 -1
- package/dist/system/entities/mail.validation.entity.js +1 -1
- package/dist/system/entities/mail.validation.entity.js.map +1 -1
- package/dist/system/entities/material.view.entity.js +1 -1
- package/dist/system/entities/material.view.entity.js.map +1 -1
- package/dist/system/entities/menu.entity.js +1 -1
- package/dist/system/entities/menu.entity.js.map +1 -1
- package/dist/system/entities/menu.role.entity.js +1 -1
- package/dist/system/entities/menu.role.entity.js.map +1 -1
- package/dist/system/entities/mobile.validation.entity.js +1 -1
- package/dist/system/entities/mobile.validation.entity.js.map +1 -1
- package/dist/system/entities/model.column.entity.js +1 -1
- package/dist/system/entities/model.column.entity.js.map +1 -1
- package/dist/system/entities/model.entity.js +1 -1
- package/dist/system/entities/model.entity.js.map +1 -1
- package/dist/system/entities/model.relationship.entity.js +1 -1
- package/dist/system/entities/model.relationship.entity.js.map +1 -1
- package/dist/system/entities/model.role.entity.js +1 -1
- package/dist/system/entities/model.role.entity.js.map +1 -1
- package/dist/system/entities/module.entity.js +1 -1
- package/dist/system/entities/module.entity.js.map +1 -1
- package/dist/system/entities/module.menu.entity.js +1 -1
- package/dist/system/entities/module.menu.entity.js.map +1 -1
- package/dist/system/entities/open.property.entity.js +1 -1
- package/dist/system/entities/open.property.entity.js.map +1 -1
- package/dist/system/entities/page.definition.entity.js +1 -1
- package/dist/system/entities/page.definition.entity.js.map +1 -1
- package/dist/system/entities/parent.menu.entity.js +1 -1
- package/dist/system/entities/parent.menu.entity.js.map +1 -1
- package/dist/system/entities/primary.axis.entity.js +1 -1
- package/dist/system/entities/primary.axis.entity.js.map +1 -1
- package/dist/system/entities/property.entity.js +1 -1
- package/dist/system/entities/property.entity.js.map +1 -1
- package/dist/system/entities/recurring.query.entity.js +1 -1
- package/dist/system/entities/recurring.query.entity.js.map +1 -1
- package/dist/system/entities/relationship.entity.js +1 -1
- package/dist/system/entities/relationship.entity.js.map +1 -1
- package/dist/system/entities/report.column.entity.js +1 -1
- package/dist/system/entities/report.column.entity.js.map +1 -1
- package/dist/system/entities/report.entity.js +2 -2
- package/dist/system/entities/report.entity.js.map +1 -1
- package/dist/system/entities/report.filter.entity.js +1 -1
- package/dist/system/entities/report.filter.entity.js.map +1 -1
- package/dist/system/entities/report.param.entity.js +1 -1
- package/dist/system/entities/report.param.entity.js.map +1 -1
- package/dist/system/entities/report.relationship.entity.js +1 -1
- package/dist/system/entities/report.relationship.entity.js.map +1 -1
- package/dist/system/entities/report.role.entity.js +1 -1
- package/dist/system/entities/report.role.entity.js.map +1 -1
- package/dist/system/entities/report.sheet.entity.js +1 -1
- package/dist/system/entities/report.sheet.entity.js.map +1 -1
- package/dist/system/entities/scheduled.event.entity.d.ts +2 -1
- package/dist/system/entities/scheduled.event.entity.js +4 -3
- package/dist/system/entities/scheduled.event.entity.js.map +1 -1
- package/dist/system/entities/secondary.axis.entity.js +1 -1
- package/dist/system/entities/secondary.axis.entity.js.map +1 -1
- package/dist/system/entities/security.rule.entity.js +1 -1
- package/dist/system/entities/security.rule.entity.js.map +1 -1
- package/dist/system/entities/service.entity.js +1 -1
- package/dist/system/entities/service.entity.js.map +1 -1
- package/dist/system/entities/sms.message.entity.js +1 -1
- package/dist/system/entities/sms.message.entity.js.map +1 -1
- package/dist/system/entities/sms.template.entity.d.ts +2 -1
- package/dist/system/entities/sms.template.entity.js +3 -2
- package/dist/system/entities/sms.template.entity.js.map +1 -1
- package/dist/system/entities/system.script.entity.js +1 -1
- package/dist/system/entities/system.script.entity.js.map +1 -1
- package/dist/system/entities/ui.action.entity.js +1 -1
- package/dist/system/entities/ui.action.entity.js.map +1 -1
- package/dist/system/entities/ui.action.permission.entity.js +1 -1
- package/dist/system/entities/ui.action.permission.entity.js.map +1 -1
- package/dist/system/entities/ui.action.role.entity.js +1 -1
- package/dist/system/entities/ui.action.role.entity.js.map +1 -1
- package/dist/system/entities/user.group.entity.js +1 -1
- package/dist/system/entities/user.group.entity.js.map +1 -1
- package/dist/system/entities/user.group.member.entity.js +1 -1
- package/dist/system/entities/user.group.member.entity.js.map +1 -1
- package/dist/system/entities/user.group.permission.entity.js +1 -1
- package/dist/system/entities/user.group.permission.entity.js.map +1 -1
- package/dist/system/entities/user.group.role.entity.js +1 -1
- package/dist/system/entities/user.group.role.entity.js.map +1 -1
- package/dist/system/entities/user.preference.entity.js +2 -2
- package/dist/system/entities/user.preference.entity.js.map +1 -1
- package/dist/system/entities/whatsapp.template.entity.js +1 -1
- package/dist/system/entities/whatsapp.template.entity.js.map +1 -1
- package/dist/system/es6.classes.d.ts +20 -44
- package/dist/system/es6.classes.js +17 -77
- package/dist/system/es6.classes.js.map +1 -1
- package/dist/system/index.d.ts +0 -3
- package/dist/system/index.js +0 -3
- package/dist/system/index.js.map +1 -1
- package/dist/system/interfaces/crypt.re.encrypt.result.interface.d.ts +11 -0
- package/dist/system/interfaces/crypt.re.encrypt.result.interface.js +3 -0
- package/dist/system/interfaces/crypt.re.encrypt.result.interface.js.map +1 -0
- package/dist/system/interfaces/crypt.re.encrypt.target.interface.d.ts +6 -0
- package/dist/system/interfaces/crypt.re.encrypt.target.interface.js +3 -0
- package/dist/system/interfaces/crypt.re.encrypt.target.interface.js.map +1 -0
- package/dist/system/interfaces/index.d.ts +3 -0
- package/dist/system/interfaces/index.js +3 -0
- package/dist/system/interfaces/index.js.map +1 -1
- package/dist/system/interfaces/polymorphic.source.interface.d.ts +4 -0
- package/dist/system/interfaces/polymorphic.source.interface.js +3 -0
- package/dist/system/interfaces/polymorphic.source.interface.js.map +1 -0
- package/dist/system/jobs/client.credential.job.d.ts +2 -0
- package/dist/system/jobs/client.credential.job.js +7 -0
- package/dist/system/jobs/client.credential.job.js.map +1 -1
- package/dist/system/jobs/client.job.js +3 -0
- package/dist/system/jobs/client.job.js.map +1 -1
- package/dist/system/jobs/code.fix.log.job.js +3 -0
- package/dist/system/jobs/code.fix.log.job.js.map +1 -1
- package/dist/system/jobs/code.fix.script.job.d.ts +4 -0
- package/dist/system/jobs/code.fix.script.job.js +23 -0
- package/dist/system/jobs/code.fix.script.job.js.map +1 -1
- package/dist/system/jobs/column.mapper.job.d.ts +5 -3
- package/dist/system/jobs/column.mapper.job.js +9 -4
- package/dist/system/jobs/column.mapper.job.js.map +1 -1
- package/dist/system/jobs/comment.job.js +2 -0
- package/dist/system/jobs/comment.job.js.map +1 -1
- package/dist/system/jobs/credential.ip.job.js +3 -0
- package/dist/system/jobs/credential.ip.job.js.map +1 -1
- package/dist/system/jobs/data.log.job.js +3 -0
- package/dist/system/jobs/data.log.job.js.map +1 -1
- package/dist/system/jobs/document.job.js +2 -0
- package/dist/system/jobs/document.job.js.map +1 -1
- package/dist/system/jobs/executable.script.job.js +3 -0
- package/dist/system/jobs/executable.script.job.js.map +1 -1
- package/dist/system/jobs/execute.material.view.job.js +8 -1
- package/dist/system/jobs/execute.material.view.job.js.map +1 -1
- package/dist/system/jobs/index.d.ts +1 -3
- package/dist/system/jobs/index.js +1 -3
- package/dist/system/jobs/index.js.map +1 -1
- package/dist/system/jobs/mail.event.job.js +3 -0
- package/dist/system/jobs/mail.event.job.js.map +1 -1
- package/dist/system/jobs/mail.recipient.job.js +3 -0
- package/dist/system/jobs/mail.recipient.job.js.map +1 -1
- package/dist/system/jobs/mail.validation.job.d.ts +1 -1
- package/dist/system/jobs/mail.validation.job.js +4 -1
- package/dist/system/jobs/mail.validation.job.js.map +1 -1
- package/dist/system/jobs/material.view.job.d.ts +4 -0
- package/dist/system/jobs/material.view.job.js +23 -0
- package/dist/system/jobs/material.view.job.js.map +1 -1
- package/dist/system/jobs/mobile.validation.job.d.ts +1 -1
- package/dist/system/jobs/mobile.validation.job.js +4 -1
- package/dist/system/jobs/mobile.validation.job.js.map +1 -1
- package/dist/system/jobs/model.scanner.job.d.ts +1 -1
- package/dist/system/jobs/model.scanner.job.js +3 -2
- package/dist/system/jobs/model.scanner.job.js.map +1 -1
- package/dist/system/jobs/orphan.sweeper.job.d.ts +19 -0
- package/dist/system/jobs/orphan.sweeper.job.js +167 -0
- package/dist/system/jobs/orphan.sweeper.job.js.map +1 -0
- package/dist/system/jobs/property.job.d.ts +3 -0
- package/dist/system/jobs/property.job.js +12 -0
- package/dist/system/jobs/property.job.js.map +1 -1
- package/dist/system/jobs/recurring.query.job.d.ts +4 -0
- package/dist/system/jobs/recurring.query.job.js +23 -0
- package/dist/system/jobs/recurring.query.job.js.map +1 -1
- package/dist/system/jobs/refresh.material.view.job.d.ts +1 -0
- package/dist/system/jobs/refresh.material.view.job.js +25 -8
- package/dist/system/jobs/refresh.material.view.job.js.map +1 -1
- package/dist/system/jobs/refresh.property.cache.job.js +2 -5
- package/dist/system/jobs/refresh.property.cache.job.js.map +1 -1
- package/dist/system/jobs/relationship.mapper.job.d.ts +5 -3
- package/dist/system/jobs/relationship.mapper.job.js +8 -3
- package/dist/system/jobs/relationship.mapper.job.js.map +1 -1
- package/dist/system/jobs/report.column.sync.job.js +11 -8
- package/dist/system/jobs/report.column.sync.job.js.map +1 -1
- package/dist/system/jobs/report.sheet.job.js +3 -0
- package/dist/system/jobs/report.sheet.job.js.map +1 -1
- package/dist/system/jobs/scheduled.event.job.d.ts +4 -0
- package/dist/system/jobs/scheduled.event.job.js +36 -4
- package/dist/system/jobs/scheduled.event.job.js.map +1 -1
- package/dist/system/jobs/set.codefix.script.event.job.js +10 -9
- package/dist/system/jobs/set.codefix.script.event.job.js.map +1 -1
- package/dist/system/jobs/set.event.queue.job.d.ts +1 -0
- package/dist/system/jobs/set.event.queue.job.js +19 -6
- package/dist/system/jobs/set.event.queue.job.js.map +1 -1
- package/dist/system/jobs/set.recurring.query.event.job.js +9 -8
- package/dist/system/jobs/set.recurring.query.event.job.js.map +1 -1
- package/dist/system/jobs/set.scheduled.event.job.js +10 -10
- package/dist/system/jobs/set.scheduled.event.job.js.map +1 -1
- package/dist/system/jobs/sms.message.job.d.ts +1 -1
- package/dist/system/jobs/sms.message.job.js +4 -1
- package/dist/system/jobs/sms.message.job.js.map +1 -1
- package/dist/system/jobs/sqs.polling.job.d.ts +1 -0
- package/dist/system/jobs/sqs.polling.job.js +42 -4
- package/dist/system/jobs/sqs.polling.job.js.map +1 -1
- package/dist/system/jobs/sync.all.code.job.js +16 -14
- package/dist/system/jobs/sync.all.code.job.js.map +1 -1
- package/dist/system/jobs/user.group.member.job.d.ts +2 -1
- package/dist/system/jobs/user.group.member.job.js +17 -14
- package/dist/system/jobs/user.group.member.job.js.map +1 -1
- package/dist/system/jobs/user.group.permission.job.d.ts +2 -1
- package/dist/system/jobs/user.group.permission.job.js +11 -7
- package/dist/system/jobs/user.group.permission.job.js.map +1 -1
- package/dist/system/jobs/user.group.role.job.d.ts +2 -1
- package/dist/system/jobs/user.group.role.job.js +11 -7
- package/dist/system/jobs/user.group.role.job.js.map +1 -1
- package/dist/system/libraries/business.rule.filter.validator.d.ts +1 -0
- package/dist/system/libraries/business.rule.filter.validator.js +18 -5
- package/dist/system/libraries/business.rule.filter.validator.js.map +1 -1
- package/dist/system/libraries/business.rule.query.evaluator.d.ts +2 -0
- package/dist/system/libraries/business.rule.query.evaluator.js +81 -10
- package/dist/system/libraries/business.rule.query.evaluator.js.map +1 -1
- package/dist/system/libraries/code.evaluator.d.ts +2 -4
- package/dist/system/libraries/code.evaluator.js +51 -24
- package/dist/system/libraries/code.evaluator.js.map +1 -1
- package/dist/system/libraries/common.storage.service.d.ts +1 -0
- package/dist/system/libraries/common.storage.service.js.map +1 -1
- package/dist/system/libraries/crypt.re.encrypt.processor.d.ts +17 -0
- package/dist/system/libraries/crypt.re.encrypt.processor.js +69 -0
- package/dist/system/libraries/crypt.re.encrypt.processor.js.map +1 -0
- package/dist/system/libraries/execute.code.fix.d.ts +2 -3
- package/dist/system/libraries/execute.code.fix.js +51 -25
- package/dist/system/libraries/execute.code.fix.js.map +1 -1
- package/dist/system/libraries/generate.downloadable.report.file.d.ts +1 -0
- package/dist/system/libraries/generate.downloadable.report.file.js +13 -5
- package/dist/system/libraries/generate.downloadable.report.file.js.map +1 -1
- package/dist/system/libraries/get.report.query.js +7 -4
- package/dist/system/libraries/get.report.query.js.map +1 -1
- package/dist/system/libraries/index.d.ts +4 -0
- package/dist/system/libraries/index.js +4 -0
- package/dist/system/libraries/index.js.map +1 -1
- package/dist/system/libraries/material.view.freshness.d.ts +11 -0
- package/dist/system/libraries/material.view.freshness.js +31 -0
- package/dist/system/libraries/material.view.freshness.js.map +1 -0
- package/dist/system/libraries/process.script.execution.d.ts +3 -6
- package/dist/system/libraries/process.script.execution.js +51 -27
- package/dist/system/libraries/process.script.execution.js.map +1 -1
- package/dist/system/libraries/report.batch.paginator.d.ts +29 -0
- package/dist/system/libraries/report.batch.paginator.js +136 -0
- package/dist/system/libraries/report.batch.paginator.js.map +1 -0
- package/dist/system/libraries/sandboxed.script.executor.d.ts +34 -0
- package/dist/system/libraries/sandboxed.script.executor.js +416 -0
- package/dist/system/libraries/sandboxed.script.executor.js.map +1 -0
- package/dist/system/libraries/security.rule.evaluator.d.ts +1 -0
- package/dist/system/libraries/security.rule.evaluator.js +18 -5
- package/dist/system/libraries/security.rule.evaluator.js.map +1 -1
- package/dist/system/libraries/sync.dynamo.tables.js +0 -1
- package/dist/system/libraries/sync.dynamo.tables.js.map +1 -1
- package/dist/system/services/aws.s3.service.d.ts +3 -1
- package/dist/system/services/aws.s3.service.js +7 -7
- package/dist/system/services/aws.s3.service.js.map +1 -1
- package/dist/system/services/business.rule.service.d.ts +0 -1
- package/dist/system/services/business.rule.service.js +2 -1
- package/dist/system/services/business.rule.service.js.map +1 -1
- package/dist/system/services/client.credential.service.js +0 -1
- package/dist/system/services/client.credential.service.js.map +1 -1
- package/dist/system/services/comment.service.d.ts +0 -1
- package/dist/system/services/comment.service.js +2 -1
- package/dist/system/services/comment.service.js.map +1 -1
- package/dist/system/services/document.service.d.ts +1 -1
- package/dist/system/services/document.service.js +13 -4
- package/dist/system/services/document.service.js.map +1 -1
- package/dist/system/services/es6.jobs.service.d.ts +3 -7
- package/dist/system/services/es6.jobs.service.js +5 -13
- package/dist/system/services/es6.jobs.service.js.map +1 -1
- package/dist/system/services/event.queue.service.d.ts +8 -1
- package/dist/system/services/event.queue.service.js +98 -15
- package/dist/system/services/event.queue.service.js.map +1 -1
- package/dist/system/services/executable.script.service.d.ts +1 -7
- package/dist/system/services/executable.script.service.js +2 -35
- package/dist/system/services/executable.script.service.js.map +1 -1
- package/dist/system/services/index.d.ts +0 -1
- package/dist/system/services/index.js +0 -1
- package/dist/system/services/index.js.map +1 -1
- package/dist/system/services/internal.server.connect.service.js +0 -1
- package/dist/system/services/internal.server.connect.service.js.map +1 -1
- package/dist/system/services/menu.service.js +3 -2
- package/dist/system/services/menu.service.js.map +1 -1
- package/dist/system/services/model.service.js +8 -7
- package/dist/system/services/model.service.js.map +1 -1
- package/dist/system/services/property.service.d.ts +0 -1
- package/dist/system/services/property.service.js +28 -14
- package/dist/system/services/property.service.js.map +1 -1
- package/dist/system/services/report.service.js +2 -2
- package/dist/system/services/report.service.js.map +1 -1
- package/dist/system/services/scheduled.event.service.js +7 -2
- package/dist/system/services/scheduled.event.service.js.map +1 -1
- package/dist/system/services/security.rule.service.js +8 -9
- package/dist/system/services/security.rule.service.js.map +1 -1
- package/dist/system/services/storage.service.js +6 -2
- package/dist/system/services/storage.service.js.map +1 -1
- package/dist/system/services/upload.service.d.ts +2 -1
- package/dist/system/services/upload.service.js +60 -6
- package/dist/system/services/upload.service.js.map +1 -1
- package/dist/system/system.module.js +1 -1
- package/dist/system/system.module.js.map +1 -1
- package/dist/worker.js +29 -2
- package/dist/worker.js.map +1 -1
- package/docs/sentry-reporting.md +147 -0
- package/package.json +13 -4
- package/CLAUDE.md +0 -189
- package/CODEBASE-REVIEW.md +0 -227
- package/CODEBASE_REFERENCE.md +0 -568
- package/CONTRIBUTING.md +0 -31
- package/dist/auth/services/es6.service.d.ts +0 -12
- package/dist/auth/services/es6.service.js +0 -45
- package/dist/auth/services/es6.service.js.map +0 -1
- package/dist/config/role.mapping.d.ts +0 -6
- package/dist/config/role.mapping.js +0 -8
- package/dist/config/role.mapping.js.map +0 -1
- package/dist/migrations/1580011348975-SysUsersTable.ts.js.map +0 -1
- package/dist/migrations/1580012157523-SysRolesTable.ts.js.map +0 -1
- package/dist/migrations/1580012268960-SysPermissionsTable.ts.js.map +0 -1
- package/dist/migrations/1580012428385-SysPropertiesTable.ts.js.map +0 -1
- package/dist/migrations/1580012617487-SysOpenPropertiesTable.ts.js.map +0 -1
- package/dist/migrations/1580012802170-SysLookupTypesTable.ts.js.map +0 -1
- package/dist/migrations/1580012876576-SysLookupValuesTable.ts.js.map +0 -1
- package/dist/migrations/1580013243446-SysSystemScriptsTable.ts.js.map +0 -1
- package/dist/migrations/1580013426935-SysUserGroupsTable.ts.js.map +0 -1
- package/dist/migrations/1580013438750-SysUserGroupMembersTable.ts.js.map +0 -1
- package/dist/migrations/1580013583515-SysColumnDefinitionsTable.ts.js.map +0 -1
- package/dist/migrations/1580013737722-SysModelDetailsTable.ts.js.map +0 -1
- package/dist/migrations/1580032909794-SysColumnDetailsTable.ts.js.map +0 -1
- package/dist/migrations/1580033076554-SysModelColumnsTable.ts.js.map +0 -1
- package/dist/migrations/1580033241460-SysModelRelationshipsTable.ts.js.map +0 -1
- package/dist/migrations/1580033439057-SysPageDefinitionsTable.ts.js.map +0 -1
- package/dist/migrations/1580033536134-SysModuleDetailsTable.ts.js.map +0 -1
- package/dist/migrations/1580033654069-SysMenuDetailsTable.ts.js.map +0 -1
- package/dist/migrations/1580034121887-SysModuleMenusTable.ts.js.map +0 -1
- package/dist/migrations/1580034434762-SysParentMenusTable.ts.js.map +0 -1
- package/dist/migrations/1580034626349-SysUserPreferencesTable.ts.js.map +0 -1
- package/dist/migrations/1580034717318-SysFormDetailsTable.ts.js.map +0 -1
- package/dist/migrations/1580034866284-SysFormColumnsTable.ts.js.map +0 -1
- package/dist/migrations/1580034927543-SysBusinessRulesTable.ts.js.map +0 -1
- package/dist/migrations/1580035169090-SysFormPreferencesTable.ts.js.map +0 -1
- package/dist/migrations/1580035241990-SysListPreferencesTable.ts.js.map +0 -1
- package/dist/migrations/1580035351803-SysSecurityRulesTable.ts.js.map +0 -1
- package/dist/migrations/1580035532119-SysUiActionsTable.ts.js.map +0 -1
- package/dist/migrations/1580035823624-SysDeviceTokensTable.ts.js.map +0 -1
- package/dist/migrations/1580036042576-SysCountriesTable.ts.js.map +0 -1
- package/dist/migrations/1580036055684-SysRefreshTokensTable.ts.js.map +0 -1
- package/dist/migrations/1580036754269-SysUserRolesTable.ts.js.map +0 -1
- package/dist/migrations/1580036787378-SysMenuRolesTable.ts.js.map +0 -1
- package/dist/migrations/1580036809003-SysModelRolesTable.ts.js.map +0 -1
- package/dist/migrations/1580037052174-SysUiActionRolesTable.ts.js.map +0 -1
- package/dist/migrations/1580037081670-SysUserGroupRolesTable.ts.js.map +0 -1
- package/dist/migrations/1580037119302-SysUserPermissionsTable.ts.js.map +0 -1
- package/dist/migrations/1599034575440-AddTimezoneOffsetSysCountriesTable.ts.js.map +0 -1
- package/dist/migrations/1606282995979-ActiveColumnSysDeviceTokensTable.ts.js.map +0 -1
- package/dist/migrations/1609583413782-SystemGeneratedSysCommentsTable.ts.js.map +0 -1
- package/dist/migrations/1610226459497-AddIndexOnTokenSysDeviceTokensTable.ts.js.map +0 -1
- package/dist/migrations/1615622117306-DeleteValueColumnSysUserPreferencesTable.ts.js.map +0 -1
- package/dist/migrations/1615622742904-AddValueJsonColumnSysUserPreferencesTable.ts.js.map +0 -1
- package/dist/migrations/1615661067542-RemoveColumnDefinitionColumnSysListPreferencesTable.ts.js.map +0 -1
- package/dist/migrations/1615661131556-AddColumnDefinitionJsonColumnSysListPreferencesTable.ts.js.map +0 -1
- package/dist/migrations/1615743889725-RemoveColumnDefinitionColumnSysFormPreferencesTable.ts.js.map +0 -1
- package/dist/migrations/1615743931363-AddColumnDefinitionColumnSysFormPreferencesTable.ts.js.map +0 -1
- package/dist/migrations/1616255314846-RenameRouteColumnSysMenuDetailsTable.ts.js.map +0 -1
- package/dist/migrations/1616257589431-RenameRouteColumnSysModelDetailsTable.ts.js.map +0 -1
- package/dist/migrations/1616329406291-AddIncludesColumnSysMenuDetailsTable.ts.js.map +0 -1
- package/dist/migrations/1616738455290-AddNameColumnSysReportParamsTable.ts.js.map +0 -1
- package/dist/migrations/1616749370769-AddSourceColumnsSysRelationshipDetailsTable.ts.js.map +0 -1
- package/dist/migrations/1616750113885-CreateTableSysModelRelationshipsTable.ts.js.map +0 -1
- package/dist/migrations/1617433544860-AddRouteColumnIncludesSysReportDetailsTable.ts.js.map +0 -1
- package/dist/migrations/1619186436996-AddRouteIdentifierColumnSysModelDetailsTable.ts.js.map +0 -1
- package/dist/migrations/1619555997151-AddSourceColumnsSysUserRolesTable.ts.js.map +0 -1
- package/dist/migrations/1619556025823-AddSourceColumnsSysUserPermissionsTable.ts.js.map +0 -1
- package/dist/migrations/1633602353156-AddWhatsAppNumberSysCountriesTable.ts.js.map +0 -1
- package/dist/migrations/1645886071349-AddSubjectSysEmailTemplatesTable.ts.js.map +0 -1
- package/dist/migrations/1652332064735-AddOrdinalPositionSysColumnDetailsTable.ts.js.map +0 -1
- package/dist/migrations/1662188562840-AddAttemptsSysUsersTable.ts.js.map +0 -1
- package/dist/migrations/1675176639864-AddReportFilterTableSysReportFiltersTable.ts.js.map +0 -1
- package/dist/migrations/1675876187420-AddIsEncryptedSysPropertiesTable.ts.js.map +0 -1
- package/dist/migrations/1679473705431-RemoveModelSysRelationshipDetailsTable.ts.js.map +0 -1
- package/dist/migrations/1684649589572-AddTypeSysCommentsTable.ts.js.map +0 -1
- package/dist/migrations/1692726438006-AddColumnTypeSysReportFiltersTable.ts.js.map +0 -1
- package/dist/migrations/1698026335959-AddActiveSysSmsTemplatesTable.ts.js.map +0 -1
- package/dist/migrations/1700393526749-AddBodySysMailLogsTable.ts.js.map +0 -1
- package/dist/migrations/1700401846961-RemoveToColumnSysMailLogsTable.ts.js.map +0 -1
- package/dist/migrations/1732962774052-AddJsonDataSysScheduledEventsTable.ts.js.map +0 -1
- package/dist/migrations/1732962856845-AddJsonPayloadSysEventQueuesTable.ts.js.map +0 -1
- package/dist/migrations/1735153438257-AddTimingSysCodefixScriptsTable.ts.js.map +0 -1
- package/dist/migrations/1735154396259-AddQuerySysRecurringQueriesTable.ts.js.map +0 -1
- package/dist/migrations/1735882485286-AddLastRunTimeSysCodefixScriptsTable.ts.js.map +0 -1
- package/dist/migrations/1735882522813-AddLastRunTimeSysRecurringQueriesTable.ts.js.map +0 -1
- package/dist/migrations/1739166543991-AddJobIdentifierSysPendingBullJobsTable.ts.js.map +0 -1
- package/dist/migrations/1739166586058-AddJobIdentifierSysFailedBullJobsTable.ts.js.map +0 -1
- package/dist/migrations/1742242110370-AddIsDownloadableSysReportDetailsTable.ts.js.map +0 -1
- package/dist/migrations/1762178107733-AddDataSysEventLogsTable.ts.js.map +0 -1
- package/dist/migrations/1770625065996-AddIdentifierSysDocumentsTable.ts.js.map +0 -1
- package/dist/migrations/1773949393819-AddFileHashSysDocumentsTable.ts.js.map +0 -1
- package/dist/platformUtility/subscribers/remote.request.log.subscriber.d.ts +0 -10
- package/dist/platformUtility/subscribers/remote.request.log.subscriber.js +0 -34
- package/dist/platformUtility/subscribers/remote.request.log.subscriber.js.map +0 -1
- package/dist/system/dtos/event.log.attributes.dto.js +0 -8
- package/dist/system/dtos/event.log.attributes.dto.js.map +0 -1
- package/dist/system/dtos/system.log.attributes.dto.d.ts +0 -3
- package/dist/system/dtos/system.log.attributes.dto.js +0 -8
- package/dist/system/dtos/system.log.attributes.dto.js.map +0 -1
- package/dist/system/entities/event.log.entity.d.ts +0 -11
- package/dist/system/entities/event.log.entity.js +0 -50
- package/dist/system/entities/event.log.entity.js.map +0 -1
- package/dist/system/entities/system.log.entity.d.ts +0 -10
- package/dist/system/entities/system.log.entity.js.map +0 -1
- package/dist/system/interceptors/index.d.ts +0 -1
- package/dist/system/interceptors/index.js.map +0 -1
- package/dist/system/interceptors/sentry.interceptor.js +0 -66
- package/dist/system/interceptors/sentry.interceptor.js.map +0 -1
- package/dist/system/jobs/event.log.job.d.ts +0 -9
- package/dist/system/jobs/event.log.job.js.map +0 -1
- package/dist/system/jobs/system.log.job.d.ts +0 -9
- package/dist/system/jobs/system.log.job.js +0 -30
- package/dist/system/jobs/system.log.job.js.map +0 -1
- package/dist/system/jobs/test.mongo.job.d.ts +0 -9
- package/dist/system/jobs/test.mongo.job.js +0 -30
- package/dist/system/jobs/test.mongo.job.js.map +0 -1
- package/dist/system/mentities/index.d.ts +0 -1
- package/dist/system/mentities/index.js.map +0 -1
- package/dist/system/mentities/test.mentity.d.ts +0 -7
- package/dist/system/mentities/test.mentity.js +0 -37
- package/dist/system/mentities/test.mentity.js.map +0 -1
- package/dist/system/services/es6.service.d.ts +0 -18
- package/dist/system/services/es6.service.js +0 -57
- package/dist/system/services/es6.service.js.map +0 -1
- package/dist/system/services/logger.service.d.ts +0 -30
- package/dist/system/services/logger.service.js +0 -141
- package/dist/system/services/logger.service.js.map +0 -1
- package/dist/system/subscribers/client.credential.subscriber.d.ts +0 -11
- package/dist/system/subscribers/client.credential.subscriber.js +0 -38
- package/dist/system/subscribers/client.credential.subscriber.js.map +0 -1
- package/dist/system/subscribers/client.subscriber.d.ts +0 -10
- package/dist/system/subscribers/client.subscriber.js +0 -34
- package/dist/system/subscribers/client.subscriber.js.map +0 -1
- package/dist/system/subscribers/code.fix.log.subscriber.d.ts +0 -10
- package/dist/system/subscribers/code.fix.log.subscriber.js +0 -34
- package/dist/system/subscribers/code.fix.log.subscriber.js.map +0 -1
- package/dist/system/subscribers/code.fix.script.subscriber.d.ts +0 -13
- package/dist/system/subscribers/code.fix.script.subscriber.js +0 -56
- package/dist/system/subscribers/code.fix.script.subscriber.js.map +0 -1
- package/dist/system/subscribers/column.subscriber.d.ts +0 -10
- package/dist/system/subscribers/column.subscriber.js +0 -34
- package/dist/system/subscribers/column.subscriber.js.map +0 -1
- package/dist/system/subscribers/comment.subscriber.d.ts +0 -10
- package/dist/system/subscribers/comment.subscriber.js +0 -34
- package/dist/system/subscribers/comment.subscriber.js.map +0 -1
- package/dist/system/subscribers/credential.ip.subscriber.d.ts +0 -10
- package/dist/system/subscribers/credential.ip.subscriber.js +0 -34
- package/dist/system/subscribers/credential.ip.subscriber.js.map +0 -1
- package/dist/system/subscribers/data.log.subscriber.d.ts +0 -10
- package/dist/system/subscribers/data.log.subscriber.js +0 -34
- package/dist/system/subscribers/data.log.subscriber.js.map +0 -1
- package/dist/system/subscribers/document.subscriber.d.ts +0 -10
- package/dist/system/subscribers/document.subscriber.js +0 -34
- package/dist/system/subscribers/document.subscriber.js.map +0 -1
- package/dist/system/subscribers/event.log.subscriber.d.ts +0 -10
- package/dist/system/subscribers/event.log.subscriber.js +0 -34
- package/dist/system/subscribers/event.log.subscriber.js.map +0 -1
- package/dist/system/subscribers/executable.script.subscriber.d.ts +0 -10
- package/dist/system/subscribers/executable.script.subscriber.js +0 -34
- package/dist/system/subscribers/executable.script.subscriber.js.map +0 -1
- package/dist/system/subscribers/index.d.ts +0 -27
- package/dist/system/subscribers/index.js +0 -44
- package/dist/system/subscribers/index.js.map +0 -1
- package/dist/system/subscribers/mail.event.subscriber.d.ts +0 -10
- package/dist/system/subscribers/mail.event.subscriber.js +0 -34
- package/dist/system/subscribers/mail.event.subscriber.js.map +0 -1
- package/dist/system/subscribers/mail.recipient.subscriber.d.ts +0 -10
- package/dist/system/subscribers/mail.recipient.subscriber.js +0 -34
- package/dist/system/subscribers/mail.recipient.subscriber.js.map +0 -1
- package/dist/system/subscribers/mail.validation.subscriber.d.ts +0 -10
- package/dist/system/subscribers/mail.validation.subscriber.js +0 -34
- package/dist/system/subscribers/mail.validation.subscriber.js.map +0 -1
- package/dist/system/subscribers/material.view.subscriber.d.ts +0 -13
- package/dist/system/subscribers/material.view.subscriber.js +0 -56
- package/dist/system/subscribers/material.view.subscriber.js.map +0 -1
- package/dist/system/subscribers/mobile.validation.subscriber.d.ts +0 -10
- package/dist/system/subscribers/mobile.validation.subscriber.js +0 -34
- package/dist/system/subscribers/mobile.validation.subscriber.js.map +0 -1
- package/dist/system/subscribers/property.subscriber.d.ts +0 -12
- package/dist/system/subscribers/property.subscriber.js +0 -43
- package/dist/system/subscribers/property.subscriber.js.map +0 -1
- package/dist/system/subscribers/recurring.query.subscriber.d.ts +0 -13
- package/dist/system/subscribers/recurring.query.subscriber.js +0 -56
- package/dist/system/subscribers/recurring.query.subscriber.js.map +0 -1
- package/dist/system/subscribers/relationship.subscriber.d.ts +0 -10
- package/dist/system/subscribers/relationship.subscriber.js +0 -34
- package/dist/system/subscribers/relationship.subscriber.js.map +0 -1
- package/dist/system/subscribers/report.sheet.subscriber.d.ts +0 -10
- package/dist/system/subscribers/report.sheet.subscriber.js +0 -34
- package/dist/system/subscribers/report.sheet.subscriber.js.map +0 -1
- package/dist/system/subscribers/scheduled.event.subscriber.d.ts +0 -13
- package/dist/system/subscribers/scheduled.event.subscriber.js +0 -56
- package/dist/system/subscribers/scheduled.event.subscriber.js.map +0 -1
- package/dist/system/subscribers/sms.message.subscriber.d.ts +0 -10
- package/dist/system/subscribers/sms.message.subscriber.js +0 -34
- package/dist/system/subscribers/sms.message.subscriber.js.map +0 -1
- package/dist/system/subscribers/system.log.subscriber.d.ts +0 -10
- package/dist/system/subscribers/system.log.subscriber.js +0 -34
- package/dist/system/subscribers/system.log.subscriber.js.map +0 -1
- package/dist/system/subscribers/test.mongo.subscriber.d.ts +0 -6
- package/dist/system/subscribers/test.mongo.subscriber.js +0 -26
- package/dist/system/subscribers/test.mongo.subscriber.js.map +0 -1
- package/dist/system/subscribers/user.group.member.subscriber.d.ts +0 -10
- package/dist/system/subscribers/user.group.member.subscriber.js +0 -34
- package/dist/system/subscribers/user.group.member.subscriber.js.map +0 -1
- package/dist/system/subscribers/user.group.permission.subscriber.d.ts +0 -10
- package/dist/system/subscribers/user.group.permission.subscriber.js +0 -34
- package/dist/system/subscribers/user.group.permission.subscriber.js.map +0 -1
- package/dist/system/subscribers/user.group.role.subscriber.d.ts +0 -10
- package/dist/system/subscribers/user.group.role.subscriber.js +0 -34
- package/dist/system/subscribers/user.group.role.subscriber.js.map +0 -1
- /package/dist/migrations/{1580011348975-SysUsersTable.ts.d.ts → 1580011348975-SysUsersTable.d.ts} +0 -0
- /package/dist/migrations/{1580012157523-SysRolesTable.ts.d.ts → 1580012157523-SysRolesTable.d.ts} +0 -0
- /package/dist/migrations/{1580012268960-SysPermissionsTable.ts.d.ts → 1580012268960-SysPermissionsTable.d.ts} +0 -0
- /package/dist/migrations/{1580012428385-SysPropertiesTable.ts.d.ts → 1580012428385-SysPropertiesTable.d.ts} +0 -0
- /package/dist/migrations/{1580012617487-SysOpenPropertiesTable.ts.d.ts → 1580012617487-SysOpenPropertiesTable.d.ts} +0 -0
- /package/dist/migrations/{1580012802170-SysLookupTypesTable.ts.d.ts → 1580012802170-SysLookupTypesTable.d.ts} +0 -0
- /package/dist/migrations/{1580012876576-SysLookupValuesTable.ts.d.ts → 1580012876576-SysLookupValuesTable.d.ts} +0 -0
- /package/dist/migrations/{1580013243446-SysSystemScriptsTable.ts.d.ts → 1580013243446-SysSystemScriptsTable.d.ts} +0 -0
- /package/dist/migrations/{1580013426935-SysUserGroupsTable.ts.d.ts → 1580013426935-SysUserGroupsTable.d.ts} +0 -0
- /package/dist/migrations/{1580013438750-SysUserGroupMembersTable.ts.d.ts → 1580013438750-SysUserGroupMembersTable.d.ts} +0 -0
- /package/dist/migrations/{1580013583515-SysColumnDefinitionsTable.ts.d.ts → 1580013583515-SysColumnDefinitionsTable.d.ts} +0 -0
- /package/dist/migrations/{1580013737722-SysModelDetailsTable.ts.d.ts → 1580013737722-SysModelDetailsTable.d.ts} +0 -0
- /package/dist/migrations/{1580032909794-SysColumnDetailsTable.ts.d.ts → 1580032909794-SysColumnDetailsTable.d.ts} +0 -0
- /package/dist/migrations/{1580033076554-SysModelColumnsTable.ts.d.ts → 1580033076554-SysModelColumnsTable.d.ts} +0 -0
- /package/dist/migrations/{1580033241460-SysModelRelationshipsTable.ts.d.ts → 1580033241460-SysModelRelationshipsTable.d.ts} +0 -0
- /package/dist/migrations/{1580033439057-SysPageDefinitionsTable.ts.d.ts → 1580033439057-SysPageDefinitionsTable.d.ts} +0 -0
- /package/dist/migrations/{1580033536134-SysModuleDetailsTable.ts.d.ts → 1580033536134-SysModuleDetailsTable.d.ts} +0 -0
- /package/dist/migrations/{1580033654069-SysMenuDetailsTable.ts.d.ts → 1580033654069-SysMenuDetailsTable.d.ts} +0 -0
- /package/dist/migrations/{1580034121887-SysModuleMenusTable.ts.d.ts → 1580034121887-SysModuleMenusTable.d.ts} +0 -0
- /package/dist/migrations/{1580034434762-SysParentMenusTable.ts.d.ts → 1580034434762-SysParentMenusTable.d.ts} +0 -0
- /package/dist/migrations/{1580034626349-SysUserPreferencesTable.ts.d.ts → 1580034626349-SysUserPreferencesTable.d.ts} +0 -0
- /package/dist/migrations/{1580034717318-SysFormDetailsTable.ts.d.ts → 1580034717318-SysFormDetailsTable.d.ts} +0 -0
- /package/dist/migrations/{1580034866284-SysFormColumnsTable.ts.d.ts → 1580034866284-SysFormColumnsTable.d.ts} +0 -0
- /package/dist/migrations/{1580034927543-SysBusinessRulesTable.ts.d.ts → 1580034927543-SysBusinessRulesTable.d.ts} +0 -0
- /package/dist/migrations/{1580035169090-SysFormPreferencesTable.ts.d.ts → 1580035169090-SysFormPreferencesTable.d.ts} +0 -0
- /package/dist/migrations/{1580035241990-SysListPreferencesTable.ts.d.ts → 1580035241990-SysListPreferencesTable.d.ts} +0 -0
- /package/dist/migrations/{1580035351803-SysSecurityRulesTable.ts.d.ts → 1580035351803-SysSecurityRulesTable.d.ts} +0 -0
- /package/dist/migrations/{1580035532119-SysUiActionsTable.ts.d.ts → 1580035532119-SysUiActionsTable.d.ts} +0 -0
- /package/dist/migrations/{1580035823624-SysDeviceTokensTable.ts.d.ts → 1580035823624-SysDeviceTokensTable.d.ts} +0 -0
- /package/dist/migrations/{1580036042576-SysCountriesTable.ts.d.ts → 1580036042576-SysCountriesTable.d.ts} +0 -0
- /package/dist/migrations/{1580036055684-SysRefreshTokensTable.ts.d.ts → 1580036055684-SysRefreshTokensTable.d.ts} +0 -0
- /package/dist/migrations/{1580036754269-SysUserRolesTable.ts.d.ts → 1580036754269-SysUserRolesTable.d.ts} +0 -0
- /package/dist/migrations/{1580036787378-SysMenuRolesTable.ts.d.ts → 1580036787378-SysMenuRolesTable.d.ts} +0 -0
- /package/dist/migrations/{1580036809003-SysModelRolesTable.ts.d.ts → 1580036809003-SysModelRolesTable.d.ts} +0 -0
- /package/dist/migrations/{1580037052174-SysUiActionRolesTable.ts.d.ts → 1580037052174-SysUiActionRolesTable.d.ts} +0 -0
- /package/dist/migrations/{1580037081670-SysUserGroupRolesTable.ts.d.ts → 1580037081670-SysUserGroupRolesTable.d.ts} +0 -0
- /package/dist/migrations/{1580037119302-SysUserPermissionsTable.ts.d.ts → 1580037119302-SysUserPermissionsTable.d.ts} +0 -0
- /package/dist/migrations/{1599034575440-AddTimezoneOffsetSysCountriesTable.ts.d.ts → 1599034575440-AddTimezoneOffsetSysCountriesTable.d.ts} +0 -0
- /package/dist/migrations/{1606282995979-ActiveColumnSysDeviceTokensTable.ts.d.ts → 1606282995979-ActiveColumnSysDeviceTokensTable.d.ts} +0 -0
- /package/dist/migrations/{1609583413782-SystemGeneratedSysCommentsTable.ts.d.ts → 1609583413782-SystemGeneratedSysCommentsTable.d.ts} +0 -0
- /package/dist/migrations/{1610226459497-AddIndexOnTokenSysDeviceTokensTable.ts.d.ts → 1610226459497-AddIndexOnTokenSysDeviceTokensTable.d.ts} +0 -0
- /package/dist/migrations/{1615622117306-DeleteValueColumnSysUserPreferencesTable.ts.d.ts → 1615622117306-DeleteValueColumnSysUserPreferencesTable.d.ts} +0 -0
- /package/dist/migrations/{1615622742904-AddValueJsonColumnSysUserPreferencesTable.ts.d.ts → 1615622742904-AddValueJsonColumnSysUserPreferencesTable.d.ts} +0 -0
- /package/dist/migrations/{1615661067542-RemoveColumnDefinitionColumnSysListPreferencesTable.ts.d.ts → 1615661067542-RemoveColumnDefinitionColumnSysListPreferencesTable.d.ts} +0 -0
- /package/dist/migrations/{1615661131556-AddColumnDefinitionJsonColumnSysListPreferencesTable.ts.d.ts → 1615661131556-AddColumnDefinitionJsonColumnSysListPreferencesTable.d.ts} +0 -0
- /package/dist/migrations/{1615743889725-RemoveColumnDefinitionColumnSysFormPreferencesTable.ts.d.ts → 1615743889725-RemoveColumnDefinitionColumnSysFormPreferencesTable.d.ts} +0 -0
- /package/dist/migrations/{1615743931363-AddColumnDefinitionColumnSysFormPreferencesTable.ts.d.ts → 1615743931363-AddColumnDefinitionColumnSysFormPreferencesTable.d.ts} +0 -0
- /package/dist/migrations/{1616255314846-RenameRouteColumnSysMenuDetailsTable.ts.d.ts → 1616255314846-RenameRouteColumnSysMenuDetailsTable.d.ts} +0 -0
- /package/dist/migrations/{1616257589431-RenameRouteColumnSysModelDetailsTable.ts.d.ts → 1616257589431-RenameRouteColumnSysModelDetailsTable.d.ts} +0 -0
- /package/dist/migrations/{1616329406291-AddIncludesColumnSysMenuDetailsTable.ts.d.ts → 1616329406291-AddIncludesColumnSysMenuDetailsTable.d.ts} +0 -0
- /package/dist/migrations/{1616738455290-AddNameColumnSysReportParamsTable.ts.d.ts → 1616738455290-AddNameColumnSysReportParamsTable.d.ts} +0 -0
- /package/dist/migrations/{1616749370769-AddSourceColumnsSysRelationshipDetailsTable.ts.d.ts → 1616749370769-AddSourceColumnsSysRelationshipDetailsTable.d.ts} +0 -0
- /package/dist/migrations/{1616750113885-CreateTableSysModelRelationshipsTable.ts.d.ts → 1616750113885-CreateTableSysModelRelationshipsTable.d.ts} +0 -0
- /package/dist/migrations/{1617433544860-AddRouteColumnIncludesSysReportDetailsTable.ts.d.ts → 1617433544860-AddRouteColumnIncludesSysReportDetailsTable.d.ts} +0 -0
- /package/dist/migrations/{1619186436996-AddRouteIdentifierColumnSysModelDetailsTable.ts.d.ts → 1619186436996-AddRouteIdentifierColumnSysModelDetailsTable.d.ts} +0 -0
- /package/dist/migrations/{1619555997151-AddSourceColumnsSysUserRolesTable.ts.d.ts → 1619555997151-AddSourceColumnsSysUserRolesTable.d.ts} +0 -0
- /package/dist/migrations/{1619556025823-AddSourceColumnsSysUserPermissionsTable.ts.d.ts → 1619556025823-AddSourceColumnsSysUserPermissionsTable.d.ts} +0 -0
- /package/dist/migrations/{1633602353156-AddWhatsAppNumberSysCountriesTable.ts.d.ts → 1633602353156-AddWhatsAppNumberSysCountriesTable.d.ts} +0 -0
- /package/dist/migrations/{1645886071349-AddSubjectSysEmailTemplatesTable.ts.d.ts → 1645886071349-AddSubjectSysEmailTemplatesTable.d.ts} +0 -0
- /package/dist/migrations/{1652332064735-AddOrdinalPositionSysColumnDetailsTable.ts.d.ts → 1652332064735-AddOrdinalPositionSysColumnDetailsTable.d.ts} +0 -0
- /package/dist/migrations/{1662188562840-AddAttemptsSysUsersTable.ts.d.ts → 1662188562840-AddAttemptsSysUsersTable.d.ts} +0 -0
- /package/dist/migrations/{1675176639864-AddReportFilterTableSysReportFiltersTable.ts.d.ts → 1675176639864-AddReportFilterTableSysReportFiltersTable.d.ts} +0 -0
- /package/dist/migrations/{1675876187420-AddIsEncryptedSysPropertiesTable.ts.d.ts → 1675876187420-AddIsEncryptedSysPropertiesTable.d.ts} +0 -0
- /package/dist/migrations/{1679473705431-RemoveModelSysRelationshipDetailsTable.ts.d.ts → 1679473705431-RemoveModelSysRelationshipDetailsTable.d.ts} +0 -0
- /package/dist/migrations/{1684649589572-AddTypeSysCommentsTable.ts.d.ts → 1684649589572-AddTypeSysCommentsTable.d.ts} +0 -0
- /package/dist/migrations/{1692726438006-AddColumnTypeSysReportFiltersTable.ts.d.ts → 1692726438006-AddColumnTypeSysReportFiltersTable.d.ts} +0 -0
- /package/dist/migrations/{1698026335959-AddActiveSysSmsTemplatesTable.ts.d.ts → 1698026335959-AddActiveSysSmsTemplatesTable.d.ts} +0 -0
- /package/dist/migrations/{1700393526749-AddBodySysMailLogsTable.ts.d.ts → 1700393526749-AddBodySysMailLogsTable.d.ts} +0 -0
- /package/dist/migrations/{1700401846961-RemoveToColumnSysMailLogsTable.ts.d.ts → 1700401846961-RemoveToColumnSysMailLogsTable.d.ts} +0 -0
- /package/dist/migrations/{1732962774052-AddJsonDataSysScheduledEventsTable.ts.d.ts → 1732962774052-AddJsonDataSysScheduledEventsTable.d.ts} +0 -0
- /package/dist/migrations/{1732962856845-AddJsonPayloadSysEventQueuesTable.ts.d.ts → 1732962856845-AddJsonPayloadSysEventQueuesTable.d.ts} +0 -0
- /package/dist/migrations/{1735153438257-AddTimingSysCodefixScriptsTable.ts.d.ts → 1735153438257-AddTimingSysCodefixScriptsTable.d.ts} +0 -0
- /package/dist/migrations/{1735154396259-AddQuerySysRecurringQueriesTable.ts.d.ts → 1735154396259-AddQuerySysRecurringQueriesTable.d.ts} +0 -0
- /package/dist/migrations/{1735882485286-AddLastRunTimeSysCodefixScriptsTable.ts.d.ts → 1735882485286-AddLastRunTimeSysCodefixScriptsTable.d.ts} +0 -0
- /package/dist/migrations/{1735882522813-AddLastRunTimeSysRecurringQueriesTable.ts.d.ts → 1735882522813-AddLastRunTimeSysRecurringQueriesTable.d.ts} +0 -0
- /package/dist/migrations/{1739166543991-AddJobIdentifierSysPendingBullJobsTable.ts.d.ts → 1739166543991-AddJobIdentifierSysPendingBullJobsTable.d.ts} +0 -0
- /package/dist/migrations/{1739166586058-AddJobIdentifierSysFailedBullJobsTable.ts.d.ts → 1739166586058-AddJobIdentifierSysFailedBullJobsTable.d.ts} +0 -0
- /package/dist/migrations/{1742242110370-AddIsDownloadableSysReportDetailsTable.ts.d.ts → 1742242110370-AddIsDownloadableSysReportDetailsTable.d.ts} +0 -0
- /package/dist/migrations/{1762178107733-AddDataSysEventLogsTable.ts.d.ts → 1762178107733-AddDataSysEventLogsTable.d.ts} +0 -0
- /package/dist/migrations/{1770625065996-AddIdentifierSysDocumentsTable.ts.d.ts → 1770625065996-AddIdentifierSysDocumentsTable.d.ts} +0 -0
- /package/dist/migrations/{1773949393819-AddFileHashSysDocumentsTable.ts.d.ts → 1773949393819-AddFileHashSysDocumentsTable.d.ts} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1 +1,120 @@
|
|
|
1
|
-
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 3.0.0 — audit remediation (BREAKING)
|
|
4
|
+
|
|
5
|
+
This is a **major** release. `2.0.15` was published from the `production` branch; `main` had since
|
|
6
|
+
accumulated breaking changes that were sitting under an already-consumed patch version. Everything
|
|
7
|
+
below lands at once.
|
|
8
|
+
|
|
9
|
+
Read the **Action required** section before upgrading.
|
|
10
|
+
|
|
11
|
+
### Action required
|
|
12
|
+
|
|
13
|
+
**Runtime**
|
|
14
|
+
|
|
15
|
+
- **Node 24 is now required** (`engines: ^24.11.0`; Node 22 dropped). Installs on Node 22 fail.
|
|
16
|
+
|
|
17
|
+
**Environment variables**
|
|
18
|
+
|
|
19
|
+
| Variable | Default | Why |
|
|
20
|
+
|---|---|---|
|
|
21
|
+
| `INTERNAL_SERVER_KEY` | _(none)_ | **Now effectively required.** The admin-mutable `internal.server.key` DB fallback is off by default — `internal/*` requests are rejected when neither this nor the opt-in below is set. |
|
|
22
|
+
| `INTERNAL_SERVER_KEY_ALLOW_DB_FALLBACK` | `false` | Set to `true` only to restore the legacy DB-property fallback during migration. That row is editable from the admin API, so anyone who can write properties can mint the internal secret. |
|
|
23
|
+
| `MAIL_ATTACHMENT_LOCAL_ROOT` | `os.tmpdir()` | Directory local mail attachments may be read from. Set it if your app writes attachments elsewhere, or those sends will be rejected. |
|
|
24
|
+
|
|
25
|
+
**System properties** (all optional, all have safe defaults — no action needed unless you want to override)
|
|
26
|
+
|
|
27
|
+
`lambda.split.pdf.url`, `lambda.split.pdf.max.bytes`, `lambda.split.pdf.timeout.ms`, `pdf.html.signed.url.ttl.seconds`.
|
|
28
|
+
|
|
29
|
+
**Database**
|
|
30
|
+
|
|
31
|
+
- Migrations drop `sys_event_logs` and `sys_system_logs`. **Data in those tables is destroyed** —
|
|
32
|
+
archive first if you need it. (`down()` recreates the shape, not the rows.)
|
|
33
|
+
- The json→jsonb migration rewrites many `sys_` tables. It now skips columns already `jsonb` and is
|
|
34
|
+
re-runnable, but the first run still takes `ACCESS EXCLUSIVE` locks — **run it in a maintenance window**.
|
|
35
|
+
- `pgcrypto` is required by the refresh-token migration. On a least-privilege database, create it
|
|
36
|
+
manually first; the migration now fails with an actionable message naming the required SQL.
|
|
37
|
+
|
|
38
|
+
**Publishing** — `prepublishOnly` now refuses to publish unless `dist/index.js` and `dist/index.d.ts`
|
|
39
|
+
exist. The barrels come from the out-of-repo `slnu` step, not `nest build`; run it before publishing.
|
|
40
|
+
|
|
41
|
+
### Breaking API changes
|
|
42
|
+
|
|
43
|
+
**Constructor signatures** (DI-wired consumers are unaffected; manual `new` breaks)
|
|
44
|
+
|
|
45
|
+
- `MailService(propertyService, uploadService, awsClientFactory, emithookMailService)` — was
|
|
46
|
+
`(propertyService, uploadService, awsConfigService)`.
|
|
47
|
+
- `PdfService` gained a 5th parameter, `StorageService`.
|
|
48
|
+
- `EventQueueService` gained a 2nd parameter, `SqlService`.
|
|
49
|
+
|
|
50
|
+
**Removed**
|
|
51
|
+
|
|
52
|
+
- `EventLogEntity`, `SystemLogEntity`, `LoggerService`, `test.mongo.job`, `test.mentity`,
|
|
53
|
+
`role.mapping`, `sql.safety` (its helpers are now instance methods on `SqlService`), and ~28
|
|
54
|
+
subscriber stubs (folded into jobs via the `@SubscribeFor` registry).
|
|
55
|
+
- `CommonJob` logging helpers (`log` / `info` / `warn` / `error` / `saveLogs`, `logIdentifier`,
|
|
56
|
+
`logJobActivity`, `disableLogging`).
|
|
57
|
+
- `CommonMapperJob` is no longer generic — `extends CommonMapperJob<Foo>` must become
|
|
58
|
+
`extends CommonMapperJob`.
|
|
59
|
+
- `engine.feature.support.dto` moved to `interfaces/engine.feature.support.interface`.
|
|
60
|
+
|
|
61
|
+
**Behavioural**
|
|
62
|
+
|
|
63
|
+
- `RemoteRequestService` now blocks SSRF targets: non-http(s) schemes, and hosts resolving to
|
|
64
|
+
loopback / private / link-local (incl. `169.254.169.254`) ranges — on the initial URL *and* on
|
|
65
|
+
redirect hops. **Calls to internal hosts now fail** unless you pass `allowInternal: true` on the
|
|
66
|
+
request options or source config. `getRawResponse` still never throws — a blocked URL returns
|
|
67
|
+
`{ success: false }`.
|
|
68
|
+
- `PdfService.uploadHtml` / `getHtmlUrl` return a **time-limited presigned URL** against a private
|
|
69
|
+
object, not a permanent public one. Anything persisting that URL as a durable link will see it expire.
|
|
70
|
+
- `ProcessSesMail` now **rejects** when SES fails. It previously resolved with the `Error` object,
|
|
71
|
+
producing a mail log indistinguishable from a successful send. This aligns `ses` with the `smtp`
|
|
72
|
+
and `sesRaw` gateways, which already rejected.
|
|
73
|
+
- `MailService` throws `OperationException` when no mail gateway is configured, instead of crashing
|
|
74
|
+
with `Cannot destructure property 'identifier' of undefined`.
|
|
75
|
+
- `RedisService.flushdb()` is now **prefix-scoped** — it deletes only this application's keys via
|
|
76
|
+
`SCAN`/`UNLINK`. `flushdb(true)` performs the old unscoped `FLUSHDB`. `keys()` uses `SCAN` instead
|
|
77
|
+
of the blocking `KEYS`.
|
|
78
|
+
- `CommonSqsPolling` deletes a message only **after** the handler succeeds. A permanently-failing
|
|
79
|
+
message now redelivers (at-least-once) instead of being dropped on first attempt.
|
|
80
|
+
- Kaleyra SMS honours `dialing_code` — **non-Indian numbers are now addressed correctly** rather than
|
|
81
|
+
being forced to `+91`. The API key is no longer duplicated into the request body.
|
|
82
|
+
- A **revoked session is now rejected** (`AccessException`) instead of silently continuing as
|
|
83
|
+
anonymous. Logout genuinely invalidates the access token: login now issues and persists a
|
|
84
|
+
`session_identifier`, which the previous release signed nowhere, leaving revocation inert.
|
|
85
|
+
- Refresh-token rotation claims the row atomically; a lost race is treated as reuse — the token
|
|
86
|
+
family is revoked and an `AccessException` is thrown.
|
|
87
|
+
- Social login **refuses to auto-link** to an existing local account whose email was never verified.
|
|
88
|
+
- Access checks fail closed. `hasRoleIdentifier`, `hasAbsoluteRoleId`, `hasAbsoluteRoleIdentifier`,
|
|
89
|
+
`hasPermissionId`, `hasPermissionIdentifier`, `hasAbsolutePermissionId` and
|
|
90
|
+
`hasAbsolutePermissionIdentifier` previously **granted** access when the user's role/permission
|
|
91
|
+
array was absent (`undefined !== -1`). If you relied on that, those calls now correctly deny.
|
|
92
|
+
- `Money` arithmetic throws on a non-finite result (e.g. divide by zero) instead of yielding
|
|
93
|
+
`Infinity`/`NaN` and passing it to a Postgres `numeric` column.
|
|
94
|
+
- Report keyset pagination models `NULLS FIRST/LAST`; reports ordering on a nullable column no longer
|
|
95
|
+
silently drop rows. Reports that previously failed to parse a `NULLS FIRST/LAST` clause now succeed.
|
|
96
|
+
|
|
97
|
+
### Fixed
|
|
98
|
+
|
|
99
|
+
Security: unauthenticated open mail relay removed; internal audit documents no longer published to
|
|
100
|
+
npm; SSRF guards on outbound requests and mail attachments; arbitrary local-file read via mail
|
|
101
|
+
attachments closed; world-readable, guessable PDF uploads made private; Emithook path-injection and
|
|
102
|
+
unstable idempotency keys; Kaleyra API key kept out of request logs; privilege escalation in access
|
|
103
|
+
checks; session revocation made functional; refresh-token rotation race; social account-link
|
|
104
|
+
takeover; admin-mutable internal server key; sandbox no longer hands host objects to stored scripts;
|
|
105
|
+
`/health/quick` no longer runs an unauthenticated heavy Redis probe and stack traces are not returned
|
|
106
|
+
to anonymous callers.
|
|
107
|
+
|
|
108
|
+
Correctness: `DynamoService.updateItem` existing-row read; mail dropping all but the first recipient;
|
|
109
|
+
SQS polling processing only one batch per invocation, poison-message redelivery loops, and shared
|
|
110
|
+
job-singleton state; duplicate event dispatch under overlapping schedulers; `NaN` BullMQ retention
|
|
111
|
+
limits; `isMongoEntity` never matching; `CachedProperty` stale-on-error and loader dogpile;
|
|
112
|
+
post-commit dispatch failures being silently swallowed; SQS FIFO batches serialised onto one group id;
|
|
113
|
+
unbounded orphan-sweeper memory; manager SQL value interpolation.
|
|
114
|
+
|
|
115
|
+
Tooling: CI now actually runs (it targeted a branch that does not exist) and gates lint, build and
|
|
116
|
+
tests on Node 24.
|
|
117
|
+
|
|
118
|
+
## 1.0.0
|
|
119
|
+
|
|
120
|
+
Initial release.
|
package/README.md
CHANGED
|
@@ -24,7 +24,14 @@
|
|
|
24
24
|
|
|
25
25
|
## Description
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
NestJS utility library (`@servicelabsco/nestjs-utility-services`) — auth, system
|
|
28
|
+
domain, platform services, jobs, and shared framework primitives for Finnoto apps.
|
|
29
|
+
|
|
30
|
+
### Sentry reporting
|
|
31
|
+
|
|
32
|
+
Consuming apps must wire early SDK init plus `SentryReportingModule`. See
|
|
33
|
+
**[docs/sentry-reporting.md](docs/sentry-reporting.md)** for the full integration
|
|
34
|
+
checklist (`instrument.ts`, `AppModule`, env vars, workers).
|
|
28
35
|
|
|
29
36
|
## Installation
|
|
30
37
|
|
package/dist/app.controller.d.ts
CHANGED
|
@@ -5,13 +5,12 @@ import { MailService } from './platformUtility/services/mail.service';
|
|
|
5
5
|
import { QueueService } from './platformUtility/services/queue.service';
|
|
6
6
|
import { RedisService } from './platformUtility/services/redis.service';
|
|
7
7
|
import { SqlService } from './platformUtility/services/sql.service';
|
|
8
|
+
import { ZipService } from './platformUtility/services/zip.service';
|
|
8
9
|
import { ExecuteCodeFixJob } from './system/jobs/execute.code.fix.job';
|
|
9
10
|
import { SetScheduledEventJob } from './system/jobs/set.scheduled.event.job';
|
|
10
11
|
import { SyncAllCodeJob } from './system/jobs/sync.all.code.job';
|
|
11
|
-
import { LoggerService } from './system/services/logger.service';
|
|
12
12
|
import { PropertyService } from './system/services/property.service';
|
|
13
13
|
import { UploadService } from './system/services/upload.service';
|
|
14
|
-
import { ZipService } from './platformUtility/services/zip.service';
|
|
15
14
|
export declare class AppController {
|
|
16
15
|
private readonly queueService;
|
|
17
16
|
protected readonly testJob: TestJob;
|
|
@@ -24,15 +23,18 @@ export declare class AppController {
|
|
|
24
23
|
protected readonly auditService: AuditService;
|
|
25
24
|
protected readonly redisService: RedisService;
|
|
26
25
|
protected readonly uploadService: UploadService;
|
|
27
|
-
protected readonly loggerService: LoggerService;
|
|
28
26
|
protected readonly cacheService: CacheService;
|
|
29
27
|
protected readonly zipService: ZipService;
|
|
30
|
-
constructor(queueService: QueueService, testJob: TestJob, setScheduledEventJob: SetScheduledEventJob, mailService: MailService, propertyService: PropertyService, sqlService: SqlService, executeCodeFixJob: ExecuteCodeFixJob, syncAllCodeJob: SyncAllCodeJob, auditService: AuditService, redisService: RedisService, uploadService: UploadService,
|
|
28
|
+
constructor(queueService: QueueService, testJob: TestJob, setScheduledEventJob: SetScheduledEventJob, mailService: MailService, propertyService: PropertyService, sqlService: SqlService, executeCodeFixJob: ExecuteCodeFixJob, syncAllCodeJob: SyncAllCodeJob, auditService: AuditService, redisService: RedisService, uploadService: UploadService, cacheService: CacheService, zipService: ZipService);
|
|
31
29
|
get(): Promise<{
|
|
32
30
|
message: string;
|
|
33
31
|
}>;
|
|
32
|
+
getError(): void;
|
|
34
33
|
getUserAuthObject(): Promise<any>;
|
|
35
34
|
testOne(): Promise<any>;
|
|
36
35
|
getQueueInstance(): Promise<any>;
|
|
37
36
|
queue(id: string): Promise<any>;
|
|
37
|
+
fileHash(str: string): {
|
|
38
|
+
hash: string;
|
|
39
|
+
};
|
|
38
40
|
}
|
package/dist/app.controller.js
CHANGED
|
@@ -15,6 +15,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
15
15
|
exports.AppController = void 0;
|
|
16
16
|
const common_1 = require("@nestjs/common");
|
|
17
17
|
const auth_1 = require("./common/libraries/auth");
|
|
18
|
+
const hash_1 = require("./common/libraries/hash");
|
|
18
19
|
const test_job_1 = require("./platformUtility/jobs/test.job");
|
|
19
20
|
const audit_service_1 = require("./platformUtility/services/audit.service");
|
|
20
21
|
const cache_service_1 = require("./platformUtility/services/cache.service");
|
|
@@ -22,15 +23,14 @@ const mail_service_1 = require("./platformUtility/services/mail.service");
|
|
|
22
23
|
const queue_service_1 = require("./platformUtility/services/queue.service");
|
|
23
24
|
const redis_service_1 = require("./platformUtility/services/redis.service");
|
|
24
25
|
const sql_service_1 = require("./platformUtility/services/sql.service");
|
|
26
|
+
const zip_service_1 = require("./platformUtility/services/zip.service");
|
|
25
27
|
const execute_code_fix_job_1 = require("./system/jobs/execute.code.fix.job");
|
|
26
28
|
const set_scheduled_event_job_1 = require("./system/jobs/set.scheduled.event.job");
|
|
27
29
|
const sync_all_code_job_1 = require("./system/jobs/sync.all.code.job");
|
|
28
|
-
const logger_service_1 = require("./system/services/logger.service");
|
|
29
30
|
const property_service_1 = require("./system/services/property.service");
|
|
30
31
|
const upload_service_1 = require("./system/services/upload.service");
|
|
31
|
-
const zip_service_1 = require("./platformUtility/services/zip.service");
|
|
32
32
|
let AppController = class AppController {
|
|
33
|
-
constructor(queueService, testJob, setScheduledEventJob, mailService, propertyService, sqlService, executeCodeFixJob, syncAllCodeJob, auditService, redisService, uploadService,
|
|
33
|
+
constructor(queueService, testJob, setScheduledEventJob, mailService, propertyService, sqlService, executeCodeFixJob, syncAllCodeJob, auditService, redisService, uploadService, cacheService, zipService) {
|
|
34
34
|
this.queueService = queueService;
|
|
35
35
|
this.testJob = testJob;
|
|
36
36
|
this.setScheduledEventJob = setScheduledEventJob;
|
|
@@ -42,13 +42,15 @@ let AppController = class AppController {
|
|
|
42
42
|
this.auditService = auditService;
|
|
43
43
|
this.redisService = redisService;
|
|
44
44
|
this.uploadService = uploadService;
|
|
45
|
-
this.loggerService = loggerService;
|
|
46
45
|
this.cacheService = cacheService;
|
|
47
46
|
this.zipService = zipService;
|
|
48
47
|
}
|
|
49
48
|
async get() {
|
|
50
49
|
return { message: 'Hello World!' };
|
|
51
50
|
}
|
|
51
|
+
getError() {
|
|
52
|
+
throw new Error('My first Sentry error!');
|
|
53
|
+
}
|
|
52
54
|
async getUserAuthObject() {
|
|
53
55
|
return auth_1.Auth.user();
|
|
54
56
|
}
|
|
@@ -61,6 +63,9 @@ let AppController = class AppController {
|
|
|
61
63
|
async queue(id) {
|
|
62
64
|
return this.queueService.getJobDetails(id);
|
|
63
65
|
}
|
|
66
|
+
fileHash(str) {
|
|
67
|
+
return { hash: hash_1.Hash.hashMD5(str) };
|
|
68
|
+
}
|
|
64
69
|
};
|
|
65
70
|
exports.AppController = AppController;
|
|
66
71
|
__decorate([
|
|
@@ -69,6 +74,12 @@ __decorate([
|
|
|
69
74
|
__metadata("design:paramtypes", []),
|
|
70
75
|
__metadata("design:returntype", Promise)
|
|
71
76
|
], AppController.prototype, "get", null);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, common_1.Get)('/debug-sentry'),
|
|
79
|
+
__metadata("design:type", Function),
|
|
80
|
+
__metadata("design:paramtypes", []),
|
|
81
|
+
__metadata("design:returntype", void 0)
|
|
82
|
+
], AppController.prototype, "getError", null);
|
|
72
83
|
__decorate([
|
|
73
84
|
(0, common_1.Get)('api/auth'),
|
|
74
85
|
__metadata("design:type", Function),
|
|
@@ -94,6 +105,13 @@ __decorate([
|
|
|
94
105
|
__metadata("design:paramtypes", [String]),
|
|
95
106
|
__metadata("design:returntype", Promise)
|
|
96
107
|
], AppController.prototype, "queue", null);
|
|
108
|
+
__decorate([
|
|
109
|
+
(0, common_1.Get)('api/admin/file-hash/:str'),
|
|
110
|
+
__param(0, (0, common_1.Param)('str')),
|
|
111
|
+
__metadata("design:type", Function),
|
|
112
|
+
__metadata("design:paramtypes", [String]),
|
|
113
|
+
__metadata("design:returntype", Object)
|
|
114
|
+
], AppController.prototype, "fileHash", null);
|
|
97
115
|
exports.AppController = AppController = __decorate([
|
|
98
116
|
(0, common_1.Controller)(),
|
|
99
117
|
__metadata("design:paramtypes", [queue_service_1.QueueService,
|
|
@@ -107,7 +125,6 @@ exports.AppController = AppController = __decorate([
|
|
|
107
125
|
audit_service_1.AuditService,
|
|
108
126
|
redis_service_1.RedisService,
|
|
109
127
|
upload_service_1.UploadService,
|
|
110
|
-
logger_service_1.LoggerService,
|
|
111
128
|
cache_service_1.CacheService,
|
|
112
129
|
zip_service_1.ZipService])
|
|
113
130
|
], AppController);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.controller.js","sourceRoot":"","sources":["../src/app.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAwD;AACxD,kDAA+C;AAC/C,8DAA0D;AAC1D,4EAAwE;AACxE,4EAAwE;AACxE,0EAAsE;AACtE,4EAAwE;AACxE,4EAAwE;AACxE,wEAAoE;AACpE,6EAAuE;AACvE,mFAA6E;AAC7E,uEAAiE;AACjE,
|
|
1
|
+
{"version":3,"file":"app.controller.js","sourceRoot":"","sources":["../src/app.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAwD;AACxD,kDAA+C;AAC/C,kDAA+C;AAC/C,8DAA0D;AAC1D,4EAAwE;AACxE,4EAAwE;AACxE,0EAAsE;AACtE,4EAAwE;AACxE,4EAAwE;AACxE,wEAAoE;AACpE,wEAAoE;AACpE,6EAAuE;AACvE,mFAA6E;AAC7E,uEAAiE;AACjE,yEAAqE;AACrE,qEAAiE;AAS1D,IAAM,aAAa,GAAnB,MAAM,aAAa;IAetB,YACqB,YAA0B,EACxB,OAAgB,EAChB,oBAA0C,EAC1C,WAAwB,EACxB,eAAgC,EAChC,UAAsB,EACtB,iBAAoC,EACpC,cAA8B,EAC9B,YAA0B,EAC1B,YAA0B,EAC1B,aAA4B,EAC5B,YAA0B,EAC1B,UAAsB;QAZxB,iBAAY,GAAZ,YAAY,CAAc;QACxB,YAAO,GAAP,OAAO,CAAS;QAChB,yBAAoB,GAApB,oBAAoB,CAAsB;QAC1C,gBAAW,GAAX,WAAW,CAAa;QACxB,oBAAe,GAAf,eAAe,CAAiB;QAChC,eAAU,GAAV,UAAU,CAAY;QACtB,sBAAiB,GAAjB,iBAAiB,CAAmB;QACpC,mBAAc,GAAd,cAAc,CAAgB;QAC9B,iBAAY,GAAZ,YAAY,CAAc;QAC1B,iBAAY,GAAZ,YAAY,CAAc;QAC1B,kBAAa,GAAb,aAAa,CAAe;QAC5B,iBAAY,GAAZ,YAAY,CAAc;QAC1B,eAAU,GAAV,UAAU,CAAY;IAC1C,CAAC;IAOE,AAAN,KAAK,CAAC,GAAG;QACL,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,CAAC;IACvC,CAAC;IAGD,QAAQ;QACJ,MAAM,IAAI,KAAK,CAAC,wBAAwB,CAAC,CAAC;IAC9C,CAAC;IAOK,AAAN,KAAK,CAAC,iBAAiB;QACnB,OAAO,WAAI,CAAC,IAAI,EAAE,CAAC;IACvB,CAAC;IAOK,AAAN,KAAK,CAAC,OAAO;QACT,OAAO,WAAI,CAAC,IAAI,EAAE,CAAC;IACvB,CAAC;IAQK,AAAN,KAAK,CAAC,gBAAgB;QAClB,OAAO,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC;IAClC,CAAC;IASK,AAAN,KAAK,CAAC,KAAK,CAAc,EAAU;QAC/B,OAAO,IAAI,CAAC,YAAY,CAAC,aAAa,CAAC,EAAE,CAAC,CAAC;IAC/C,CAAC;IAUD,QAAQ,CAAe,GAAW;QAC9B,OAAO,EAAE,IAAI,EAAE,WAAI,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC;IACvC,CAAC;CACJ,CAAA;AA/FY,sCAAa;AAoChB;IADL,IAAA,YAAG,GAAE;;;;wCAGL;AAGD;IADC,IAAA,YAAG,EAAC,eAAe,CAAC;;;;6CAGpB;AAOK;IADL,IAAA,YAAG,EAAC,UAAU,CAAC;;;;sDAGf;AAOK;IADL,IAAA,YAAG,EAAC,UAAU,CAAC;;;;4CAGf;AAQK;IADL,IAAA,YAAG,EAAC,0BAA0B,CAAC;;;;qDAG/B;AASK;IADL,IAAA,YAAG,EAAC,8BAA8B,CAAC;IACvB,WAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;;;;0CAEvB;AAUD;IADC,IAAA,YAAG,EAAC,0BAA0B,CAAC;IACtB,WAAA,IAAA,cAAK,EAAC,KAAK,CAAC,CAAA;;;;6CAErB;wBA9FQ,aAAa;IADzB,IAAA,mBAAU,GAAE;qCAiB0B,4BAAY;QACf,kBAAO;QACM,8CAAoB;QAC7B,0BAAW;QACP,kCAAe;QACpB,wBAAU;QACH,wCAAiB;QACpB,kCAAc;QAChB,4BAAY;QACZ,4BAAY;QACX,8BAAa;QACd,4BAAY;QACd,wBAAU;GA5BpC,aAAa,CA+FzB"}
|
package/dist/app.module.js
CHANGED
|
@@ -61,6 +61,7 @@ const ormconfig = __importStar(require("./config/typeorm.config"));
|
|
|
61
61
|
const health_check_controller_1 = require("./health.check.controller");
|
|
62
62
|
const maintenance_middleware_1 = require("./platformUtility/middlewares/maintenance.middleware");
|
|
63
63
|
const platform_utility_module_1 = require("./platformUtility/platform.utility.module");
|
|
64
|
+
const sentry_reporting_module_1 = require("./platformUtility/sentry.reporting.module");
|
|
64
65
|
const shutdown_service_1 = require("./platformUtility/services/shutdown.service");
|
|
65
66
|
const security_module_1 = require("./security/security.module");
|
|
66
67
|
const menu_controller_1 = require("./system/controllers/menu.controller");
|
|
@@ -68,17 +69,23 @@ const system_module_1 = require("./system/system.module");
|
|
|
68
69
|
const worker_service_1 = require("./worker.service");
|
|
69
70
|
let AppModule = class AppModule {
|
|
70
71
|
configure(consumer) {
|
|
71
|
-
consumer
|
|
72
|
+
consumer
|
|
73
|
+
.apply(maintenance_middleware_1.MaintenanceMiddleware)
|
|
74
|
+
.exclude({ path: 'health', method: common_1.RequestMethod.ALL }, { path: 'health/(.*)', method: common_1.RequestMethod.ALL })
|
|
75
|
+
.forRoutes({ path: '*', method: common_1.RequestMethod.ALL });
|
|
72
76
|
consumer.apply(jwt_middleware_1.JwtMiddleware).forRoutes({ path: '*', method: common_1.RequestMethod.ALL });
|
|
73
77
|
consumer.apply(basic_auth_middleware_1.BasicAuthMiddleware).forRoutes({ path: '*', method: common_1.RequestMethod.ALL });
|
|
74
78
|
consumer.apply(restricted_middleware_1.RestrictedMiddleware).forRoutes({ path: 'api/*', method: common_1.RequestMethod.ALL });
|
|
75
|
-
consumer
|
|
79
|
+
consumer
|
|
80
|
+
.apply(internal_middleware_1.InternalMiddleware)
|
|
81
|
+
.forRoutes({ path: 'internal/*', method: common_1.RequestMethod.ALL }, { path: 'health/detailed', method: common_1.RequestMethod.GET });
|
|
76
82
|
}
|
|
77
83
|
};
|
|
78
84
|
exports.AppModule = AppModule;
|
|
79
85
|
exports.AppModule = AppModule = __decorate([
|
|
80
86
|
(0, common_1.Module)({
|
|
81
87
|
imports: [
|
|
88
|
+
sentry_reporting_module_1.SentryReportingModule.forRoot(),
|
|
82
89
|
typeorm_1.TypeOrmModule.forRoot(ormconfig),
|
|
83
90
|
typeorm_1.TypeOrmModule.forRoot(readOrmconfig),
|
|
84
91
|
typeorm_1.TypeOrmModule.forRoot(mongoOrmconfig),
|
package/dist/app.module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.module.js","sourceRoot":"","sources":["../src/app.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA4C;AAC5C,2CAA2E;AAC3E,2CAA8C;AAC9C,+CAAkD;AAClD,6CAAgD;AAChD,qDAAiD;AACjD,+CAA2C;AAC3C,oDAAgD;AAChD,oFAA+E;AAC/E,oFAA+E;AAC/E,gFAA4E;AAC5E,sEAAkE;AAClE,oFAAgF;AAChF,0DAAsD;AACtD,sEAAwD;AACxD,mEAAqD;AACrD,4EAA8D;AAC9D,mEAAqD;AACrD,uEAAkE;AAClE,iGAA6F;AAC7F,uFAAkF;AAClF,kFAA8E;AAC9E,gEAA4D;AAC5D,0EAAsE;AACtE,0DAAsD;AACtD,qDAAiD;
|
|
1
|
+
{"version":3,"file":"app.module.js","sourceRoot":"","sources":["../src/app.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA4C;AAC5C,2CAA2E;AAC3E,2CAA8C;AAC9C,+CAAkD;AAClD,6CAAgD;AAChD,qDAAiD;AACjD,+CAA2C;AAC3C,oDAAgD;AAChD,oFAA+E;AAC/E,oFAA+E;AAC/E,gFAA4E;AAC5E,sEAAkE;AAClE,oFAAgF;AAChF,0DAAsD;AACtD,sEAAwD;AACxD,mEAAqD;AACrD,4EAA8D;AAC9D,mEAAqD;AACrD,uEAAkE;AAClE,iGAA6F;AAC7F,uFAAkF;AAClF,uFAAkF;AAClF,kFAA8E;AAC9E,gEAA4D;AAC5D,0EAAsE;AACtE,0DAAsD;AACtD,qDAAiD;AAuB1C,IAAM,SAAS,GAAf,MAAM,SAAS;IAGlB,SAAS,CAAC,QAA4B;QAIlC,QAAQ;aACH,KAAK,CAAC,8CAAqB,CAAC;aAC5B,OAAO,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,sBAAa,CAAC,GAAG,EAAE,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,EAAE,sBAAa,CAAC,GAAG,EAAE,CAAC;aAC1G,SAAS,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,sBAAa,CAAC,GAAG,EAAE,CAAC,CAAC;QACzD,QAAQ,CAAC,KAAK,CAAC,8BAAa,CAAC,CAAC,SAAS,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,sBAAa,CAAC,GAAG,EAAE,CAAC,CAAC;QAClF,QAAQ,CAAC,KAAK,CAAC,2CAAmB,CAAC,CAAC,SAAS,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,sBAAa,CAAC,GAAG,EAAE,CAAC,CAAC;QACxF,QAAQ,CAAC,KAAK,CAAC,4CAAoB,CAAC,CAAC,SAAS,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,sBAAa,CAAC,GAAG,EAAE,CAAC,CAAC;QAC7F,QAAQ;aACH,KAAK,CAAC,wCAAkB,CAAC;aAIzB,SAAS,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,EAAE,sBAAa,CAAC,GAAG,EAAE,EAAE,EAAE,IAAI,EAAE,iBAAiB,EAAE,MAAM,EAAE,sBAAa,CAAC,GAAG,EAAE,CAAC,CAAC;IAC9H,CAAC;CACJ,CAAA;AArBY,8BAAS;oBAAT,SAAS;IArBrB,IAAA,eAAM,EAAC;QACJ,OAAO,EAAE;YACL,+CAAqB,CAAC,OAAO,EAAE;YAC/B,uBAAa,CAAC,OAAO,CAAC,SAAS,CAAC;YAChC,uBAAa,CAAC,OAAO,CAAC,aAAa,CAAC;YACpC,uBAAa,CAAC,OAAO,CAAC,cAAc,CAAC;YACrC,mBAAU,CAAC,OAAO,CAAC,WAAW,CAAC;YAC/B,qBAAY,CAAC,OAAO,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;YACxC,+CAAqB;YACrB,wBAAU;YACV,4BAAY;YACZ,gCAAc;YACd,4BAAY;YACZ,yBAAc,CAAC,OAAO,CAAC;gBACnB,aAAa,EAAE,QAAQ;gBACvB,MAAM,EAAE,IAAI;aACf,CAAC;SACL;QACD,WAAW,EAAE,CAAC,8BAAa,EAAE,2CAAmB,EAAE,gCAAc,EAAE,+CAAqB,CAAC;QACxF,SAAS,EAAE,CAAC,wBAAU,EAAE,8BAAa,EAAE,kCAAe,CAAC;KAC1D,CAAC;GACW,SAAS,CAqBrB"}
|
|
@@ -4,16 +4,20 @@ import { UserLoginDto } from '../dtos/user.login.dto';
|
|
|
4
4
|
import { DeviceTokenEntity } from '../entities/device.token.entity';
|
|
5
5
|
import { AuthService } from '../services/auth.service';
|
|
6
6
|
import { DeviceTokenService } from '../services/device.token.service';
|
|
7
|
+
import { RefreshTokenService } from '../services/refresh.token.service';
|
|
7
8
|
import { UserService } from '../services/user.service';
|
|
8
9
|
export declare class AdminAuthController {
|
|
9
10
|
private readonly authService;
|
|
10
11
|
private readonly userService;
|
|
11
12
|
private readonly deviceTokenService;
|
|
12
|
-
|
|
13
|
+
private readonly refreshTokenService;
|
|
14
|
+
constructor(authService: AuthService, userService: UserService, deviceTokenService: DeviceTokenService, refreshTokenService: RefreshTokenService);
|
|
13
15
|
checkLogin(): Promise<UserAccessDto>;
|
|
14
16
|
login(body: UserLoginDto, req: Request): Promise<UserAccessDto>;
|
|
15
17
|
loginInfo(req: Request | any): Promise<any>;
|
|
16
18
|
device(req: Request, body: DeviceTokenEntity): Promise<DeviceTokenEntity>;
|
|
17
19
|
getToken(req: Request, token: string): Promise<UserAccessDto>;
|
|
18
|
-
logout(req: Request): Promise<
|
|
20
|
+
logout(req: Request): Promise<{
|
|
21
|
+
status: 'ok';
|
|
22
|
+
}>;
|
|
19
23
|
}
|
|
@@ -25,12 +25,14 @@ const refresh_token_entity_1 = require("../entities/refresh.token.entity");
|
|
|
25
25
|
const user_entity_1 = require("../entities/user.entity");
|
|
26
26
|
const auth_service_1 = require("../services/auth.service");
|
|
27
27
|
const device_token_service_1 = require("../services/device.token.service");
|
|
28
|
+
const refresh_token_service_1 = require("../services/refresh.token.service");
|
|
28
29
|
const user_service_1 = require("../services/user.service");
|
|
29
30
|
let AdminAuthController = class AdminAuthController {
|
|
30
|
-
constructor(authService, userService, deviceTokenService) {
|
|
31
|
+
constructor(authService, userService, deviceTokenService, refreshTokenService) {
|
|
31
32
|
this.authService = authService;
|
|
32
33
|
this.userService = userService;
|
|
33
34
|
this.deviceTokenService = deviceTokenService;
|
|
35
|
+
this.refreshTokenService = refreshTokenService;
|
|
34
36
|
}
|
|
35
37
|
async checkLogin() {
|
|
36
38
|
const auth = auth_1.Auth.user();
|
|
@@ -62,40 +64,51 @@ let AdminAuthController = class AdminAuthController {
|
|
|
62
64
|
return this.deviceTokenService.setDeviceToken(req, body);
|
|
63
65
|
}
|
|
64
66
|
async getToken(req, token) {
|
|
65
|
-
const record = await
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
67
|
+
const record = await this.refreshTokenService.findByRawToken(token);
|
|
68
|
+
if (!record) {
|
|
69
|
+
throw new access_exception_1.AccessException('Refresh token has either expired or is not valid');
|
|
70
|
+
}
|
|
71
|
+
if (record.used_at) {
|
|
72
|
+
await this.refreshTokenService.revokeFamily(record);
|
|
73
|
+
throw new access_exception_1.AccessException('Refresh token has either expired or is not valid');
|
|
74
|
+
}
|
|
75
|
+
if (record.revoked_at) {
|
|
72
76
|
throw new access_exception_1.AccessException('Refresh token has either expired or is not valid');
|
|
73
|
-
|
|
77
|
+
}
|
|
78
|
+
const requestDeviceIdentifier = req.headers['u-device-identifier'];
|
|
79
|
+
if (!record.device || record.device.uuid !== requestDeviceIdentifier) {
|
|
74
80
|
throw new access_exception_1.AccessException('Invalid refresh token against the registered device');
|
|
75
|
-
|
|
81
|
+
}
|
|
82
|
+
if (record.validity_datetime < new Date()) {
|
|
76
83
|
throw new access_exception_1.AccessException('Refresh token has expired');
|
|
84
|
+
}
|
|
77
85
|
const user = await user_entity_1.UserEntity.first(record.user_id);
|
|
78
|
-
if (this.authService.isUserBlocked(user))
|
|
86
|
+
if (this.authService.isUserBlocked(user)) {
|
|
79
87
|
throw new operation_exception_1.OperationException('This user is blocked from the platform');
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
await record.
|
|
83
|
-
|
|
88
|
+
}
|
|
89
|
+
const { rawToken } = await this.refreshTokenService.rotate(record);
|
|
90
|
+
const info = await this.authService.getUserInfo({ id: record.user_id });
|
|
91
|
+
info.refresh_token = rawToken;
|
|
92
|
+
return info;
|
|
84
93
|
}
|
|
85
94
|
async logout(req) {
|
|
86
95
|
const deviceIdentifier = req.headers['u-device-identifier'];
|
|
96
|
+
await this.authService.revokeSession();
|
|
87
97
|
const device = await device_token_entity_1.DeviceTokenEntity.findOne({
|
|
88
98
|
where: { uuid: deviceIdentifier },
|
|
89
99
|
});
|
|
90
100
|
if (!device)
|
|
91
|
-
return;
|
|
101
|
+
return { status: 'ok' };
|
|
92
102
|
const refreshTokens = await refresh_token_entity_1.RefreshTokenEntity.find({
|
|
93
103
|
where: { device_id: device.id },
|
|
94
104
|
});
|
|
105
|
+
const now = date_util_1.DateUtil.getDateTime();
|
|
95
106
|
for (const token of refreshTokens) {
|
|
107
|
+
token.revoked_at = now;
|
|
108
|
+
await token.save();
|
|
96
109
|
await token.softDelete();
|
|
97
110
|
}
|
|
98
|
-
return
|
|
111
|
+
return { status: 'ok' };
|
|
99
112
|
}
|
|
100
113
|
};
|
|
101
114
|
exports.AdminAuthController = AdminAuthController;
|
|
@@ -147,6 +160,7 @@ exports.AdminAuthController = AdminAuthController = __decorate([
|
|
|
147
160
|
(0, common_1.Controller)('user-auth'),
|
|
148
161
|
__metadata("design:paramtypes", [auth_service_1.AuthService,
|
|
149
162
|
user_service_1.UserService,
|
|
150
|
-
device_token_service_1.DeviceTokenService
|
|
163
|
+
device_token_service_1.DeviceTokenService,
|
|
164
|
+
refresh_token_service_1.RefreshTokenService])
|
|
151
165
|
], AdminAuthController);
|
|
152
166
|
//# sourceMappingURL=admin.auth.controller.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"admin.auth.controller.js","sourceRoot":"","sources":["../../../src/auth/controllers/admin.auth.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAyF;AAEzF,+EAA2E;AAC3E,+FAAyF;AACzF,qFAAiF;AACjF,sDAAmD;AACnD,gEAA4D;AAE5D,2DAAsD;AACtD,yEAAoE;AACpE,2EAAsE;AACtE,yDAAqD;AACrD,2DAAuD;AACvD,2EAAsE;AACtE,2DAAuD;AAShD,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;
|
|
1
|
+
{"version":3,"file":"admin.auth.controller.js","sourceRoot":"","sources":["../../../src/auth/controllers/admin.auth.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAyF;AAEzF,+EAA2E;AAC3E,+FAAyF;AACzF,qFAAiF;AACjF,sDAAmD;AACnD,gEAA4D;AAE5D,2DAAsD;AACtD,yEAAoE;AACpE,2EAAsE;AACtE,yDAAqD;AACrD,2DAAuD;AACvD,2EAAsE;AACtE,6EAAwE;AACxE,2DAAuD;AAShD,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IAQ5B,YACqB,WAAwB,EACxB,WAAwB,EACxB,kBAAsC,EACtC,mBAAwC;QAHxC,gBAAW,GAAX,WAAW,CAAa;QACxB,gBAAW,GAAX,WAAW,CAAa;QACxB,uBAAkB,GAAlB,kBAAkB,CAAoB;QACtC,wBAAmB,GAAnB,mBAAmB,CAAqB;IAC1D,CAAC;IAQE,AAAN,KAAK,CAAC,UAAU;QACZ,MAAM,IAAI,GAAG,WAAI,CAAC,IAAI,EAAE,CAAC;QACzB,IAAI,CAAC,IAAI;YAAE,MAAM,IAAI,gDAAqB,EAAE,CAAC;QAE7C,OAAO,IAAI,CAAC,WAAW,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IAC9C,CAAC;IAYK,AAAN,KAAK,CAAC,KAAK,CAAS,IAAkB,EAAS,GAAY;QACvD,MAAM,UAAU,GAAG,CAAC,IAAI,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;QAI9D,MAAM,IAAI,CAAC,WAAW,CAAC,qBAAqB,CAAC,UAAU,CAAC,CAAC;QAEzD,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,YAAY,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC/E,IAAI,CAAC,IAAI,EAAE,CAAC;YAGR,MAAM,IAAI,CAAC,WAAW,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;YACrD,MAAM,IAAI,kCAAe,CAAC,kCAAkC,CAAC,CAAC;QAClE,CAAC;QAGD,IAAI,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,IAAI,CAAC;YAAE,MAAM,IAAI,wCAAkB,CAAC,wCAAwC,CAAC,CAAC;QAIjH,MAAM,IAAI,CAAC,WAAW,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;QAErD,MAAM,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QAE9C,MAAM,IAAI,GAAG,EAAE,EAAE,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC;QAG7B,OAAO,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IACxD,CAAC;IAWK,AAAN,KAAK,CAAC,SAAS,CAAQ,GAAkB;QACrC,IAAI,CAAC,GAAG,CAAC,IAAI;YAAE,MAAM,IAAI,8BAAqB,EAAE,CAAC;QAEjD,OAAO,IAAI,CAAC,WAAW,CAAC,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IAClD,CAAC;IASK,AAAN,KAAK,CAAC,MAAM,CAAQ,GAAY,EAAU,IAAuB;QAC7D,OAAO,IAAI,CAAC,kBAAkB,CAAC,cAAc,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;IAiBK,AAAN,KAAK,CAAC,QAAQ,CAAQ,GAAY,EAAyB,KAAa;QACpE,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,mBAAmB,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;QACpE,IAAI,CAAC,MAAM,EAAE,CAAC;YACV,MAAM,IAAI,kCAAe,CAAC,kDAAkD,CAAC,CAAC;QAClF,CAAC;QAKD,IAAI,MAAM,CAAC,OAAO,EAAE,CAAC;YACjB,MAAM,IAAI,CAAC,mBAAmB,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;YACpD,MAAM,IAAI,kCAAe,CAAC,kDAAkD,CAAC,CAAC;QAClF,CAAC;QAED,IAAI,MAAM,CAAC,UAAU,EAAE,CAAC;YACpB,MAAM,IAAI,kCAAe,CAAC,kDAAkD,CAAC,CAAC;QAClF,CAAC;QAGD,MAAM,uBAAuB,GAAG,GAAG,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC;QACnE,IAAI,CAAC,MAAM,CAAC,MAAM,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,KAAK,uBAAuB,EAAE,CAAC;YACnE,MAAM,IAAI,kCAAe,CAAC,qDAAqD,CAAC,CAAC;QACrF,CAAC;QAED,IAAI,MAAM,CAAC,iBAAiB,GAAG,IAAI,IAAI,EAAE,EAAE,CAAC;YACxC,MAAM,IAAI,kCAAe,CAAC,2BAA2B,CAAC,CAAC;QAC3D,CAAC;QAED,MAAM,IAAI,GAAG,MAAM,wBAAU,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QACpD,IAAI,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC;YACvC,MAAM,IAAI,wCAAkB,CAAC,wCAAwC,CAAC,CAAC;QAC3E,CAAC;QAGD,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,IAAI,CAAC,mBAAmB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACnE,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,MAAM,CAAC,OAAO,EAAE,CAAC,CAAC;QACxE,IAAI,CAAC,aAAa,GAAG,QAAQ,CAAC;QAC9B,OAAO,IAAI,CAAC;IAChB,CAAC;IAmBK,AAAN,KAAK,CAAC,MAAM,CAAQ,GAAY;QAC5B,MAAM,gBAAgB,GAAG,GAAG,CAAC,OAAO,CAAC,qBAAqB,CAAW,CAAC;QAItE,MAAM,IAAI,CAAC,WAAW,CAAC,aAAa,EAAE,CAAC;QAEvC,MAAM,MAAM,GAAG,MAAM,uCAAiB,CAAC,OAAO,CAAC;YAC3C,KAAK,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE;SACpC,CAAC,CAAC;QAEH,IAAI,CAAC,MAAM;YAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;QAGrC,MAAM,aAAa,GAAG,MAAM,yCAAkB,CAAC,IAAI,CAAC;YAChD,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,CAAC,EAAE,EAAE;SAClC,CAAC,CAAC;QAEH,MAAM,GAAG,GAAG,oBAAQ,CAAC,WAAW,EAAE,CAAC;QACnC,KAAK,MAAM,KAAK,IAAI,aAAa,EAAE,CAAC;YAIhC,KAAK,CAAC,UAAU,GAAG,GAAG,CAAC;YACvB,MAAM,KAAK,CAAC,IAAI,EAAE,CAAC;YACnB,MAAM,KAAK,CAAC,UAAU,EAAE,CAAC;QAC7B,CAAC;QAED,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IAC5B,CAAC;CACJ,CAAA;AApMY,kDAAmB;AAqBtB;IADL,IAAA,YAAG,GAAE;;;;qDAML;AAYK;IADL,IAAA,aAAI,EAAC,OAAO,CAAC;IACD,WAAA,IAAA,aAAI,GAAE,CAAA;IAAsB,WAAA,IAAA,YAAG,GAAE,CAAA;;qCAApB,6BAAY;;gDA4BrC;AAWK;IADL,IAAA,YAAG,EAAC,MAAM,CAAC;IACK,WAAA,IAAA,YAAG,GAAE,CAAA;;;;oDAIrB;AASK;IADL,IAAA,aAAI,EAAC,QAAQ,CAAC;IACD,WAAA,IAAA,YAAG,GAAE,CAAA;IAAgB,WAAA,IAAA,aAAI,GAAE,CAAA;;6CAAO,uCAAiB;;iDAEhE;AAiBK;IADL,IAAA,aAAI,EAAC,OAAO,CAAC;IACE,WAAA,IAAA,YAAG,GAAE,CAAA;IAAgB,WAAA,IAAA,aAAI,EAAC,eAAe,CAAC,CAAA;;;;mDAsCzD;AAmBK;IADL,IAAA,aAAI,EAAC,QAAQ,CAAC;IACD,WAAA,IAAA,YAAG,GAAE,CAAA;;;;iDA6BlB;8BAnMQ,mBAAmB;IAD/B,IAAA,mBAAU,EAAC,WAAW,CAAC;qCAUc,0BAAW;QACX,0BAAW;QACJ,yCAAkB;QACjB,2CAAmB;GAZpD,mBAAmB,CAoM/B"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { Request } from 'express';
|
|
2
2
|
import { AuthService } from '../services/auth.service';
|
|
3
|
+
import { SocialIdentityService } from '../services/social.identity.service';
|
|
3
4
|
import { SocialService } from '../services/social.service';
|
|
4
5
|
export declare class SocialController {
|
|
5
6
|
private readonly authService;
|
|
6
7
|
private readonly socialService;
|
|
7
|
-
|
|
8
|
+
private readonly socialIdentityService;
|
|
9
|
+
constructor(authService: AuthService, socialService: SocialService, socialIdentityService: SocialIdentityService);
|
|
8
10
|
fbLogin(req: Request, accessToken: string): Promise<any>;
|
|
9
|
-
googleLogin(req: Request, accessToken: string): Promise<any>;
|
|
11
|
+
googleLogin(req: Request, accessToken: string, idToken?: string): Promise<any>;
|
|
10
12
|
}
|
|
@@ -15,20 +15,28 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
15
15
|
exports.SocialController = void 0;
|
|
16
16
|
const common_1 = require("@nestjs/common");
|
|
17
17
|
const auth_service_1 = require("../services/auth.service");
|
|
18
|
+
const social_identity_service_1 = require("../services/social.identity.service");
|
|
18
19
|
const social_service_1 = require("../services/social.service");
|
|
19
20
|
let SocialController = class SocialController {
|
|
20
|
-
constructor(authService, socialService) {
|
|
21
|
+
constructor(authService, socialService, socialIdentityService) {
|
|
21
22
|
this.authService = authService;
|
|
22
23
|
this.socialService = socialService;
|
|
24
|
+
this.socialIdentityService = socialIdentityService;
|
|
23
25
|
}
|
|
24
26
|
async fbLogin(req, accessToken) {
|
|
25
|
-
|
|
26
|
-
if (!user)
|
|
27
|
+
if (!accessToken)
|
|
27
28
|
throw new common_1.UnauthorizedException();
|
|
28
|
-
|
|
29
|
+
const identity = await this.socialService.verifyFacebook(accessToken);
|
|
30
|
+
const localUser = await this.socialIdentityService.resolveOrCreate(identity);
|
|
31
|
+
return this.authService.getUserLoginInfo({ id: localUser.id }, req);
|
|
29
32
|
}
|
|
30
|
-
async googleLogin(req, accessToken) {
|
|
31
|
-
|
|
33
|
+
async googleLogin(req, accessToken, idToken) {
|
|
34
|
+
const token = idToken ?? accessToken;
|
|
35
|
+
if (!token)
|
|
36
|
+
throw new common_1.UnauthorizedException();
|
|
37
|
+
const identity = await this.socialService.verifyGoogle(token, !!idToken);
|
|
38
|
+
const localUser = await this.socialIdentityService.resolveOrCreate(identity);
|
|
39
|
+
return this.authService.getUserLoginInfo({ id: localUser.id }, req);
|
|
32
40
|
}
|
|
33
41
|
};
|
|
34
42
|
exports.SocialController = SocialController;
|
|
@@ -44,13 +52,15 @@ __decorate([
|
|
|
44
52
|
(0, common_1.Post)('google'),
|
|
45
53
|
__param(0, (0, common_1.Req)()),
|
|
46
54
|
__param(1, (0, common_1.Body)('access_token')),
|
|
55
|
+
__param(2, (0, common_1.Body)('id_token')),
|
|
47
56
|
__metadata("design:type", Function),
|
|
48
|
-
__metadata("design:paramtypes", [Object, String]),
|
|
57
|
+
__metadata("design:paramtypes", [Object, String, String]),
|
|
49
58
|
__metadata("design:returntype", Promise)
|
|
50
59
|
], SocialController.prototype, "googleLogin", null);
|
|
51
60
|
exports.SocialController = SocialController = __decorate([
|
|
52
61
|
(0, common_1.Controller)('social'),
|
|
53
62
|
__metadata("design:paramtypes", [auth_service_1.AuthService,
|
|
54
|
-
social_service_1.SocialService
|
|
63
|
+
social_service_1.SocialService,
|
|
64
|
+
social_identity_service_1.SocialIdentityService])
|
|
55
65
|
], SocialController);
|
|
56
66
|
//# sourceMappingURL=social.controller.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"social.controller.js","sourceRoot":"","sources":["../../../src/auth/controllers/social.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAoF;AAEpF,2DAAuD;AACvD,+DAA2D;
|
|
1
|
+
{"version":3,"file":"social.controller.js","sourceRoot":"","sources":["../../../src/auth/controllers/social.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAoF;AAEpF,2DAAuD;AACvD,iFAA4E;AAC5E,+DAA2D;AAWpD,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;IAOzB,YACqB,WAAwB,EACxB,aAA4B,EAC5B,qBAA4C;QAF5C,gBAAW,GAAX,WAAW,CAAa;QACxB,kBAAa,GAAb,aAAa,CAAe;QAC5B,0BAAqB,GAArB,qBAAqB,CAAuB;IAC9D,CAAC;IASE,AAAN,KAAK,CAAC,OAAO,CAAQ,GAAY,EAAwB,WAAmB;QACxE,IAAI,CAAC,WAAW;YAAE,MAAM,IAAI,8BAAqB,EAAE,CAAC;QACpD,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;QACtE,MAAM,SAAS,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC;QAC7E,OAAO,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,EAAE,EAAE,EAAE,SAAS,CAAC,EAAE,EAAE,EAAE,GAAG,CAAC,CAAC;IACxE,CAAC;IAUK,AAAN,KAAK,CAAC,WAAW,CAAQ,GAAY,EAAwB,WAAmB,EAAoB,OAAgB;QAChH,MAAM,KAAK,GAAG,OAAO,IAAI,WAAW,CAAC;QACrC,IAAI,CAAC,KAAK;YAAE,MAAM,IAAI,8BAAqB,EAAE,CAAC;QAC9C,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,YAAY,CAAC,KAAK,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC;QACzE,MAAM,SAAS,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC;QAC7E,OAAO,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,EAAE,EAAE,EAAE,SAAS,CAAC,EAAE,EAAE,EAAE,GAAG,CAAC,CAAC;IACxE,CAAC;CACJ,CAAA;AA1CY,4CAAgB;AAoBnB;IADL,IAAA,aAAI,EAAC,IAAI,CAAC;IACI,WAAA,IAAA,YAAG,GAAE,CAAA;IAAgB,WAAA,IAAA,aAAI,EAAC,cAAc,CAAC,CAAA;;;;+CAKvD;AAUK;IADL,IAAA,aAAI,EAAC,QAAQ,CAAC;IACI,WAAA,IAAA,YAAG,GAAE,CAAA;IAAgB,WAAA,IAAA,aAAI,EAAC,cAAc,CAAC,CAAA;IAAuB,WAAA,IAAA,aAAI,EAAC,UAAU,CAAC,CAAA;;;;mDAMlG;2BAzCQ,gBAAgB;IAD5B,IAAA,mBAAU,EAAC,QAAQ,CAAC;qCASiB,0BAAW;QACT,8BAAa;QACL,+CAAqB;GAVxD,gBAAgB,CA0C5B"}
|
|
@@ -4,8 +4,8 @@ import { UserEntity } from '../entities/user.entity';
|
|
|
4
4
|
import { AuthService } from '../services/auth.service';
|
|
5
5
|
import { UserService } from '../services/user.service';
|
|
6
6
|
export declare class UserController {
|
|
7
|
-
private readonly
|
|
7
|
+
private readonly userService;
|
|
8
8
|
private readonly authService;
|
|
9
|
-
constructor(
|
|
9
|
+
constructor(userService: UserService, authService: AuthService);
|
|
10
10
|
signUp(createUser: CreateUserDto, request: Request): Promise<UserEntity>;
|
|
11
11
|
}
|
|
@@ -18,15 +18,15 @@ const create_user_dto_1 = require("../dtos/create.user.dto");
|
|
|
18
18
|
const auth_service_1 = require("../services/auth.service");
|
|
19
19
|
const user_service_1 = require("../services/user.service");
|
|
20
20
|
let UserController = class UserController {
|
|
21
|
-
constructor(
|
|
22
|
-
this.
|
|
21
|
+
constructor(userService, authService) {
|
|
22
|
+
this.userService = userService;
|
|
23
23
|
this.authService = authService;
|
|
24
24
|
}
|
|
25
25
|
async signUp(createUser, request) {
|
|
26
|
-
let user = await this.
|
|
26
|
+
let user = await this.userService.findUserByEmail(createUser.email);
|
|
27
27
|
if (user)
|
|
28
28
|
throw new common_1.ConflictException();
|
|
29
|
-
user = await this.
|
|
29
|
+
user = await this.userService.createUser(createUser);
|
|
30
30
|
return this.authService.getUserLoginInfo(user, request);
|
|
31
31
|
}
|
|
32
32
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.controller.js","sourceRoot":"","sources":["../../../src/auth/controllers/user.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAgG;AAEhG,6DAAwD;AAExD,2DAAuD;AACvD,2DAAuD;AAShD,IAAM,cAAc,GAApB,MAAM,cAAc;IAMvB,YACqB,
|
|
1
|
+
{"version":3,"file":"user.controller.js","sourceRoot":"","sources":["../../../src/auth/controllers/user.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAgG;AAEhG,6DAAwD;AAExD,2DAAuD;AACvD,2DAAuD;AAShD,IAAM,cAAc,GAApB,MAAM,cAAc;IAMvB,YACqB,WAAwB,EACxB,WAAwB;QADxB,gBAAW,GAAX,WAAW,CAAa;QACxB,gBAAW,GAAX,WAAW,CAAa;IAC1C,CAAC;IAUE,AAAN,KAAK,CAAC,MAAM,CAAuB,UAAyB,EAAS,OAAgB;QACjF,IAAI,IAAI,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,eAAe,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;QACpE,IAAI,IAAI;YAAE,MAAM,IAAI,0BAAiB,EAAE,CAAC;QAExC,IAAI,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;QAErD,OAAO,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC5D,CAAC;CACJ,CAAA;AA3BY,wCAAc;AAmBjB;IADL,IAAA,aAAI,GAAE;IACO,WAAA,IAAA,aAAI,EAAC,uBAAc,CAAC,CAAA;IAA6B,WAAA,IAAA,YAAG,GAAE,CAAA;;qCAArB,+BAAa;;4CAO3D;yBA1BQ,cAAc;IAD1B,IAAA,mBAAU,EAAC,MAAM,CAAC;qCAQmB,0BAAW;QACX,0BAAW;GARpC,cAAc,CA2B1B"}
|
|
@@ -5,5 +5,6 @@ export * from './role.assignment.dto';
|
|
|
5
5
|
export * from './session.identifier.attributes.dto';
|
|
6
6
|
export * from './update.user.dto';
|
|
7
7
|
export * from './user.access.dto';
|
|
8
|
+
export * from './user.attributes.dto';
|
|
8
9
|
export * from './user.login.dto';
|
|
9
10
|
export * from './user.roles.access.object.dto';
|
package/dist/auth/dtos/index.js
CHANGED
|
@@ -21,6 +21,7 @@ __exportStar(require("./role.assignment.dto"), exports);
|
|
|
21
21
|
__exportStar(require("./session.identifier.attributes.dto"), exports);
|
|
22
22
|
__exportStar(require("./update.user.dto"), exports);
|
|
23
23
|
__exportStar(require("./user.access.dto"), exports);
|
|
24
|
+
__exportStar(require("./user.attributes.dto"), exports);
|
|
24
25
|
__exportStar(require("./user.login.dto"), exports);
|
|
25
26
|
__exportStar(require("./user.roles.access.object.dto"), exports);
|
|
26
27
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/auth/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAAA,qDAAmC;AAAA,8DAA4C;AAAA,wDAAsC;AAAA,sEAAoD;AAAA,oDAAkC;AAAA,oDAAkC;AAAA,mDAAiC;AAAA,iEAA8C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/auth/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAAA,qDAAmC;AAAA,8DAA4C;AAAA,wDAAsC;AAAA,sEAAoD;AAAA,oDAAkC;AAAA,oDAAkC;AAAA,wDAAsC;AAAA,mDAAiC;AAAA,iEAA8C"}
|