@carlonicora/nestjs-neo4jsonapi 1.115.1 → 1.117.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bootstrap/app.module.factory.d.ts.map +1 -1
- package/dist/bootstrap/app.module.factory.js +1 -0
- package/dist/bootstrap/app.module.factory.js.map +1 -1
- package/dist/bootstrap/bootstrap.options.d.ts +17 -0
- package/dist/bootstrap/bootstrap.options.d.ts.map +1 -1
- package/dist/common/guards/jwt.auth.admin.guard.d.ts +3 -2
- package/dist/common/guards/jwt.auth.admin.guard.d.ts.map +1 -1
- package/dist/common/guards/jwt.auth.admin.guard.js +19 -4
- package/dist/common/guards/jwt.auth.admin.guard.js.map +1 -1
- package/dist/common/guards/jwt.auth.guard.d.ts +3 -2
- package/dist/common/guards/jwt.auth.guard.d.ts.map +1 -1
- package/dist/common/guards/jwt.auth.guard.js +7 -2
- package/dist/common/guards/jwt.auth.guard.js.map +1 -1
- package/dist/common/interfaces/entity.schema.interface.d.ts +2 -0
- package/dist/common/interfaces/entity.schema.interface.d.ts.map +1 -1
- package/dist/common/tokens.d.ts +68 -0
- package/dist/common/tokens.d.ts.map +1 -1
- package/dist/common/tokens.js +37 -2
- package/dist/common/tokens.js.map +1 -1
- package/dist/config/base.config.d.ts.map +1 -1
- package/dist/config/base.config.js +9 -0
- package/dist/config/base.config.js.map +1 -1
- package/dist/config/enums/queue.id.d.ts +2 -1
- package/dist/config/enums/queue.id.d.ts.map +1 -1
- package/dist/config/enums/queue.id.js +1 -0
- package/dist/config/enums/queue.id.js.map +1 -1
- package/dist/config/interfaces/base.config.interface.d.ts +2 -0
- package/dist/config/interfaces/base.config.interface.d.ts.map +1 -1
- package/dist/config/interfaces/config.ai.interface.d.ts +8 -0
- package/dist/config/interfaces/config.ai.interface.d.ts.map +1 -1
- package/dist/config/interfaces/config.auth.interface.d.ts +7 -0
- package/dist/config/interfaces/config.auth.interface.d.ts.map +1 -1
- package/dist/config/interfaces/config.credits.interface.d.ts +24 -0
- package/dist/config/interfaces/config.credits.interface.d.ts.map +1 -0
- package/dist/{foundations/auth/entities/auth.entity.js → config/interfaces/config.credits.interface.js} +1 -1
- package/dist/config/interfaces/config.credits.interface.js.map +1 -0
- package/dist/config/interfaces/config.email.interface.d.ts +6 -0
- package/dist/config/interfaces/config.email.interface.d.ts.map +1 -1
- package/dist/config/interfaces/index.d.ts +1 -0
- package/dist/config/interfaces/index.d.ts.map +1 -1
- package/dist/config/interfaces/index.js +1 -0
- package/dist/config/interfaces/index.js.map +1 -1
- package/dist/core/email/services/email.service.d.ts +1 -0
- package/dist/core/email/services/email.service.d.ts.map +1 -1
- package/dist/core/email/services/email.service.js +10 -7
- package/dist/core/email/services/email.service.js.map +1 -1
- package/dist/core/llm/services/embedder.service.d.ts +36 -2
- package/dist/core/llm/services/embedder.service.d.ts.map +1 -1
- package/dist/core/llm/services/embedder.service.js +87 -7
- package/dist/core/llm/services/embedder.service.js.map +1 -1
- package/dist/core/llm/services/llm.service.d.ts +9 -1
- package/dist/core/llm/services/llm.service.d.ts.map +1 -1
- package/dist/core/llm/services/llm.service.js +13 -3
- package/dist/core/llm/services/llm.service.js.map +1 -1
- package/dist/core/neo4j/abstracts/abstract.repository.d.ts.map +1 -1
- package/dist/core/neo4j/abstracts/abstract.repository.js +33 -2
- package/dist/core/neo4j/abstracts/abstract.repository.js.map +1 -1
- package/dist/foundations/auth/auth.module.d.ts.map +1 -1
- package/dist/foundations/auth/auth.module.js +9 -10
- package/dist/foundations/auth/auth.module.js.map +1 -1
- package/dist/foundations/auth/controllers/auth.controller.d.ts.map +1 -1
- package/dist/foundations/auth/controllers/auth.controller.js +5 -0
- package/dist/foundations/auth/controllers/auth.controller.js.map +1 -1
- package/dist/foundations/auth/controllers/auth.discord.controller.d.ts.map +1 -1
- package/dist/foundations/auth/controllers/auth.discord.controller.js +6 -3
- package/dist/foundations/auth/controllers/auth.discord.controller.js.map +1 -1
- package/dist/foundations/auth/controllers/auth.google.controller.d.ts.map +1 -1
- package/dist/foundations/auth/controllers/auth.google.controller.js +7 -3
- package/dist/foundations/auth/controllers/auth.google.controller.js.map +1 -1
- package/dist/foundations/auth/entities/auth.code.d.ts +34 -0
- package/dist/foundations/auth/entities/auth.code.d.ts.map +1 -0
- package/dist/foundations/auth/entities/auth.code.js +53 -0
- package/dist/foundations/auth/entities/auth.code.js.map +1 -0
- package/dist/foundations/auth/entities/auth.d.ts +41 -0
- package/dist/foundations/auth/entities/auth.d.ts.map +1 -0
- package/dist/foundations/auth/entities/auth.js +68 -0
- package/dist/foundations/auth/entities/auth.js.map +1 -0
- package/dist/foundations/auth/entities/pending-auth.d.ts +39 -0
- package/dist/foundations/auth/entities/pending-auth.d.ts.map +1 -0
- package/dist/foundations/auth/entities/pending-auth.js +41 -0
- package/dist/foundations/auth/entities/pending-auth.js.map +1 -0
- package/dist/foundations/auth/index.d.ts +13 -0
- package/dist/foundations/auth/index.d.ts.map +1 -1
- package/dist/foundations/auth/index.js +31 -1
- package/dist/foundations/auth/index.js.map +1 -1
- package/dist/foundations/auth/repositories/auth.repository.d.ts +49 -9
- package/dist/foundations/auth/repositories/auth.repository.d.ts.map +1 -1
- package/dist/foundations/auth/repositories/auth.repository.js +115 -63
- package/dist/foundations/auth/repositories/auth.repository.js.map +1 -1
- package/dist/foundations/auth/services/auth.discord.service.d.ts +1 -1
- package/dist/foundations/auth/services/auth.discord.service.d.ts.map +1 -1
- package/dist/foundations/auth/services/auth.discord.service.js +5 -2
- package/dist/foundations/auth/services/auth.discord.service.js.map +1 -1
- package/dist/foundations/auth/services/auth.google.service.d.ts +1 -1
- package/dist/foundations/auth/services/auth.google.service.d.ts.map +1 -1
- package/dist/foundations/auth/services/auth.google.service.js +6 -2
- package/dist/foundations/auth/services/auth.google.service.js.map +1 -1
- package/dist/foundations/auth/services/auth.service.d.ts +42 -7
- package/dist/foundations/auth/services/auth.service.d.ts.map +1 -1
- package/dist/foundations/auth/services/auth.service.js +140 -77
- package/dist/foundations/auth/services/auth.service.js.map +1 -1
- package/dist/foundations/company/dtos/company.post.dto.d.ts +3 -3
- package/dist/foundations/company/dtos/company.post.dto.d.ts.map +1 -1
- package/dist/foundations/company/dtos/company.post.dto.js +3 -3
- package/dist/foundations/company/dtos/company.post.dto.js.map +1 -1
- package/dist/foundations/company/dtos/company.put.dto.d.ts +3 -3
- package/dist/foundations/company/dtos/company.put.dto.d.ts.map +1 -1
- package/dist/foundations/company/dtos/company.put.dto.js +3 -3
- package/dist/foundations/company/dtos/company.put.dto.js.map +1 -1
- package/dist/foundations/company/entities/company.d.ts +4 -4
- package/dist/foundations/company/entities/company.d.ts.map +1 -1
- package/dist/foundations/company/entities/company.js +18 -4
- package/dist/foundations/company/entities/company.js.map +1 -1
- package/dist/foundations/company/index.d.ts +5 -0
- package/dist/foundations/company/index.d.ts.map +1 -1
- package/dist/foundations/company/index.js +16 -1
- package/dist/foundations/company/index.js.map +1 -1
- package/dist/foundations/company/processors/company.processor.js +1 -1
- package/dist/foundations/company/processors/company.processor.js.map +1 -1
- package/dist/foundations/company/repositories/company.repository.d.ts +96 -33
- package/dist/foundations/company/repositories/company.repository.d.ts.map +1 -1
- package/dist/foundations/company/repositories/company.repository.js +125 -95
- package/dist/foundations/company/repositories/company.repository.js.map +1 -1
- package/dist/foundations/company/services/company.service.d.ts +52 -13
- package/dist/foundations/company/services/company.service.d.ts.map +1 -1
- package/dist/foundations/company/services/company.service.js +62 -39
- package/dist/foundations/company/services/company.service.js.map +1 -1
- package/dist/foundations/content/content.module.d.ts +20 -8
- package/dist/foundations/content/content.module.d.ts.map +1 -1
- package/dist/foundations/content/content.module.js +40 -24
- package/dist/foundations/content/content.module.js.map +1 -1
- package/dist/foundations/content/controllers/content.controller.d.ts +1 -1
- package/dist/foundations/content/controllers/content.controller.d.ts.map +1 -1
- package/dist/foundations/content/controllers/content.controller.js +2 -2
- package/dist/foundations/content/controllers/content.controller.js.map +1 -1
- package/dist/foundations/content/entities/content.d.ts +74 -0
- package/dist/foundations/content/entities/content.d.ts.map +1 -0
- package/dist/foundations/content/entities/content.js +141 -0
- package/dist/foundations/content/entities/content.js.map +1 -0
- package/dist/foundations/content/index.d.ts +2 -4
- package/dist/foundations/content/index.d.ts.map +1 -1
- package/dist/foundations/content/index.js +6 -5
- package/dist/foundations/content/index.js.map +1 -1
- package/dist/foundations/content/interfaces/content.extension.interface.d.ts +126 -0
- package/dist/foundations/content/interfaces/content.extension.interface.d.ts.map +1 -1
- package/dist/foundations/content/interfaces/content.extension.interface.js +7 -1
- package/dist/foundations/content/interfaces/content.extension.interface.js.map +1 -1
- package/dist/foundations/content/repositories/content.repository.d.ts +14 -7
- package/dist/foundations/content/repositories/content.repository.d.ts.map +1 -1
- package/dist/foundations/content/repositories/content.repository.js +18 -16
- package/dist/foundations/content/repositories/content.repository.js.map +1 -1
- package/dist/foundations/content/services/content.cypher.service.d.ts +19 -0
- package/dist/foundations/content/services/content.cypher.service.d.ts.map +1 -1
- package/dist/foundations/content/services/content.cypher.service.js +65 -4
- package/dist/foundations/content/services/content.cypher.service.js.map +1 -1
- package/dist/foundations/content/services/content.service.js +4 -4
- package/dist/foundations/content/services/content.service.js.map +1 -1
- package/dist/foundations/discord-user/services/discord-user.service.js +2 -2
- package/dist/foundations/discord-user/services/discord-user.service.js.map +1 -1
- package/dist/foundations/feature/entities/feature.d.ts +32 -0
- package/dist/foundations/feature/entities/feature.d.ts.map +1 -0
- package/dist/foundations/feature/entities/feature.js +64 -0
- package/dist/foundations/feature/entities/feature.js.map +1 -0
- package/dist/foundations/feature/entities/feature.model.d.ts +1 -3
- package/dist/foundations/feature/entities/feature.model.d.ts.map +1 -1
- package/dist/foundations/feature/entities/feature.model.js +3 -11
- package/dist/foundations/feature/entities/feature.model.js.map +1 -1
- package/dist/foundations/feature/feature.module.d.ts.map +1 -1
- package/dist/foundations/feature/feature.module.js +4 -5
- package/dist/foundations/feature/feature.module.js.map +1 -1
- package/dist/foundations/feature/index.d.ts +12 -0
- package/dist/foundations/feature/index.d.ts.map +1 -1
- package/dist/foundations/feature/index.js +22 -1
- package/dist/foundations/feature/index.js.map +1 -1
- package/dist/foundations/feature/repositories/feature.repository.d.ts +37 -13
- package/dist/foundations/feature/repositories/feature.repository.d.ts.map +1 -1
- package/dist/foundations/feature/repositories/feature.repository.js +41 -35
- package/dist/foundations/feature/repositories/feature.repository.js.map +1 -1
- package/dist/foundations/feature/services/feature.service.d.ts +31 -4
- package/dist/foundations/feature/services/feature.service.d.ts.map +1 -1
- package/dist/foundations/feature/services/feature.service.js +20 -12
- package/dist/foundations/feature/services/feature.service.js.map +1 -1
- package/dist/foundations/foundations.modules.d.ts +6 -0
- package/dist/foundations/foundations.modules.d.ts.map +1 -1
- package/dist/foundations/foundations.modules.js +14 -3
- package/dist/foundations/foundations.modules.js.map +1 -1
- package/dist/foundations/google-user/services/google-user.service.js +2 -2
- package/dist/foundations/google-user/services/google-user.service.js.map +1 -1
- package/dist/foundations/index.d.ts +3 -0
- package/dist/foundations/index.d.ts.map +1 -1
- package/dist/foundations/index.js +3 -0
- package/dist/foundations/index.js.map +1 -1
- package/dist/foundations/membership/entities/membership.d.ts.map +1 -1
- package/dist/foundations/membership/entities/membership.js +4 -0
- package/dist/foundations/membership/entities/membership.js.map +1 -1
- package/dist/foundations/notification/controllers/notification.controller.js +2 -2
- package/dist/foundations/notification/controllers/notification.controller.js.map +1 -1
- package/dist/foundations/notification/entities/notification.d.ts +75 -0
- package/dist/foundations/notification/entities/notification.d.ts.map +1 -0
- package/dist/foundations/notification/entities/notification.js +73 -0
- package/dist/foundations/notification/entities/notification.js.map +1 -0
- package/dist/foundations/notification/index.d.ts +6 -2
- package/dist/foundations/notification/index.d.ts.map +1 -1
- package/dist/foundations/notification/index.js +17 -3
- package/dist/foundations/notification/index.js.map +1 -1
- package/dist/foundations/notification/notification.module.d.ts.map +1 -1
- package/dist/foundations/notification/notification.module.js +3 -4
- package/dist/foundations/notification/notification.module.js.map +1 -1
- package/dist/foundations/notification/repositories/notification.repository.d.ts +125 -8
- package/dist/foundations/notification/repositories/notification.repository.d.ts.map +1 -1
- package/dist/foundations/notification/repositories/notification.repository.js +219 -20
- package/dist/foundations/notification/repositories/notification.repository.js.map +1 -1
- package/dist/foundations/notification/services/notification.service.d.ts +31 -5
- package/dist/foundations/notification/services/notification.service.d.ts.map +1 -1
- package/dist/foundations/notification/services/notification.service.js +26 -9
- package/dist/foundations/notification/services/notification.service.js.map +1 -1
- package/dist/foundations/rbac/dump.d.ts +48 -4
- package/dist/foundations/rbac/dump.d.ts.map +1 -1
- package/dist/foundations/rbac/dump.js +28 -4
- package/dist/foundations/rbac/dump.js.map +1 -1
- package/dist/foundations/rbac/serializer/matrix-to-ts.d.ts +14 -0
- package/dist/foundations/rbac/serializer/matrix-to-ts.d.ts.map +1 -1
- package/dist/foundations/rbac/serializer/matrix-to-ts.js +13 -3
- package/dist/foundations/rbac/serializer/matrix-to-ts.js.map +1 -1
- package/dist/foundations/referral/services/referral.service.js +4 -4
- package/dist/foundations/referral/services/referral.service.js.map +1 -1
- package/dist/foundations/relevancy/repositories/relevancy.repository.d.ts.map +1 -1
- package/dist/foundations/relevancy/repositories/relevancy.repository.js +13 -1
- package/dist/foundations/relevancy/repositories/relevancy.repository.js.map +1 -1
- package/dist/foundations/role/entities/role.d.ts +1 -1
- package/dist/foundations/role/entities/role.d.ts.map +1 -1
- package/dist/foundations/stripe/index.d.ts +3 -0
- package/dist/foundations/stripe/index.d.ts.map +1 -1
- package/dist/foundations/stripe/index.js +6 -0
- package/dist/foundations/stripe/index.js.map +1 -1
- package/dist/foundations/stripe-price/entities/stripe-price.entity.d.ts +1 -1
- package/dist/foundations/stripe-price/entities/stripe-price.entity.d.ts.map +1 -1
- package/dist/foundations/stripe-subscription/services/token-allocation.service.d.ts +1 -1
- package/dist/foundations/stripe-subscription/services/token-allocation.service.js +10 -10
- package/dist/foundations/stripe-subscription/services/token-allocation.service.js.map +1 -1
- package/dist/foundations/stripe-trial/services/trial.service.js +2 -2
- package/dist/foundations/stripe-trial/services/trial.service.js.map +1 -1
- package/dist/foundations/stripe-webhook/processors/stripe-webhook.processor.js +2 -2
- package/dist/foundations/stripe-webhook/processors/stripe-webhook.processor.js.map +1 -1
- package/dist/foundations/tokenusage/entities/tokenusage.d.ts +50 -0
- package/dist/foundations/tokenusage/entities/tokenusage.d.ts.map +1 -0
- package/dist/foundations/tokenusage/entities/tokenusage.js +68 -0
- package/dist/foundations/tokenusage/entities/tokenusage.js.map +1 -0
- package/dist/foundations/tokenusage/enums/tokenusage.type.d.ts +2 -1
- package/dist/foundations/tokenusage/enums/tokenusage.type.d.ts.map +1 -1
- package/dist/foundations/tokenusage/enums/tokenusage.type.js +1 -0
- package/dist/foundations/tokenusage/enums/tokenusage.type.js.map +1 -1
- package/dist/foundations/tokenusage/events/tokenusage.events.d.ts +2 -0
- package/dist/foundations/tokenusage/events/tokenusage.events.d.ts.map +1 -1
- package/dist/foundations/tokenusage/index.d.ts +3 -3
- package/dist/foundations/tokenusage/index.d.ts.map +1 -1
- package/dist/foundations/tokenusage/index.js +5 -3
- package/dist/foundations/tokenusage/index.js.map +1 -1
- package/dist/foundations/tokenusage/repositories/tokenusage.repository.d.ts +90 -5
- package/dist/foundations/tokenusage/repositories/tokenusage.repository.d.ts.map +1 -1
- package/dist/foundations/tokenusage/repositories/tokenusage.repository.js +165 -14
- package/dist/foundations/tokenusage/repositories/tokenusage.repository.js.map +1 -1
- package/dist/foundations/tokenusage/services/tokenusage.service.d.ts +73 -10
- package/dist/foundations/tokenusage/services/tokenusage.service.d.ts.map +1 -1
- package/dist/foundations/tokenusage/services/tokenusage.service.js +88 -8
- package/dist/foundations/tokenusage/services/tokenusage.service.js.map +1 -1
- package/dist/foundations/tokenusage/tokenusage.module.js +3 -3
- package/dist/foundations/tokenusage/tokenusage.module.js.map +1 -1
- package/dist/foundations/user/controllers/user.controller.js +4 -4
- package/dist/foundations/user/controllers/user.controller.js.map +1 -1
- package/dist/foundations/user/dtos/user.put.dto.d.ts +1 -1
- package/dist/foundations/user/dtos/user.put.dto.d.ts.map +1 -1
- package/dist/foundations/user/dtos/user.put.dto.js +1 -1
- package/dist/foundations/user/dtos/user.put.dto.js.map +1 -1
- package/dist/foundations/user/entities/user.d.ts +4 -0
- package/dist/foundations/user/entities/user.d.ts.map +1 -1
- package/dist/foundations/user/entities/user.js +18 -4
- package/dist/foundations/user/entities/user.js.map +1 -1
- package/dist/foundations/user/index.d.ts +6 -1
- package/dist/foundations/user/index.d.ts.map +1 -1
- package/dist/foundations/user/index.js +13 -1
- package/dist/foundations/user/index.js.map +1 -1
- package/dist/foundations/user/repositories/user.repository.d.ts +56 -11
- package/dist/foundations/user/repositories/user.repository.d.ts.map +1 -1
- package/dist/foundations/user/repositories/user.repository.js +55 -35
- package/dist/foundations/user/repositories/user.repository.js.map +1 -1
- package/dist/foundations/user/services/user.service.d.ts +48 -9
- package/dist/foundations/user/services/user.service.d.ts.map +1 -1
- package/dist/foundations/user/services/user.service.js +50 -32
- package/dist/foundations/user/services/user.service.js.map +1 -1
- package/dist/foundations/user-activity/entities/user-activity.d.ts +36 -0
- package/dist/foundations/user-activity/entities/user-activity.d.ts.map +1 -0
- package/dist/foundations/user-activity/entities/user-activity.js +86 -0
- package/dist/foundations/user-activity/entities/user-activity.js.map +1 -0
- package/dist/foundations/user-activity/entities/user-activity.meta.d.ts +3 -0
- package/dist/foundations/user-activity/entities/user-activity.meta.d.ts.map +1 -0
- package/dist/foundations/user-activity/entities/user-activity.meta.js +10 -0
- package/dist/foundations/user-activity/entities/user-activity.meta.js.map +1 -0
- package/dist/foundations/user-activity/index.d.ts +10 -0
- package/dist/foundations/user-activity/index.d.ts.map +1 -0
- package/dist/foundations/user-activity/index.js +22 -0
- package/dist/foundations/user-activity/index.js.map +1 -0
- package/dist/foundations/user-activity/interceptors/user-activity.interceptor.d.ts +29 -0
- package/dist/foundations/user-activity/interceptors/user-activity.interceptor.d.ts.map +1 -0
- package/dist/foundations/user-activity/interceptors/user-activity.interceptor.js +98 -0
- package/dist/foundations/user-activity/interceptors/user-activity.interceptor.js.map +1 -0
- package/dist/foundations/user-activity/interfaces/user-activity.config.interface.d.ts +67 -0
- package/dist/foundations/user-activity/interfaces/user-activity.config.interface.d.ts.map +1 -0
- package/dist/foundations/user-activity/interfaces/user-activity.config.interface.js +26 -0
- package/dist/foundations/user-activity/interfaces/user-activity.config.interface.js.map +1 -0
- package/dist/foundations/user-activity/interfaces/user-activity.record.input.d.ts +18 -0
- package/dist/foundations/user-activity/interfaces/user-activity.record.input.d.ts.map +1 -0
- package/dist/foundations/{auth/entities/pending-auth.entity.js → user-activity/interfaces/user-activity.record.input.js} +1 -1
- package/dist/foundations/user-activity/interfaces/user-activity.record.input.js.map +1 -0
- package/dist/foundations/user-activity/processors/user-activity.processor.d.ts +25 -0
- package/dist/foundations/user-activity/processors/user-activity.processor.d.ts.map +1 -0
- package/dist/foundations/user-activity/processors/user-activity.processor.js +74 -0
- package/dist/foundations/user-activity/processors/user-activity.processor.js.map +1 -0
- package/dist/foundations/user-activity/repositories/user-activity.repository.d.ts +47 -0
- package/dist/foundations/user-activity/repositories/user-activity.repository.d.ts.map +1 -0
- package/dist/foundations/user-activity/repositories/user-activity.repository.js +124 -0
- package/dist/foundations/user-activity/repositories/user-activity.repository.js.map +1 -0
- package/dist/foundations/user-activity/services/user-activity.service.d.ts +29 -0
- package/dist/foundations/user-activity/services/user-activity.service.d.ts.map +1 -0
- package/dist/foundations/user-activity/services/user-activity.service.js +61 -0
- package/dist/foundations/user-activity/services/user-activity.service.js.map +1 -0
- package/dist/foundations/user-activity/user-activity.module.d.ts +40 -0
- package/dist/foundations/user-activity/user-activity.module.d.ts.map +1 -0
- package/dist/foundations/user-activity/user-activity.module.js +99 -0
- package/dist/foundations/user-activity/user-activity.module.js.map +1 -0
- package/package.json +2 -1
- package/dist/foundations/auth/entities/auth.code.entity.d.ts +0 -7
- package/dist/foundations/auth/entities/auth.code.entity.d.ts.map +0 -1
- package/dist/foundations/auth/entities/auth.code.entity.js +0 -3
- package/dist/foundations/auth/entities/auth.code.entity.js.map +0 -1
- package/dist/foundations/auth/entities/auth.code.map.d.ts +0 -8
- package/dist/foundations/auth/entities/auth.code.map.d.ts.map +0 -1
- package/dist/foundations/auth/entities/auth.code.map.js +0 -13
- package/dist/foundations/auth/entities/auth.code.map.js.map +0 -1
- package/dist/foundations/auth/entities/auth.code.model.d.ts +0 -4
- package/dist/foundations/auth/entities/auth.code.model.d.ts.map +0 -1
- package/dist/foundations/auth/entities/auth.code.model.js +0 -13
- package/dist/foundations/auth/entities/auth.code.model.js.map +0 -1
- package/dist/foundations/auth/entities/auth.entity.d.ts +0 -18
- package/dist/foundations/auth/entities/auth.entity.d.ts.map +0 -1
- package/dist/foundations/auth/entities/auth.entity.js.map +0 -1
- package/dist/foundations/auth/entities/auth.map.d.ts +0 -8
- package/dist/foundations/auth/entities/auth.map.d.ts.map +0 -1
- package/dist/foundations/auth/entities/auth.map.js +0 -14
- package/dist/foundations/auth/entities/auth.map.js.map +0 -1
- package/dist/foundations/auth/entities/auth.model.d.ts +0 -4
- package/dist/foundations/auth/entities/auth.model.d.ts.map +0 -1
- package/dist/foundations/auth/entities/auth.model.js +0 -15
- package/dist/foundations/auth/entities/auth.model.js.map +0 -1
- package/dist/foundations/auth/entities/pending-auth.entity.d.ts +0 -16
- package/dist/foundations/auth/entities/pending-auth.entity.d.ts.map +0 -1
- package/dist/foundations/auth/entities/pending-auth.entity.js.map +0 -1
- package/dist/foundations/auth/entities/pending-auth.map.d.ts +0 -6
- package/dist/foundations/auth/entities/pending-auth.map.d.ts.map +0 -1
- package/dist/foundations/auth/entities/pending-auth.map.js +0 -20
- package/dist/foundations/auth/entities/pending-auth.map.js.map +0 -1
- package/dist/foundations/auth/entities/pending-auth.model.d.ts +0 -9
- package/dist/foundations/auth/entities/pending-auth.model.d.ts.map +0 -1
- package/dist/foundations/auth/entities/pending-auth.model.js +0 -19
- package/dist/foundations/auth/entities/pending-auth.model.js.map +0 -1
- package/dist/foundations/auth/serialisers/auth.serialiser.d.ts +0 -13
- package/dist/foundations/auth/serialisers/auth.serialiser.d.ts.map +0 -1
- package/dist/foundations/auth/serialisers/auth.serialiser.js +0 -52
- package/dist/foundations/auth/serialisers/auth.serialiser.js.map +0 -1
- package/dist/foundations/auth/serialisers/pending-auth.serialiser.d.ts +0 -18
- package/dist/foundations/auth/serialisers/pending-auth.serialiser.d.ts.map +0 -1
- package/dist/foundations/auth/serialisers/pending-auth.serialiser.js +0 -49
- package/dist/foundations/auth/serialisers/pending-auth.serialiser.js.map +0 -1
- package/dist/foundations/content/entities/content.entity.d.ts +0 -31
- package/dist/foundations/content/entities/content.entity.d.ts.map +0 -1
- package/dist/foundations/content/entities/content.entity.js +0 -3
- package/dist/foundations/content/entities/content.entity.js.map +0 -1
- package/dist/foundations/content/entities/content.map.d.ts +0 -8
- package/dist/foundations/content/entities/content.map.d.ts.map +0 -1
- package/dist/foundations/content/entities/content.map.js +0 -19
- package/dist/foundations/content/entities/content.map.js.map +0 -1
- package/dist/foundations/content/entities/content.model.d.ts +0 -4
- package/dist/foundations/content/entities/content.model.d.ts.map +0 -1
- package/dist/foundations/content/entities/content.model.js +0 -16
- package/dist/foundations/content/entities/content.model.js.map +0 -1
- package/dist/foundations/content/factories/content.model.factory.d.ts +0 -17
- package/dist/foundations/content/factories/content.model.factory.d.ts.map +0 -1
- package/dist/foundations/content/factories/content.model.factory.js +0 -65
- package/dist/foundations/content/factories/content.model.factory.js.map +0 -1
- package/dist/foundations/content/serialisers/content.serialiser.d.ts +0 -14
- package/dist/foundations/content/serialisers/content.serialiser.d.ts.map +0 -1
- package/dist/foundations/content/serialisers/content.serialiser.js +0 -78
- package/dist/foundations/content/serialisers/content.serialiser.js.map +0 -1
- package/dist/foundations/feature/entities/feature.entity.d.ts +0 -8
- package/dist/foundations/feature/entities/feature.entity.d.ts.map +0 -1
- package/dist/foundations/feature/entities/feature.entity.js +0 -3
- package/dist/foundations/feature/entities/feature.entity.js.map +0 -1
- package/dist/foundations/feature/entities/feature.map.d.ts +0 -8
- package/dist/foundations/feature/entities/feature.map.d.ts.map +0 -1
- package/dist/foundations/feature/entities/feature.map.js +0 -14
- package/dist/foundations/feature/entities/feature.map.js.map +0 -1
- package/dist/foundations/feature/serialisers/feature.serialiser.d.ts +0 -12
- package/dist/foundations/feature/serialisers/feature.serialiser.d.ts.map +0 -1
- package/dist/foundations/feature/serialisers/feature.serialiser.js +0 -45
- package/dist/foundations/feature/serialisers/feature.serialiser.js.map +0 -1
- package/dist/foundations/notification/entities/notification.entity.d.ts +0 -10
- package/dist/foundations/notification/entities/notification.entity.d.ts.map +0 -1
- package/dist/foundations/notification/entities/notification.entity.js +0 -3
- package/dist/foundations/notification/entities/notification.entity.js.map +0 -1
- package/dist/foundations/notification/entities/notification.map.d.ts +0 -8
- package/dist/foundations/notification/entities/notification.map.d.ts.map +0 -1
- package/dist/foundations/notification/entities/notification.map.js +0 -16
- package/dist/foundations/notification/entities/notification.map.js.map +0 -1
- package/dist/foundations/notification/entities/notification.model.d.ts +0 -4
- package/dist/foundations/notification/entities/notification.model.d.ts.map +0 -1
- package/dist/foundations/notification/entities/notification.model.js +0 -15
- package/dist/foundations/notification/entities/notification.model.js.map +0 -1
- package/dist/foundations/notification/interfaces/notification.service.interface.d.ts +0 -4
- package/dist/foundations/notification/interfaces/notification.service.interface.d.ts.map +0 -1
- package/dist/foundations/notification/interfaces/notification.service.interface.js +0 -3
- package/dist/foundations/notification/interfaces/notification.service.interface.js.map +0 -1
- package/dist/foundations/notification/serialisers/notifications.serialiser.d.ts +0 -12
- package/dist/foundations/notification/serialisers/notifications.serialiser.d.ts.map +0 -1
- package/dist/foundations/notification/serialisers/notifications.serialiser.js +0 -47
- package/dist/foundations/notification/serialisers/notifications.serialiser.js.map +0 -1
- package/dist/foundations/tokenusage/entities/tokenusage.entity.d.ts +0 -11
- package/dist/foundations/tokenusage/entities/tokenusage.entity.d.ts.map +0 -1
- package/dist/foundations/tokenusage/entities/tokenusage.entity.js +0 -3
- package/dist/foundations/tokenusage/entities/tokenusage.entity.js.map +0 -1
- package/dist/foundations/tokenusage/entities/tokenusage.map.d.ts +0 -8
- package/dist/foundations/tokenusage/entities/tokenusage.map.d.ts.map +0 -1
- package/dist/foundations/tokenusage/entities/tokenusage.map.js +0 -17
- package/dist/foundations/tokenusage/entities/tokenusage.map.js.map +0 -1
- package/dist/foundations/tokenusage/entities/tokenusage.model.d.ts +0 -4
- package/dist/foundations/tokenusage/entities/tokenusage.model.d.ts.map +0 -1
- package/dist/foundations/tokenusage/entities/tokenusage.model.js +0 -15
- package/dist/foundations/tokenusage/entities/tokenusage.model.js.map +0 -1
|
@@ -14,6 +14,7 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.AuthController = void 0;
|
|
16
16
|
const common_1 = require("@nestjs/common");
|
|
17
|
+
const throttler_1 = require("@nestjs/throttler");
|
|
17
18
|
const jwt_auth_guard_1 = require("../../../common/guards/jwt.auth.guard");
|
|
18
19
|
const auth_post_forgot_dto_1 = require("../../auth/dtos/auth.post.forgot.dto");
|
|
19
20
|
const auth_post_login_dto_1 = require("../../auth/dtos/auth.post.login.dto");
|
|
@@ -91,6 +92,7 @@ __decorate([
|
|
|
91
92
|
__metadata("design:returntype", Promise)
|
|
92
93
|
], AuthController.prototype, "deleteSinglAuth", null);
|
|
93
94
|
__decorate([
|
|
95
|
+
(0, throttler_1.Throttle)({ default: { limit: 5, ttl: 60000 }, ip: { limit: 5, ttl: 60000 } }),
|
|
94
96
|
(0, common_1.Post)("login"),
|
|
95
97
|
__param(0, (0, common_1.Body)()),
|
|
96
98
|
__metadata("design:type", Function),
|
|
@@ -98,6 +100,7 @@ __decorate([
|
|
|
98
100
|
__metadata("design:returntype", Promise)
|
|
99
101
|
], AuthController.prototype, "login", null);
|
|
100
102
|
__decorate([
|
|
103
|
+
(0, throttler_1.Throttle)({ default: { limit: 3, ttl: 60000 }, ip: { limit: 3, ttl: 60000 } }),
|
|
101
104
|
(0, common_1.Post)("register"),
|
|
102
105
|
(0, common_1.HttpCode)(common_1.HttpStatus.NO_CONTENT),
|
|
103
106
|
__param(0, (0, common_1.Body)()),
|
|
@@ -106,6 +109,7 @@ __decorate([
|
|
|
106
109
|
__metadata("design:returntype", Promise)
|
|
107
110
|
], AuthController.prototype, "register", null);
|
|
108
111
|
__decorate([
|
|
112
|
+
(0, throttler_1.Throttle)({ default: { limit: 3, ttl: 60000 }, ip: { limit: 3, ttl: 60000 } }),
|
|
109
113
|
(0, common_1.Post)("forgot"),
|
|
110
114
|
(0, common_1.HttpCode)(common_1.HttpStatus.NO_CONTENT),
|
|
111
115
|
__param(0, (0, common_1.Body)()),
|
|
@@ -123,6 +127,7 @@ __decorate([
|
|
|
123
127
|
__metadata("design:returntype", Promise)
|
|
124
128
|
], AuthController.prototype, "validateResetCode", null);
|
|
125
129
|
__decorate([
|
|
130
|
+
(0, throttler_1.Throttle)({ default: { limit: 3, ttl: 60000 }, ip: { limit: 3, ttl: 60000 } }),
|
|
126
131
|
(0, common_1.Post)("reset/:code"),
|
|
127
132
|
(0, common_1.HttpCode)(common_1.HttpStatus.NO_CONTENT),
|
|
128
133
|
__param(0, (0, common_1.Body)()),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.controller.js","sourceRoot":"","sources":["../../../../src/foundations/auth/controllers/auth.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAYwB;
|
|
1
|
+
{"version":3,"file":"auth.controller.js","sourceRoot":"","sources":["../../../../src/foundations/auth/controllers/auth.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAYwB;AACxB,iDAA6C;AAE7C,0EAAqE;AACrE,+EAAyE;AACzE,6EAAuE;AACvE,mFAA6E;AAC7E,6FAAuF;AACvF,6DAAyD;AACzD,mEAA+D;AAGxD,IAAM,cAAc,GAApB,MAAM,cAA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,IAAA,aAAI,EAAC,aAAa,CAAC;IACnB,IAAA,iBAAQ,EAAC,mBAAU,CAAC,UAAU,CAAC;IACX,WAAA,IAAA,aAAI,GAAE,CAAA;IAAkC,WAAA,IAAA,cAAK,EAAC,MAAM,CAAC,CAAA;;qCAAxC,sDAAwB;;mDAEzD;AAIK;IAFL,IAAA,aAAI,EAAC,kBAAkB,CAAC;IACxB,IAAA,iBAAQ,EAAC,mBAAU,CAAC,UAAU,CAAC;IACR,WAAA,IAAA,aAAI,GAAE,CAAA;IAAkC,WAAA,IAAA,cAAK,EAAC,MAAM,CAAC,CAAA;;qCAAxC,sDAAwB;;sDAE5D;AAIK;IAFL,IAAA,aAAI,EAAC,gBAAgB,CAAC;IACtB,IAAA,iBAAQ,EAAC,mBAAU,CAAC,UAAU,CAAC;IACT,WAAA,IAAA,cAAK,EAAC,MAAM,CAAC,CAAA;;;;qDAEnC;AAGK;IADL,IAAA,aAAI,EAAC,gBAAgB,CAAC;IAEpB,WAAA,IAAA,aAAI,GAAE,CAAA;;;;+DASR;yBApFU,cAAc;IAD1B,IAAA,mBAAU,EAAC,oBAAQ,CAAC,QAAQ,CAAC;qCAEU,0BAAW;GADtC,cAAc,CAqF1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.discord.controller.d.ts","sourceRoot":"","sources":["../../../../src/foundations/auth/controllers/auth.discord.controller.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"auth.discord.controller.d.ts","sourceRoot":"","sources":["../../../../src/foundations/auth/controllers/auth.discord.controller.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAKvC,OAAO,EAAE,mBAAmB,EAA0B,MAAM,4BAA4B,CAAC;AAEzF,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE,qBACa,qBAAqB;IAE9B,OAAO,CAAC,QAAQ,CAAC,kBAAkB;IACnC,OAAO,CAAC,QAAQ,CAAC,aAAa;gBADb,kBAAkB,EAAE,kBAAkB,EACtC,aAAa,EAAE,aAAa,CAAC,mBAAmB,CAAC;IAGpE,OAAO,KAAK,aAAa,GAExB;IAGK,gBAAgB,CACb,KAAK,EAAE,YAAY,EACT,UAAU,CAAC,EAAE,MAAM,EACjB,YAAY,CAAC,EAAE,MAAM;IASpC,eAAe,CAAQ,KAAK,EAAE,YAAY,EAAiB,IAAI,EAAE,MAAM,EAAkB,KAAK,CAAC,EAAE,MAAM;CAiB9G"}
|
|
@@ -15,7 +15,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
15
15
|
exports.AuthDiscordController = void 0;
|
|
16
16
|
const common_1 = require("@nestjs/common");
|
|
17
17
|
const config_1 = require("@nestjs/config");
|
|
18
|
-
|
|
18
|
+
// Direct file import, NOT the `..` barrel — same import-time cycle as
|
|
19
|
+
// auth.google.controller.ts: through the barrel, `authMeta` is undefined when
|
|
20
|
+
// the `@Get()` route decorators evaluate.
|
|
21
|
+
const auth_meta_1 = require("../entities/auth.meta");
|
|
19
22
|
const auth_discord_service_1 = require("../services/auth.discord.service");
|
|
20
23
|
let AuthDiscordController = class AuthDiscordController {
|
|
21
24
|
constructor(authDiscordService, configService) {
|
|
@@ -47,7 +50,7 @@ let AuthDiscordController = class AuthDiscordController {
|
|
|
47
50
|
};
|
|
48
51
|
exports.AuthDiscordController = AuthDiscordController;
|
|
49
52
|
__decorate([
|
|
50
|
-
(0, common_1.Get)(`${
|
|
53
|
+
(0, common_1.Get)(`${auth_meta_1.authMeta.endpoint}/discord`),
|
|
51
54
|
__param(0, (0, common_1.Res)()),
|
|
52
55
|
__param(1, (0, common_1.Query)("invite")),
|
|
53
56
|
__param(2, (0, common_1.Query)("referral")),
|
|
@@ -56,7 +59,7 @@ __decorate([
|
|
|
56
59
|
__metadata("design:returntype", Promise)
|
|
57
60
|
], AuthDiscordController.prototype, "loginWithDiscord", null);
|
|
58
61
|
__decorate([
|
|
59
|
-
(0, common_1.Get)(`${
|
|
62
|
+
(0, common_1.Get)(`${auth_meta_1.authMeta.endpoint}/callback/discord`),
|
|
60
63
|
__param(0, (0, common_1.Res)()),
|
|
61
64
|
__param(1, (0, common_1.Query)("code")),
|
|
62
65
|
__param(2, (0, common_1.Query)("state")),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.discord.controller.js","sourceRoot":"","sources":["../../../../src/foundations/auth/controllers/auth.discord.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAwF;AACxF,2CAA+C;AAE/C,
|
|
1
|
+
{"version":3,"file":"auth.discord.controller.js","sourceRoot":"","sources":["../../../../src/foundations/auth/controllers/auth.discord.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAwF;AACxF,2CAA+C;AAE/C,sEAAsE;AACtE,8EAA8E;AAC9E,0CAA0C;AAC1C,qDAAiD;AAGjD,2EAAsE;AAG/D,IAAM,qBAAqB,GAA3B,MAAM,qBAAqB;IAChC,YACmB,kBAAsC,EACtC,aAAiD;QADjD,uBAAkB,GAAlB,kBAAkB,CAAoB;QACtC,kBAAa,GAAb,aAAa,CAAoC;IACjE,CAAC;IAEJ,IAAY,aAAa;QACvB,OAAO,IAAI,CAAC,aAAa,CAAC,GAAG,CAAyB,SAAS,CAAC,CAAC;IACnE,CAAC;IAGK,AAAN,KAAK,CAAC,gBAAgB,CACb,KAAmB,EACT,UAAmB,EACjB,YAAqB;QAExC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,YAAY;YAClE,MAAM,IAAI,sBAAa,CAAC,qCAAqC,EAAE,mBAAU,CAAC,eAAe,CAAC,CAAC;QAE7F,KAAK,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AAA,IAAA,cAAK,EAAC,OAAO,CAAC,CAAA;;;;4DAgB7F;gCAvCU,qBAAqB;IADjC,IAAA,mBAAU,GAAE;qCAG4B,yCAAkB;QACvB,sBAAa;GAHpC,qBAAqB,CAwCjC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.google.controller.d.ts","sourceRoot":"","sources":["../../../../src/foundations/auth/controllers/auth.google.controller.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"auth.google.controller.d.ts","sourceRoot":"","sources":["../../../../src/foundations/auth/controllers/auth.google.controller.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAMvC,OAAO,EAAE,mBAAmB,EAAyB,MAAM,4BAA4B,CAAC;AAExF,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAEpE,qBACa,oBAAoB;IAE7B,OAAO,CAAC,QAAQ,CAAC,iBAAiB;IAClC,OAAO,CAAC,QAAQ,CAAC,aAAa;gBADb,iBAAiB,EAAE,iBAAiB,EACpC,aAAa,EAAE,aAAa,CAAC,mBAAmB,CAAC;IAGpE,OAAO,KAAK,YAAY,GAEvB;IAGK,eAAe,CACZ,KAAK,EAAE,YAAY,EACT,UAAU,CAAC,EAAE,MAAM,EACjB,YAAY,CAAC,EAAE,MAAM;IASpC,cAAc,CAAQ,KAAK,EAAE,YAAY,EAAiB,IAAI,EAAE,MAAM,EAAkB,KAAK,EAAE,MAAM;CAiB5G"}
|
|
@@ -15,7 +15,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
15
15
|
exports.AuthGoogleController = void 0;
|
|
16
16
|
const common_1 = require("@nestjs/common");
|
|
17
17
|
const config_1 = require("@nestjs/config");
|
|
18
|
-
|
|
18
|
+
// Direct file import, NOT the `..` barrel: the barrel now exports this
|
|
19
|
+
// controller, so importing back through it creates a cycle in which
|
|
20
|
+
// `authMeta` is still uninitialised when the `@Get()` decorators evaluate
|
|
21
|
+
// ("Cannot read properties of undefined (reading 'endpoint')" at import time).
|
|
22
|
+
const auth_meta_1 = require("../entities/auth.meta");
|
|
19
23
|
const auth_google_service_1 = require("../services/auth.google.service");
|
|
20
24
|
let AuthGoogleController = class AuthGoogleController {
|
|
21
25
|
constructor(authGoogleService, configService) {
|
|
@@ -47,7 +51,7 @@ let AuthGoogleController = class AuthGoogleController {
|
|
|
47
51
|
};
|
|
48
52
|
exports.AuthGoogleController = AuthGoogleController;
|
|
49
53
|
__decorate([
|
|
50
|
-
(0, common_1.Get)(`${
|
|
54
|
+
(0, common_1.Get)(`${auth_meta_1.authMeta.endpoint}/google`),
|
|
51
55
|
__param(0, (0, common_1.Res)()),
|
|
52
56
|
__param(1, (0, common_1.Query)("invite")),
|
|
53
57
|
__param(2, (0, common_1.Query)("referral")),
|
|
@@ -56,7 +60,7 @@ __decorate([
|
|
|
56
60
|
__metadata("design:returntype", Promise)
|
|
57
61
|
], AuthGoogleController.prototype, "loginWithGoogle", null);
|
|
58
62
|
__decorate([
|
|
59
|
-
(0, common_1.Get)(`${
|
|
63
|
+
(0, common_1.Get)(`${auth_meta_1.authMeta.endpoint}/callback/google`),
|
|
60
64
|
__param(0, (0, common_1.Res)()),
|
|
61
65
|
__param(1, (0, common_1.Query)("code")),
|
|
62
66
|
__param(2, (0, common_1.Query)("state")),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.google.controller.js","sourceRoot":"","sources":["../../../../src/foundations/auth/controllers/auth.google.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAwF;AACxF,2CAA+C;AAE/C,
|
|
1
|
+
{"version":3,"file":"auth.google.controller.js","sourceRoot":"","sources":["../../../../src/foundations/auth/controllers/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AC,CAAC;QAE/E,MAAM,WAAW,GAAG,MAAM,IAAI,CAAC,iBAAiB,CAAC,iBAAiB,CAAC;YACjE,WAAW,EAAE,WAAyB;YACtC,UAAU;YACV,YAAY;SACb,CAAC,CAAC;QAEH,KAAK,CAAC,QAAQ,CAAC,WAAW,EAAE,GAAG,CAAC,CAAC;IACnC,CAAC;CACF,CAAA;AAxCY,oDAAoB;AAWzB;IADL,IAAA,YAAG,EAAC,GAAG,oBAAQ,CAAC,QAAQ,SAAS,CAAC;IAEhC,WAAA,IAAA,YAAG,GAAE,CAAA;IACL,WAAA,IAAA,cAAK,EAAC,QAAQ,CAAC,CAAA;IACf,WAAA,IAAA,cAAK,EAAC,UAAU,CAAC,CAAA;;;;2DAMnB;AAGK;IADL,IAAA,YAAG,EAAC,GAAG,oBAAQ,CAAC,QAAQ,kBAAkB,CAAC;IACtB,WAAA,IAAA,YAAG,GAAE,CAAA;IAAuB,WAAA,IAAA,cAAK,EAAC,MAAM,CAAC,CAAA;IAAgB,WAAA,IAAA,cAAK,EAAC,OAAO,CAAC,CAAA;;;;0DAgB5F;+BAvCU,oBAAoB;IADhC,IAAA,mBAAU,GAAE;qCAG2B,uCAAiB;QACrB,sBAAa;GAHpC,oBAAoB,CAwChC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Entity } from "../../../common";
|
|
2
|
+
import type { Auth } from "./auth";
|
|
3
|
+
/**
|
|
4
|
+
* AuthCode Entity Type
|
|
5
|
+
*
|
|
6
|
+
* A one-time code used for login-by-link, account activation, and
|
|
7
|
+
* password-reset flows: exchanged for the Auth session it points to.
|
|
8
|
+
*/
|
|
9
|
+
export type AuthCode = Entity & {
|
|
10
|
+
expiration: Date;
|
|
11
|
+
auth?: Auth;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* AuthCode Entity Descriptor
|
|
15
|
+
*
|
|
16
|
+
* Single source of truth for the AuthCode entity configuration.
|
|
17
|
+
* Generates mapper, childrenTokens, and DataModelInterface automatically.
|
|
18
|
+
*
|
|
19
|
+
* SECURITY: like Auth, this descriptor is deliberately NOT registered with
|
|
20
|
+
* the GraphDescriptorRegistry (see auth.module.ts) — it is a one-time
|
|
21
|
+
* login/activation code, never returned as its own JSON:API resource, and
|
|
22
|
+
* has no business being LLM-queryable.
|
|
23
|
+
*/
|
|
24
|
+
export declare const AuthCodeDescriptor: import("../../../common").EntityDescriptor<AuthCode, {
|
|
25
|
+
auth: {
|
|
26
|
+
model: import("../../../common").DataMeta;
|
|
27
|
+
direction: "in";
|
|
28
|
+
relationship: string;
|
|
29
|
+
cardinality: "one";
|
|
30
|
+
description: string;
|
|
31
|
+
};
|
|
32
|
+
}>;
|
|
33
|
+
export type AuthCodeDescriptorType = typeof AuthCodeDescriptor;
|
|
34
|
+
//# sourceMappingURL=auth.code.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.code.d.ts","sourceRoot":"","sources":["../../../../src/foundations/auth/entities/auth.code.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAInC;;;;;GAKG;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG;IAC9B,UAAU,EAAE,IAAI,CAAC;IACjB,IAAI,CAAC,EAAE,IAAI,CAAC;CACb,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;EAuC7B,CAAC;AAGH,MAAM,MAAM,sBAAsB,GAAG,OAAO,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AuthCodeDescriptor = void 0;
|
|
4
|
+
const common_1 = require("../../../common");
|
|
5
|
+
const auth_code_meta_1 = require("./auth.code.meta");
|
|
6
|
+
const auth_meta_1 = require("./auth.meta");
|
|
7
|
+
/**
|
|
8
|
+
* AuthCode Entity Descriptor
|
|
9
|
+
*
|
|
10
|
+
* Single source of truth for the AuthCode entity configuration.
|
|
11
|
+
* Generates mapper, childrenTokens, and DataModelInterface automatically.
|
|
12
|
+
*
|
|
13
|
+
* SECURITY: like Auth, this descriptor is deliberately NOT registered with
|
|
14
|
+
* the GraphDescriptorRegistry (see auth.module.ts) — it is a one-time
|
|
15
|
+
* login/activation code, never returned as its own JSON:API resource, and
|
|
16
|
+
* has no business being LLM-queryable.
|
|
17
|
+
*/
|
|
18
|
+
exports.AuthCodeDescriptor = (0, common_1.defineEntity)()({
|
|
19
|
+
...auth_code_meta_1.authCodeMeta,
|
|
20
|
+
isCompanyScoped: false,
|
|
21
|
+
description: "A one-time authentication code (codice monouso) exchanged for an Auth session via login-by-link, activation, or password reset.",
|
|
22
|
+
// Field definitions
|
|
23
|
+
fields: {
|
|
24
|
+
expiration: {
|
|
25
|
+
type: "datetime",
|
|
26
|
+
required: true,
|
|
27
|
+
description: "The instant this one-time code expires and can no longer be exchanged for its Auth session.",
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
// Relationship definitions
|
|
31
|
+
//
|
|
32
|
+
// CLI defect fix: the generated descriptor originally declared `auth` as a
|
|
33
|
+
// `fields: { auth: { type: "string" } }` scalar. Because relationship
|
|
34
|
+
// population (EntityFactory.createOrMerge, keyed off
|
|
35
|
+
// model.singleChildrenTokens/singleChildrenRelationships) is driven
|
|
36
|
+
// entirely by `relationships`, that left `AuthCodeDescriptor.model`
|
|
37
|
+
// ignorant of the `authcode_auth` column the repository's Cypher already
|
|
38
|
+
// returns (`findByCode`) — `authCode.auth` came back `undefined` and
|
|
39
|
+
// `AuthService.findAuthByCode()`'s `authCode.auth.id` would throw at
|
|
40
|
+
// runtime. Declaring it as a proper relationship (matching the
|
|
41
|
+
// `(authcode)<-[:HAS_AUTH_CODE]-(auth)` Cypher pattern) fixes this.
|
|
42
|
+
relationships: {
|
|
43
|
+
auth: {
|
|
44
|
+
model: auth_meta_1.authMeta,
|
|
45
|
+
// Auth -[:HAS_AUTH_CODE]-> AuthCode, so from AuthCode's perspective: incoming
|
|
46
|
+
direction: "in",
|
|
47
|
+
relationship: "HAS_AUTH_CODE",
|
|
48
|
+
cardinality: "one",
|
|
49
|
+
description: "The Auth session this one-time code resolves to when exchanged.",
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
});
|
|
53
|
+
//# sourceMappingURL=auth.code.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.code.js","sourceRoot":"","sources":["../../../../src/foundations/auth/entities/auth.code.ts"],"names":[],"mappings":";;;AAAA,4CAAuD;AAEvD,qDAAgD;AAChD,2CAAuC;AAavC;;;;;;;;;;GAUG;AACU,QAAA,kBAAkB,GAAG,IAAA,qBAAY,GAAY,CAAC;IACzD,GAAG,6BAAY;IAEf,eAAe,EAAE,KAAK;IAEtB,WAAW,EACT,iIAAiI;IAEnI,oBAAoB;IACpB,MAAM,EAAE;QACN,UAAU,EAAE;YACV,IAAI,EAAE,UAAU;YAChB,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,6FAA6F;SAC3G;KACF;IAED,2BAA2B;IAC3B,EAAE;IACF,2EAA2E;IAC3E,sEAAsE;IACtE,qDAAqD;IACrD,oEAAoE;IACpE,oEAAoE;IACpE,yEAAyE;IACzE,qEAAqE;IACrE,qEAAqE;IACrE,+DAA+D;IAC/D,oEAAoE;IACpE,aAAa,EAAE;QACb,IAAI,EAAE;YACJ,KAAK,EAAE,oBAAQ;YACf,8EAA8E;YAC9E,SAAS,EAAE,IAAI;YACf,YAAY,EAAE,eAAe;YAC7B,WAAW,EAAE,KAAK;YAClB,WAAW,EAAE,iEAAiE;SAC/E;KACF;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { Entity } from "../../../common";
|
|
2
|
+
import type { User } from "../../user/entities/user";
|
|
3
|
+
/**
|
|
4
|
+
* Auth Entity Type
|
|
5
|
+
*
|
|
6
|
+
* NOTE: `refreshToken` is intentionally NOT part of this type. It is a
|
|
7
|
+
* virtual, output-only attribute (the record's own `id`) assigned by the
|
|
8
|
+
* service layer via `(auth as any).refreshToken = auth.id` — mirrors the
|
|
9
|
+
* pre-migration behaviour, where it was never a real entity property either.
|
|
10
|
+
*/
|
|
11
|
+
export type Auth = Entity & {
|
|
12
|
+
token: string;
|
|
13
|
+
expiration: Date;
|
|
14
|
+
requiresCompanySelection?: boolean;
|
|
15
|
+
selectionToken?: string;
|
|
16
|
+
user?: User;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Auth Entity Descriptor
|
|
20
|
+
*
|
|
21
|
+
* Single source of truth for the Auth entity configuration.
|
|
22
|
+
* Generates mapper, childrenTokens, and DataModelInterface automatically.
|
|
23
|
+
*
|
|
24
|
+
* SECURITY: this descriptor is deliberately NOT registered with the
|
|
25
|
+
* GraphDescriptorRegistry (see auth.module.ts) — the `token` attribute
|
|
26
|
+
* carries a live, valid JWT session credential, and an LLM-queryable graph
|
|
27
|
+
* catalog entry would let chatbot/agent tooling read out active session
|
|
28
|
+
* tokens for any user. Do not add `graphRegistry.register()` for this
|
|
29
|
+
* descriptor without explicit product/security sign-off.
|
|
30
|
+
*/
|
|
31
|
+
export declare const AuthDescriptor: import("../../../common").EntityDescriptor<Auth, {
|
|
32
|
+
user: {
|
|
33
|
+
model: import("../../../common").DataMeta;
|
|
34
|
+
direction: "in";
|
|
35
|
+
relationship: string;
|
|
36
|
+
cardinality: "one";
|
|
37
|
+
description: string;
|
|
38
|
+
};
|
|
39
|
+
}>;
|
|
40
|
+
export type AuthDescriptorType = typeof AuthDescriptor;
|
|
41
|
+
//# sourceMappingURL=auth.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../../src/foundations/auth/entities/auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAC;AAIrD;;;;;;;GAOG;AACH,MAAM,MAAM,IAAI,GAAG,MAAM,GAAG;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,IAAI,CAAC;IAEjB,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,IAAI,CAAC,EAAE,IAAI,CAAC;CACb,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,cAAc;;;;;;;;EA0DzB,CAAC;AAGH,MAAM,MAAM,kBAAkB,GAAG,OAAO,cAAc,CAAC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AuthDescriptor = void 0;
|
|
4
|
+
const common_1 = require("../../../common");
|
|
5
|
+
const user_meta_1 = require("../../user/entities/user.meta");
|
|
6
|
+
const auth_meta_1 = require("./auth.meta");
|
|
7
|
+
/**
|
|
8
|
+
* Auth Entity Descriptor
|
|
9
|
+
*
|
|
10
|
+
* Single source of truth for the Auth entity configuration.
|
|
11
|
+
* Generates mapper, childrenTokens, and DataModelInterface automatically.
|
|
12
|
+
*
|
|
13
|
+
* SECURITY: this descriptor is deliberately NOT registered with the
|
|
14
|
+
* GraphDescriptorRegistry (see auth.module.ts) — the `token` attribute
|
|
15
|
+
* carries a live, valid JWT session credential, and an LLM-queryable graph
|
|
16
|
+
* catalog entry would let chatbot/agent tooling read out active session
|
|
17
|
+
* tokens for any user. Do not add `graphRegistry.register()` for this
|
|
18
|
+
* descriptor without explicit product/security sign-off.
|
|
19
|
+
*/
|
|
20
|
+
exports.AuthDescriptor = (0, common_1.defineEntity)()({
|
|
21
|
+
...auth_meta_1.authMeta,
|
|
22
|
+
// Auth sessions are looked up by token/id directly and are not scoped to a
|
|
23
|
+
// company relationship; pre-login flows (login, token refresh) also run
|
|
24
|
+
// before any companyId exists in CLS. Mirrors the pre-migration Cypher,
|
|
25
|
+
// which never joined Auth to Company.
|
|
26
|
+
isCompanyScoped: false,
|
|
27
|
+
description: "An authentication session (sessione di autenticazione): the signed JWT access token issued to a user on login, paired with an opaque refresh-token id used to exchange for a new access token.",
|
|
28
|
+
// Field definitions
|
|
29
|
+
fields: {
|
|
30
|
+
token: {
|
|
31
|
+
type: "string",
|
|
32
|
+
required: true,
|
|
33
|
+
description: "The signed JWT access token for this session. Returned to the client on login, code exchange, and token refresh; sent back as the Authorization bearer token on subsequent requests.",
|
|
34
|
+
},
|
|
35
|
+
expiration: {
|
|
36
|
+
type: "datetime",
|
|
37
|
+
required: true,
|
|
38
|
+
description: "The instant this session's refresh token expires and can no longer be exchanged for a new access token.",
|
|
39
|
+
},
|
|
40
|
+
requiresCompanySelection: {
|
|
41
|
+
type: "boolean",
|
|
42
|
+
description: "True when the credentials were valid but the user belongs to more than one company, so no session was created: the client must let the user pick a company and call POST /auth/company-selection/:companyId.",
|
|
43
|
+
},
|
|
44
|
+
selectionToken: {
|
|
45
|
+
type: "string",
|
|
46
|
+
description: "Short-lived, company-selection scoped JWT returned alongside requiresCompanySelection. It authenticates only the company listing and the company-selection exchange.",
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
// Virtual fields (output-only, not part of the entity type or stored on the node)
|
|
50
|
+
virtualFields: {
|
|
51
|
+
refreshToken: {
|
|
52
|
+
description: "Opaque refresh-token identifier — this Auth record's own id. Exchanged via POST /auth/refreshtoken/:refreshToken for a new access token without re-entering credentials.",
|
|
53
|
+
compute: (params) => params.data.id,
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
// Relationship definitions
|
|
57
|
+
relationships: {
|
|
58
|
+
user: {
|
|
59
|
+
model: user_meta_1.userMeta,
|
|
60
|
+
// User -[:HAS_AUTH]-> Auth, so from Auth's perspective: incoming
|
|
61
|
+
direction: "in",
|
|
62
|
+
relationship: "HAS_AUTH",
|
|
63
|
+
cardinality: "one",
|
|
64
|
+
description: "The user this authentication session belongs to.",
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
});
|
|
68
|
+
//# sourceMappingURL=auth.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.js","sourceRoot":"","sources":["../../../../src/foundations/auth/entities/auth.ts"],"names":[],"mappings":";;;AAAA,4CAAuD;AAEvD,6DAAyD;AACzD,2CAAuC;AAoBvC;;;;;;;;;;;;GAYG;AACU,QAAA,cAAc,GAAG,IAAA,qBAAY,GAAQ,CAAC;IACjD,GAAG,oBAAQ;IAEX,2EAA2E;IAC3E,wEAAwE;IACxE,wEAAwE;IACxE,sCAAsC;IACtC,eAAe,EAAE,KAAK;IAEtB,WAAW,EACT,gMAAgM;IAElM,oBAAoB;IACpB,MAAM,EAAE;QACN,KAAK,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,WAAW,EACT,sLAAsL;SACzL;QACD,UAAU,EAAE;YACV,IAAI,EAAE,UAAU;YAChB,QAAQ,EAAE,IAAI;YACd,WAAW,EACT,yGAAyG;SAC5G;QACD,wBAAwB,EAAE;YACxB,IAAI,EAAE,SAAS;YACf,WAAW,EACT,8MAA8M;SACjN;QACD,cAAc,EAAE;YACd,IAAI,EAAE,QAAQ;YACd,WAAW,EACT,sKAAsK;SACzK;KACF;IAED,kFAAkF;IAClF,aAAa,EAAE;QACb,YAAY,EAAE;YACZ,WAAW,EACT,0KAA0K;YAC5K,OAAO,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE;SACpC;KACF;IAED,2BAA2B;IAC3B,aAAa,EAAE;QACb,IAAI,EAAE;YACJ,KAAK,EAAE,oBAAQ;YACf,iEAAiE;YACjE,SAAS,EAAE,IAAI;YACf,YAAY,EAAE,UAAU;YACxB,WAAW,EAAE,KAAK;YAClB,WAAW,EAAE,kDAAkD;SAChE;KACF;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Entity } from "../../../common";
|
|
2
|
+
/**
|
|
3
|
+
* PendingAuth Entity Type
|
|
4
|
+
*
|
|
5
|
+
* The response returned when a user with 2FA enabled successfully
|
|
6
|
+
* authenticates with a password but still has to complete 2FA verification.
|
|
7
|
+
*
|
|
8
|
+
* PendingAuth is NEVER persisted: no `:PendingAuth` node exists in Neo4j. The
|
|
9
|
+
* login flow hands a plain object straight to `JsonApiService.buildSingle`,
|
|
10
|
+
* so the descriptor exists only to describe the JSON:API shape.
|
|
11
|
+
*
|
|
12
|
+
* NAMING: the property names below are the ON-THE-WIRE attribute names of the
|
|
13
|
+
* deleted `PendingAuthSerialiser` (`pendingToken`, `expiresAt`,
|
|
14
|
+
* `availableMethods`, `preferredMethod`). The descriptor-based serialiser maps
|
|
15
|
+
* every attribute 1:1 from the field name (see DescriptorBasedSerialiser.create),
|
|
16
|
+
* so it has no way to rename `token` -> `pendingToken` the way the hand-written
|
|
17
|
+
* serialiser did. Keeping the entity properties on the wire names is what
|
|
18
|
+
* preserves the response byte-for-byte — do not "tidy" them back to
|
|
19
|
+
* `token` / `expiration`.
|
|
20
|
+
*/
|
|
21
|
+
export type PendingAuth = Entity & {
|
|
22
|
+
/** The pending JWT token (limited access until 2FA is completed) */
|
|
23
|
+
pendingToken: string;
|
|
24
|
+
/** When the pending session expires */
|
|
25
|
+
expiresAt: Date;
|
|
26
|
+
/** Available 2FA methods for this user */
|
|
27
|
+
availableMethods: string[];
|
|
28
|
+
/** The user's preferred 2FA method */
|
|
29
|
+
preferredMethod?: string;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* PendingAuth Entity Descriptor
|
|
33
|
+
*
|
|
34
|
+
* SECURITY: like Auth, deliberately NOT registered with the
|
|
35
|
+
* GraphDescriptorRegistry — `pendingToken` is a live (if limited) credential.
|
|
36
|
+
*/
|
|
37
|
+
export declare const PendingAuthDescriptor: import("../../../common").EntityDescriptor<PendingAuth, {}>;
|
|
38
|
+
export type PendingAuthDescriptorType = typeof PendingAuthDescriptor;
|
|
39
|
+
//# sourceMappingURL=pending-auth.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pending-auth.d.ts","sourceRoot":"","sources":["../../../../src/foundations/auth/entities/pending-auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAGvD;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG;IACjC,oEAAoE;IACpE,YAAY,EAAE,MAAM,CAAC;IAErB,uCAAuC;IACvC,SAAS,EAAE,IAAI,CAAC;IAEhB,0CAA0C;IAC1C,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAE3B,sCAAsC;IACtC,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,6DAkChC,CAAC;AAGH,MAAM,MAAM,yBAAyB,GAAG,OAAO,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PendingAuthDescriptor = void 0;
|
|
4
|
+
const common_1 = require("../../../common");
|
|
5
|
+
const pending_auth_meta_1 = require("./pending-auth.meta");
|
|
6
|
+
/**
|
|
7
|
+
* PendingAuth Entity Descriptor
|
|
8
|
+
*
|
|
9
|
+
* SECURITY: like Auth, deliberately NOT registered with the
|
|
10
|
+
* GraphDescriptorRegistry — `pendingToken` is a live (if limited) credential.
|
|
11
|
+
*/
|
|
12
|
+
exports.PendingAuthDescriptor = (0, common_1.defineEntity)()({
|
|
13
|
+
...pending_auth_meta_1.pendingAuthMeta,
|
|
14
|
+
// Not persisted, never joined to a Company; the 2FA challenge is issued
|
|
15
|
+
// before any company scope exists in CLS.
|
|
16
|
+
isCompanyScoped: false,
|
|
17
|
+
description: "A pending two-factor authentication challenge (sfida a due fattori): issued when the password check succeeds but 2FA verification is still required.",
|
|
18
|
+
fields: {
|
|
19
|
+
pendingToken: {
|
|
20
|
+
type: "string",
|
|
21
|
+
required: true,
|
|
22
|
+
description: "Short-lived JWT with limited access, valid only for completing the 2FA verification of this challenge.",
|
|
23
|
+
},
|
|
24
|
+
expiresAt: {
|
|
25
|
+
type: "datetime",
|
|
26
|
+
required: true,
|
|
27
|
+
description: "The instant this pending 2FA challenge expires and can no longer be completed.",
|
|
28
|
+
},
|
|
29
|
+
availableMethods: {
|
|
30
|
+
type: "string[]",
|
|
31
|
+
description: "The 2FA methods this user can verify with (e.g. totp, passkey, backup code).",
|
|
32
|
+
},
|
|
33
|
+
preferredMethod: {
|
|
34
|
+
type: "string",
|
|
35
|
+
description: "The 2FA method the user selected as preferred, so the client can pre-select it.",
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
// No relationships: the challenge carries no resource linkage.
|
|
39
|
+
relationships: {},
|
|
40
|
+
});
|
|
41
|
+
//# sourceMappingURL=pending-auth.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pending-auth.js","sourceRoot":"","sources":["../../../../src/foundations/auth/entities/pending-auth.ts"],"names":[],"mappings":";;;AAAA,4CAAuD;AACvD,2DAAsD;AAmCtD;;;;;GAKG;AACU,QAAA,qBAAqB,GAAG,IAAA,qBAAY,GAAe,CAAC;IAC/D,GAAG,mCAAe;IAElB,wEAAwE;IACxE,0CAA0C;IAC1C,eAAe,EAAE,KAAK;IAEtB,WAAW,EACT,sJAAsJ;IAExJ,MAAM,EAAE;QACN,YAAY,EAAE;YACZ,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,WAAW,EACT,wGAAwG;SAC3G;QACD,SAAS,EAAE;YACT,IAAI,EAAE,UAAU;YAChB,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,gFAAgF;SAC9F;QACD,gBAAgB,EAAE;YAChB,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,8EAA8E;SAC5F;QACD,eAAe,EAAE;YACf,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,iFAAiF;SAC/F;KACF;IAED,+DAA+D;IAC/D,aAAa,EAAE,EAAE;CAClB,CAAC,CAAC"}
|
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
export { AuthModule } from "./auth.module";
|
|
2
2
|
export { AuthCompanyController } from "./controllers/auth.company.controller";
|
|
3
3
|
export { AuthController } from "./controllers/auth.controller";
|
|
4
|
+
export { AuthGoogleController } from "./controllers/auth.google.controller";
|
|
5
|
+
export { AuthPostForgotDTO } from "./dtos/auth.post.forgot.dto";
|
|
6
|
+
export { AuthPostLoginAttributesDTO, AuthPostLoginDataDTO, AuthPostLoginDTO } from "./dtos/auth.post.login.dto";
|
|
7
|
+
export { AuthPostRegisterAttributesDTO, AuthPostRegisterDataDTO, AuthPostRegisterDTO, } from "./dtos/auth.post.register.dto";
|
|
8
|
+
export { AuthPostResetPasswordDTO } from "./dtos/auth.post.resetpassword.dto";
|
|
9
|
+
export { Auth, AuthDescriptor } from "./entities/auth";
|
|
10
|
+
export { AuthCode, AuthCodeDescriptor } from "./entities/auth.code";
|
|
11
|
+
export { authCodeMeta } from "./entities/auth.code.meta";
|
|
4
12
|
export { authMeta } from "./entities/auth.meta";
|
|
13
|
+
export { PendingAuth, PendingAuthDescriptor } from "./entities/pending-auth";
|
|
14
|
+
export { pendingAuthMeta } from "./entities/pending-auth.meta";
|
|
5
15
|
export { REGISTRATION_HOOK, RegistrationHookInterface } from "./interfaces/registration-hook.interface";
|
|
16
|
+
export { AuthRepository } from "./repositories/auth.repository";
|
|
17
|
+
export { AuthGoogleService } from "./services/auth.google.service";
|
|
6
18
|
export { AuthService } from "./services/auth.service";
|
|
19
|
+
export { PendingRegistrationService } from "./services/pending-registration.service";
|
|
7
20
|
export { TrialQueueService } from "./services/trial-queue.service";
|
|
8
21
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/foundations/auth/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AACxG,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/foundations/auth/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAC5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,0BAA0B,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAChH,OAAO,EACL,6BAA6B,EAC7B,uBAAuB,EACvB,mBAAmB,GACpB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AACpE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAC7E,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AACxG,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AACrF,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC"}
|
|
@@ -1,18 +1,48 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TrialQueueService = exports.AuthService = exports.REGISTRATION_HOOK = exports.authMeta = exports.AuthController = exports.AuthCompanyController = exports.AuthModule = void 0;
|
|
3
|
+
exports.TrialQueueService = exports.PendingRegistrationService = exports.AuthService = exports.AuthGoogleService = exports.AuthRepository = exports.REGISTRATION_HOOK = exports.pendingAuthMeta = exports.PendingAuthDescriptor = exports.authMeta = exports.authCodeMeta = exports.AuthCodeDescriptor = exports.AuthDescriptor = exports.AuthPostResetPasswordDTO = exports.AuthPostRegisterDTO = exports.AuthPostRegisterDataDTO = exports.AuthPostRegisterAttributesDTO = exports.AuthPostLoginDTO = exports.AuthPostLoginDataDTO = exports.AuthPostLoginAttributesDTO = exports.AuthPostForgotDTO = exports.AuthGoogleController = exports.AuthController = exports.AuthCompanyController = exports.AuthModule = void 0;
|
|
4
4
|
var auth_module_1 = require("./auth.module");
|
|
5
5
|
Object.defineProperty(exports, "AuthModule", { enumerable: true, get: function () { return auth_module_1.AuthModule; } });
|
|
6
6
|
var auth_company_controller_1 = require("./controllers/auth.company.controller");
|
|
7
7
|
Object.defineProperty(exports, "AuthCompanyController", { enumerable: true, get: function () { return auth_company_controller_1.AuthCompanyController; } });
|
|
8
8
|
var auth_controller_1 = require("./controllers/auth.controller");
|
|
9
9
|
Object.defineProperty(exports, "AuthController", { enumerable: true, get: function () { return auth_controller_1.AuthController; } });
|
|
10
|
+
var auth_google_controller_1 = require("./controllers/auth.google.controller");
|
|
11
|
+
Object.defineProperty(exports, "AuthGoogleController", { enumerable: true, get: function () { return auth_google_controller_1.AuthGoogleController; } });
|
|
12
|
+
var auth_post_forgot_dto_1 = require("./dtos/auth.post.forgot.dto");
|
|
13
|
+
Object.defineProperty(exports, "AuthPostForgotDTO", { enumerable: true, get: function () { return auth_post_forgot_dto_1.AuthPostForgotDTO; } });
|
|
14
|
+
var auth_post_login_dto_1 = require("./dtos/auth.post.login.dto");
|
|
15
|
+
Object.defineProperty(exports, "AuthPostLoginAttributesDTO", { enumerable: true, get: function () { return auth_post_login_dto_1.AuthPostLoginAttributesDTO; } });
|
|
16
|
+
Object.defineProperty(exports, "AuthPostLoginDataDTO", { enumerable: true, get: function () { return auth_post_login_dto_1.AuthPostLoginDataDTO; } });
|
|
17
|
+
Object.defineProperty(exports, "AuthPostLoginDTO", { enumerable: true, get: function () { return auth_post_login_dto_1.AuthPostLoginDTO; } });
|
|
18
|
+
var auth_post_register_dto_1 = require("./dtos/auth.post.register.dto");
|
|
19
|
+
Object.defineProperty(exports, "AuthPostRegisterAttributesDTO", { enumerable: true, get: function () { return auth_post_register_dto_1.AuthPostRegisterAttributesDTO; } });
|
|
20
|
+
Object.defineProperty(exports, "AuthPostRegisterDataDTO", { enumerable: true, get: function () { return auth_post_register_dto_1.AuthPostRegisterDataDTO; } });
|
|
21
|
+
Object.defineProperty(exports, "AuthPostRegisterDTO", { enumerable: true, get: function () { return auth_post_register_dto_1.AuthPostRegisterDTO; } });
|
|
22
|
+
var auth_post_resetpassword_dto_1 = require("./dtos/auth.post.resetpassword.dto");
|
|
23
|
+
Object.defineProperty(exports, "AuthPostResetPasswordDTO", { enumerable: true, get: function () { return auth_post_resetpassword_dto_1.AuthPostResetPasswordDTO; } });
|
|
24
|
+
var auth_1 = require("./entities/auth");
|
|
25
|
+
Object.defineProperty(exports, "AuthDescriptor", { enumerable: true, get: function () { return auth_1.AuthDescriptor; } });
|
|
26
|
+
var auth_code_1 = require("./entities/auth.code");
|
|
27
|
+
Object.defineProperty(exports, "AuthCodeDescriptor", { enumerable: true, get: function () { return auth_code_1.AuthCodeDescriptor; } });
|
|
28
|
+
var auth_code_meta_1 = require("./entities/auth.code.meta");
|
|
29
|
+
Object.defineProperty(exports, "authCodeMeta", { enumerable: true, get: function () { return auth_code_meta_1.authCodeMeta; } });
|
|
10
30
|
var auth_meta_1 = require("./entities/auth.meta");
|
|
11
31
|
Object.defineProperty(exports, "authMeta", { enumerable: true, get: function () { return auth_meta_1.authMeta; } });
|
|
32
|
+
var pending_auth_1 = require("./entities/pending-auth");
|
|
33
|
+
Object.defineProperty(exports, "PendingAuthDescriptor", { enumerable: true, get: function () { return pending_auth_1.PendingAuthDescriptor; } });
|
|
34
|
+
var pending_auth_meta_1 = require("./entities/pending-auth.meta");
|
|
35
|
+
Object.defineProperty(exports, "pendingAuthMeta", { enumerable: true, get: function () { return pending_auth_meta_1.pendingAuthMeta; } });
|
|
12
36
|
var registration_hook_interface_1 = require("./interfaces/registration-hook.interface");
|
|
13
37
|
Object.defineProperty(exports, "REGISTRATION_HOOK", { enumerable: true, get: function () { return registration_hook_interface_1.REGISTRATION_HOOK; } });
|
|
38
|
+
var auth_repository_1 = require("./repositories/auth.repository");
|
|
39
|
+
Object.defineProperty(exports, "AuthRepository", { enumerable: true, get: function () { return auth_repository_1.AuthRepository; } });
|
|
40
|
+
var auth_google_service_1 = require("./services/auth.google.service");
|
|
41
|
+
Object.defineProperty(exports, "AuthGoogleService", { enumerable: true, get: function () { return auth_google_service_1.AuthGoogleService; } });
|
|
14
42
|
var auth_service_1 = require("./services/auth.service");
|
|
15
43
|
Object.defineProperty(exports, "AuthService", { enumerable: true, get: function () { return auth_service_1.AuthService; } });
|
|
44
|
+
var pending_registration_service_1 = require("./services/pending-registration.service");
|
|
45
|
+
Object.defineProperty(exports, "PendingRegistrationService", { enumerable: true, get: function () { return pending_registration_service_1.PendingRegistrationService; } });
|
|
16
46
|
var trial_queue_service_1 = require("./services/trial-queue.service");
|
|
17
47
|
Object.defineProperty(exports, "TrialQueueService", { enumerable: true, get: function () { return trial_queue_service_1.TrialQueueService; } });
|
|
18
48
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/foundations/auth/index.ts"],"names":[],"mappings":";;;AAAA,6CAA2C;AAAlC,yGAAA,UAAU,OAAA;AACnB,iFAA8E;AAArE,gIAAA,qBAAqB,OAAA;AAC9B,iEAA+D;AAAtD,iHAAA,cAAc,OAAA;AACvB,kDAAgD;AAAvC,qGAAA,QAAQ,OAAA;AACjB,wFAAwG;AAA/F,gIAAA,iBAAiB,OAAA;AAC1B,wDAAsD;AAA7C,2GAAA,WAAW,OAAA;AACpB,sEAAmE;AAA1D,wHAAA,iBAAiB,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/foundations/auth/index.ts"],"names":[],"mappings":";;;AAAA,6CAA2C;AAAlC,yGAAA,UAAU,OAAA;AACnB,iFAA8E;AAArE,gIAAA,qBAAqB,OAAA;AAC9B,iEAA+D;AAAtD,iHAAA,cAAc,OAAA;AACvB,+EAA4E;AAAnE,8HAAA,oBAAoB,OAAA;AAC7B,oEAAgE;AAAvD,yHAAA,iBAAiB,OAAA;AAC1B,kEAAgH;AAAvG,iIAAA,0BAA0B,OAAA;AAAE,2HAAA,oBAAoB,OAAA;AAAE,uHAAA,gBAAgB,OAAA;AAC3E,wEAIuC;AAHrC,uIAAA,6BAA6B,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