@hed-hog/core 0.0.387 → 0.0.390
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -11
- package/dist/access-log/access-log.interceptor.d.ts.map +1 -1
- package/dist/access-log/access-log.interceptor.js +4 -2
- package/dist/access-log/access-log.interceptor.js.map +1 -1
- package/dist/ai/ai-attachment.fragments.d.ts +23 -0
- package/dist/ai/ai-attachment.fragments.d.ts.map +1 -0
- package/dist/ai/ai-attachment.fragments.js +34 -0
- package/dist/ai/ai-attachment.fragments.js.map +1 -0
- package/dist/ai/ai.controller.d.ts +7 -16
- package/dist/ai/ai.controller.d.ts.map +1 -1
- package/dist/ai/ai.prompts.d.ts +16 -0
- package/dist/ai/ai.prompts.d.ts.map +1 -0
- package/dist/ai/ai.prompts.js +37 -0
- package/dist/ai/ai.prompts.js.map +1 -0
- package/dist/ai/ai.service.d.ts +63 -12
- package/dist/ai/ai.service.d.ts.map +1 -1
- package/dist/ai/ai.service.js +215 -88
- package/dist/ai/ai.service.js.map +1 -1
- package/dist/ai/dto/chat.dto.d.ts +4 -1
- package/dist/ai/dto/chat.dto.d.ts.map +1 -1
- package/dist/ai/dto/chat.dto.js +23 -1
- package/dist/ai/dto/chat.dto.js.map +1 -1
- package/dist/ai/dto/create-agent.dto.d.ts +1 -1
- package/dist/ai/dto/create-agent.dto.d.ts.map +1 -1
- package/dist/ai/dto/create-agent.dto.js +1 -1
- package/dist/ai/dto/create-agent.dto.js.map +1 -1
- package/dist/ai/dto/update-agent.dto.d.ts +1 -1
- package/dist/ai/dto/update-agent.dto.d.ts.map +1 -1
- package/dist/ai/dto/update-agent.dto.js +1 -1
- package/dist/ai/dto/update-agent.dto.js.map +1 -1
- package/dist/ai-instruction/ai-instruction.controller.d.ts +61 -7
- package/dist/ai-instruction/ai-instruction.controller.d.ts.map +1 -1
- package/dist/ai-instruction/ai-instruction.controller.js +63 -20
- package/dist/ai-instruction/ai-instruction.controller.js.map +1 -1
- package/dist/ai-instruction/ai-instruction.module.d.ts.map +1 -1
- package/dist/ai-instruction/ai-instruction.module.js +13 -2
- package/dist/ai-instruction/ai-instruction.module.js.map +1 -1
- package/dist/ai-instruction/ai-instruction.service.d.ts +131 -6
- package/dist/ai-instruction/ai-instruction.service.d.ts.map +1 -1
- package/dist/ai-instruction/ai-instruction.service.js +533 -60
- package/dist/ai-instruction/ai-instruction.service.js.map +1 -1
- package/dist/ai-instruction/ai-prompt-builder.service.d.ts +8 -0
- package/dist/ai-instruction/ai-prompt-builder.service.d.ts.map +1 -1
- package/dist/ai-instruction/ai-prompt-builder.service.js +10 -1
- package/dist/ai-instruction/ai-prompt-builder.service.js.map +1 -1
- package/dist/ai-instruction/ai-prompt-registry.d.ts +45 -0
- package/dist/ai-instruction/ai-prompt-registry.d.ts.map +1 -0
- package/dist/ai-instruction/ai-prompt-registry.js +49 -0
- package/dist/ai-instruction/ai-prompt-registry.js.map +1 -0
- package/dist/ai-instruction/ai-prompt-resolver.service.d.ts +89 -0
- package/dist/ai-instruction/ai-prompt-resolver.service.d.ts.map +1 -0
- package/dist/ai-instruction/ai-prompt-resolver.service.js +222 -0
- package/dist/ai-instruction/ai-prompt-resolver.service.js.map +1 -0
- package/dist/ai-instruction/ai-prompt-template.util.d.ts +70 -0
- package/dist/ai-instruction/ai-prompt-template.util.d.ts.map +1 -0
- package/dist/ai-instruction/ai-prompt-template.util.js +154 -0
- package/dist/ai-instruction/ai-prompt-template.util.js.map +1 -0
- package/dist/ai-instruction/dto/create-ai-instruction.dto.d.ts +5 -0
- package/dist/ai-instruction/dto/create-ai-instruction.dto.d.ts.map +1 -1
- package/dist/ai-instruction/dto/create-ai-instruction.dto.js +27 -1
- package/dist/ai-instruction/dto/create-ai-instruction.dto.js.map +1 -1
- package/dist/ai-instruction/dto/preview-ai-instruction.dto.d.ts +14 -0
- package/dist/ai-instruction/dto/preview-ai-instruction.dto.d.ts.map +1 -0
- package/dist/ai-instruction/dto/preview-ai-instruction.dto.js +42 -0
- package/dist/ai-instruction/dto/preview-ai-instruction.dto.js.map +1 -0
- package/dist/ai-instruction/dto/update-ai-instruction.dto.d.ts +11 -0
- package/dist/ai-instruction/dto/update-ai-instruction.dto.d.ts.map +1 -1
- package/dist/ai-instruction/dto/update-ai-instruction.dto.js +34 -0
- package/dist/ai-instruction/dto/update-ai-instruction.dto.js.map +1 -1
- package/dist/ai-instruction/types/ai-instruction.types.d.ts +13 -1
- package/dist/ai-instruction/types/ai-instruction.types.d.ts.map +1 -1
- package/dist/ai-instruction/types/ai-instruction.types.js +10 -0
- package/dist/ai-instruction/types/ai-instruction.types.js.map +1 -1
- package/dist/auth/auth.controller.d.ts +24 -9
- package/dist/auth/auth.controller.d.ts.map +1 -1
- package/dist/auth/auth.controller.js +49 -21
- package/dist/auth/auth.controller.js.map +1 -1
- package/dist/auth/auth.service.d.ts +33 -8
- package/dist/auth/auth.service.d.ts.map +1 -1
- package/dist/auth/auth.service.js +78 -29
- package/dist/auth/auth.service.js.map +1 -1
- package/dist/captcha/captcha.module.d.ts +3 -0
- package/dist/captcha/captcha.module.d.ts.map +1 -0
- package/dist/captcha/captcha.module.js +23 -0
- package/dist/captcha/captcha.module.js.map +1 -0
- package/dist/captcha/captcha.service.d.ts +38 -0
- package/dist/captcha/captcha.service.d.ts.map +1 -0
- package/dist/captcha/captcha.service.js +144 -0
- package/dist/captcha/captcha.service.js.map +1 -0
- package/dist/challenge/challenge.service.d.ts +16 -7
- package/dist/challenge/challenge.service.d.ts.map +1 -1
- package/dist/challenge/challenge.service.js +64 -16
- package/dist/challenge/challenge.service.js.map +1 -1
- package/dist/core.module.d.ts +3 -1
- package/dist/core.module.d.ts.map +1 -1
- package/dist/core.module.js +29 -2
- package/dist/core.module.js.map +1 -1
- package/dist/dashboard/dashboard/dashboard.controller.d.ts +15 -15
- package/dist/dashboard/dashboard/dashboard.service.d.ts +15 -15
- package/dist/dashboard/dashboard-component/dashboard-component.controller.d.ts +6 -6
- package/dist/dashboard/dashboard-component/dashboard-component.service.d.ts +6 -6
- package/dist/dashboard/dashboard-component-role/dashboard-component-role.controller.d.ts +20 -20
- package/dist/dashboard/dashboard-component-role/dashboard-component-role.service.d.ts +20 -20
- package/dist/dashboard/dashboard-core/dashboard-core.controller.d.ts +1 -1
- package/dist/dashboard/dashboard-core/dashboard-core.service.d.ts +1 -1
- package/dist/dashboard/dashboard-role/dashboard-role.controller.d.ts +13 -13
- package/dist/dashboard/dashboard-role/dashboard-role.service.d.ts +13 -13
- package/dist/file/file.service.d.ts +6 -0
- package/dist/file/file.service.d.ts.map +1 -1
- package/dist/file/file.service.js +44 -4
- package/dist/file/file.service.js.map +1 -1
- package/dist/incident/incident-notifier.service.d.ts +36 -0
- package/dist/incident/incident-notifier.service.d.ts.map +1 -0
- package/dist/incident/incident-notifier.service.js +208 -0
- package/dist/incident/incident-notifier.service.js.map +1 -0
- package/dist/incident/incident.controller.d.ts +23 -0
- package/dist/incident/incident.controller.d.ts.map +1 -0
- package/dist/incident/incident.controller.js +75 -0
- package/dist/incident/incident.controller.js.map +1 -0
- package/dist/incident/incident.module.d.ts +7 -0
- package/dist/incident/incident.module.d.ts.map +1 -0
- package/dist/incident/incident.module.js +32 -0
- package/dist/incident/incident.module.js.map +1 -0
- package/dist/incident/incident.service.d.ts +72 -0
- package/dist/incident/incident.service.d.ts.map +1 -0
- package/dist/incident/incident.service.js +184 -0
- package/dist/incident/incident.service.js.map +1 -0
- package/dist/index.d.ts +26 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +30 -0
- package/dist/index.js.map +1 -1
- package/dist/integration-profile/dto/test.dto.d.ts +13 -0
- package/dist/integration-profile/dto/test.dto.d.ts.map +1 -0
- package/dist/integration-profile/dto/test.dto.js +26 -0
- package/dist/integration-profile/dto/test.dto.js.map +1 -0
- package/dist/integration-profile/integration-profile.controller.d.ts +12 -1
- package/dist/integration-profile/integration-profile.controller.d.ts.map +1 -1
- package/dist/integration-profile/integration-profile.controller.js +9 -1
- package/dist/integration-profile/integration-profile.controller.js.map +1 -1
- package/dist/integration-profile/integration-profile.module.d.ts +6 -1
- package/dist/integration-profile/integration-profile.module.d.ts.map +1 -1
- package/dist/integration-profile/integration-profile.module.js +26 -3
- package/dist/integration-profile/integration-profile.module.js.map +1 -1
- package/dist/integration-profile/integration-profile.secrets.d.ts.map +1 -1
- package/dist/integration-profile/integration-profile.secrets.js +9 -1
- package/dist/integration-profile/integration-profile.secrets.js.map +1 -1
- package/dist/integration-profile/integration-profile.service.d.ts +26 -7
- package/dist/integration-profile/integration-profile.service.d.ts.map +1 -1
- package/dist/integration-profile/integration-profile.service.js +94 -91
- package/dist/integration-profile/integration-profile.service.js.map +1 -1
- package/dist/integration-profile/integration-profile.utils.d.ts +13 -1
- package/dist/integration-profile/integration-profile.utils.d.ts.map +1 -1
- package/dist/integration-profile/integration-profile.utils.js +20 -5
- package/dist/integration-profile/integration-profile.utils.js.map +1 -1
- package/dist/integration-profile/testers/ai.testers.d.ts +3 -0
- package/dist/integration-profile/testers/ai.testers.d.ts.map +1 -0
- package/dist/integration-profile/testers/ai.testers.js +125 -0
- package/dist/integration-profile/testers/ai.testers.js.map +1 -0
- package/dist/integration-profile/testers/captcha.testers.d.ts +3 -0
- package/dist/integration-profile/testers/captcha.testers.d.ts.map +1 -0
- package/dist/integration-profile/testers/captcha.testers.js +121 -0
- package/dist/integration-profile/testers/captcha.testers.js.map +1 -0
- package/dist/integration-profile/testers/email.testers.d.ts +3 -0
- package/dist/integration-profile/testers/email.testers.d.ts.map +1 -0
- package/dist/integration-profile/testers/email.testers.js +128 -0
- package/dist/integration-profile/testers/email.testers.js.map +1 -0
- package/dist/integration-profile/testers/http-probe.d.ts +57 -0
- package/dist/integration-profile/testers/http-probe.d.ts.map +1 -0
- package/dist/integration-profile/testers/http-probe.js +140 -0
- package/dist/integration-profile/testers/http-probe.js.map +1 -0
- package/dist/integration-profile/testers/index.d.ts +12 -0
- package/dist/integration-profile/testers/index.d.ts.map +1 -0
- package/dist/integration-profile/testers/index.js +45 -0
- package/dist/integration-profile/testers/index.js.map +1 -0
- package/dist/integration-profile/testers/infrastructure.testers.d.ts +3 -0
- package/dist/integration-profile/testers/infrastructure.testers.d.ts.map +1 -0
- package/dist/integration-profile/testers/infrastructure.testers.js +105 -0
- package/dist/integration-profile/testers/infrastructure.testers.js.map +1 -0
- package/dist/integration-profile/testers/integration-tester.registry.d.ts +17 -0
- package/dist/integration-profile/testers/integration-tester.registry.d.ts.map +1 -0
- package/dist/integration-profile/testers/integration-tester.registry.js +52 -0
- package/dist/integration-profile/testers/integration-tester.registry.js.map +1 -0
- package/dist/integration-profile/testers/integration-tester.types.d.ts +55 -0
- package/dist/integration-profile/testers/integration-tester.types.d.ts.map +1 -0
- package/dist/integration-profile/testers/integration-tester.types.js +16 -0
- package/dist/integration-profile/testers/integration-tester.types.js.map +1 -0
- package/dist/integration-profile/testers/messaging.testers.d.ts +3 -0
- package/dist/integration-profile/testers/messaging.testers.d.ts.map +1 -0
- package/dist/integration-profile/testers/messaging.testers.js +70 -0
- package/dist/integration-profile/testers/messaging.testers.js.map +1 -0
- package/dist/integration-profile/testers/oauth.testers.d.ts +3 -0
- package/dist/integration-profile/testers/oauth.testers.d.ts.map +1 -0
- package/dist/integration-profile/testers/oauth.testers.js +285 -0
- package/dist/integration-profile/testers/oauth.testers.js.map +1 -0
- package/dist/integration-profile/testers/payment.testers.d.ts +3 -0
- package/dist/integration-profile/testers/payment.testers.d.ts.map +1 -0
- package/dist/integration-profile/testers/payment.testers.js +169 -0
- package/dist/integration-profile/testers/payment.testers.js.map +1 -0
- package/dist/integration-profile/testers/storage.testers.d.ts +3 -0
- package/dist/integration-profile/testers/storage.testers.d.ts.map +1 -0
- package/dist/integration-profile/testers/storage.testers.js +208 -0
- package/dist/integration-profile/testers/storage.testers.js.map +1 -0
- package/dist/language/en.json +4 -2
- package/dist/language/pt.json +4 -2
- package/dist/leaked-password/leaked-password.controller.d.ts +24 -0
- package/dist/leaked-password/leaked-password.controller.d.ts.map +1 -0
- package/dist/leaked-password/leaked-password.controller.js +78 -0
- package/dist/leaked-password/leaked-password.controller.js.map +1 -0
- package/dist/leaked-password/leaked-password.module.d.ts +8 -0
- package/dist/leaked-password/leaked-password.module.d.ts.map +1 -0
- package/dist/leaked-password/leaked-password.module.js +31 -0
- package/dist/leaked-password/leaked-password.module.js.map +1 -0
- package/dist/leaked-password/leaked-password.service.d.ts +64 -0
- package/dist/leaked-password/leaked-password.service.d.ts.map +1 -0
- package/dist/leaked-password/leaked-password.service.js +218 -0
- package/dist/leaked-password/leaked-password.service.js.map +1 -0
- package/dist/locale/locale.controller.d.ts +1 -1
- package/dist/locale/locale.service.d.ts +1 -1
- package/dist/mail/dto/preview.dto.d.ts +18 -0
- package/dist/mail/dto/preview.dto.d.ts.map +1 -0
- package/dist/mail/dto/preview.dto.js +66 -0
- package/dist/mail/dto/preview.dto.js.map +1 -0
- package/dist/mail/dto/send.dto.d.ts +7 -0
- package/dist/mail/dto/send.dto.d.ts.map +1 -1
- package/dist/mail/dto/send.dto.js +10 -0
- package/dist/mail/dto/send.dto.js.map +1 -1
- package/dist/mail/mail.controller.d.ts +4 -0
- package/dist/mail/mail.controller.d.ts.map +1 -1
- package/dist/mail/mail.controller.js +16 -2
- package/dist/mail/mail.controller.js.map +1 -1
- package/dist/mail/mail.service.d.ts +23 -2
- package/dist/mail/mail.service.d.ts.map +1 -1
- package/dist/mail/mail.service.js +102 -13
- package/dist/mail/mail.service.js.map +1 -1
- package/dist/mail-layout/dto/update.dto.d.ts +17 -0
- package/dist/mail-layout/dto/update.dto.d.ts.map +1 -0
- package/dist/mail-layout/dto/update.dto.js +27 -0
- package/dist/mail-layout/dto/update.dto.js.map +1 -0
- package/dist/mail-layout/mail-layout.controller.d.ts +15 -0
- package/dist/mail-layout/mail-layout.controller.d.ts.map +1 -0
- package/dist/mail-layout/mail-layout.controller.js +71 -0
- package/dist/mail-layout/mail-layout.controller.js.map +1 -0
- package/dist/mail-layout/mail-layout.module.d.ts +3 -0
- package/dist/mail-layout/mail-layout.module.d.ts.map +1 -0
- package/dist/mail-layout/mail-layout.module.js +35 -0
- package/dist/mail-layout/mail-layout.module.js.map +1 -0
- package/dist/mail-layout/mail-layout.service.d.ts +27 -0
- package/dist/mail-layout/mail-layout.service.d.ts.map +1 -0
- package/dist/mail-layout/mail-layout.service.js +80 -0
- package/dist/mail-layout/mail-layout.service.js.map +1 -0
- package/dist/mcp-chat/mcp-chat.controller.d.ts +2 -2
- package/dist/mcp-chat/mcp-chat.service.d.ts +24 -2
- package/dist/mcp-chat/mcp-chat.service.d.ts.map +1 -1
- package/dist/mcp-chat/mcp-chat.service.js +80 -24
- package/dist/mcp-chat/mcp-chat.service.js.map +1 -1
- package/dist/menu/menu.controller.d.ts +3 -3
- package/dist/menu/menu.service.d.ts +3 -3
- package/dist/notification/notification.controller.d.ts +12 -12
- package/dist/notification/notification.service.d.ts +12 -12
- package/dist/oauth/oauth-token-broker.service.d.ts +72 -0
- package/dist/oauth/oauth-token-broker.service.d.ts.map +1 -0
- package/dist/oauth/oauth-token-broker.service.js +258 -0
- package/dist/oauth/oauth-token-broker.service.js.map +1 -0
- package/dist/oauth/oauth.module.d.ts.map +1 -1
- package/dist/oauth/oauth.module.js +3 -1
- package/dist/oauth/oauth.module.js.map +1 -1
- package/dist/oauth/oauth.service.d.ts +2 -0
- package/dist/oauth/oauth.service.d.ts.map +1 -1
- package/dist/oauth/oauth.service.js +6 -3
- package/dist/oauth/oauth.service.js.map +1 -1
- package/dist/pdf/pdf.service.d.ts +8 -0
- package/dist/pdf/pdf.service.d.ts.map +1 -1
- package/dist/pdf/pdf.service.js +52 -0
- package/dist/pdf/pdf.service.js.map +1 -1
- package/dist/presence/presence.controller.d.ts +16 -0
- package/dist/presence/presence.controller.d.ts.map +1 -0
- package/dist/presence/presence.controller.js +60 -0
- package/dist/presence/presence.controller.js.map +1 -0
- package/dist/presence/presence.listener.d.ts +29 -0
- package/dist/presence/presence.listener.d.ts.map +1 -0
- package/dist/presence/presence.listener.js +82 -0
- package/dist/presence/presence.listener.js.map +1 -0
- package/dist/presence/presence.module.d.ts +3 -0
- package/dist/presence/presence.module.d.ts.map +1 -0
- package/dist/presence/presence.module.js +32 -0
- package/dist/presence/presence.module.js.map +1 -0
- package/dist/presence/presence.service.d.ts +42 -0
- package/dist/presence/presence.service.d.ts.map +1 -0
- package/dist/presence/presence.service.js +147 -0
- package/dist/presence/presence.service.js.map +1 -0
- package/dist/profile/dto/delete-account.dto.d.ts +8 -0
- package/dist/profile/dto/delete-account.dto.d.ts.map +1 -0
- package/dist/profile/dto/delete-account.dto.js +22 -0
- package/dist/profile/dto/delete-account.dto.js.map +1 -0
- package/dist/profile/events/profile-account-deleted.event.d.ts +12 -0
- package/dist/profile/events/profile-account-deleted.event.d.ts.map +1 -0
- package/dist/profile/events/profile-account-deleted.event.js +17 -0
- package/dist/profile/events/profile-account-deleted.event.js.map +1 -0
- package/dist/profile/profile.controller.d.ts +21 -15
- package/dist/profile/profile.controller.d.ts.map +1 -1
- package/dist/profile/profile.controller.js +75 -46
- package/dist/profile/profile.controller.js.map +1 -1
- package/dist/profile/profile.service.d.ts +30 -18
- package/dist/profile/profile.service.d.ts.map +1 -1
- package/dist/profile/profile.service.js +113 -37
- package/dist/profile/profile.service.js.map +1 -1
- package/dist/realtime/realtime.gateway.d.ts +48 -0
- package/dist/realtime/realtime.gateway.d.ts.map +1 -0
- package/dist/realtime/realtime.gateway.js +156 -0
- package/dist/realtime/realtime.gateway.js.map +1 -0
- package/dist/realtime/realtime.module.d.ts +8 -0
- package/dist/realtime/realtime.module.d.ts.map +1 -0
- package/dist/realtime/realtime.module.js +29 -0
- package/dist/realtime/realtime.module.js.map +1 -0
- package/dist/realtime/realtime.service.d.ts +51 -0
- package/dist/realtime/realtime.service.d.ts.map +1 -0
- package/dist/realtime/realtime.service.js +177 -0
- package/dist/realtime/realtime.service.js.map +1 -0
- package/dist/redis/redis-pubsub.d.ts +27 -0
- package/dist/redis/redis-pubsub.d.ts.map +1 -0
- package/dist/redis/redis-pubsub.js +140 -0
- package/dist/redis/redis-pubsub.js.map +1 -0
- package/dist/role/role.controller.d.ts +3 -3
- package/dist/role/role.service.d.ts +3 -3
- package/dist/setting/dto/create.dto.d.ts.map +1 -1
- package/dist/setting/dto/create.dto.js +9 -2
- package/dist/setting/dto/create.dto.js.map +1 -1
- package/dist/setting/setting.controller.d.ts +5 -5
- package/dist/setting/setting.service.d.ts +8 -5
- package/dist/setting/setting.service.d.ts.map +1 -1
- package/dist/setting/setting.service.js +25 -1
- package/dist/setting/setting.service.js.map +1 -1
- package/dist/user/dto/create-with-email-and-password.dto.d.ts +2 -0
- package/dist/user/dto/create-with-email-and-password.dto.d.ts.map +1 -1
- package/dist/user/dto/create-with-email-and-password.dto.js +5 -0
- package/dist/user/dto/create-with-email-and-password.dto.js.map +1 -1
- package/dist/user/dto/query-user-mail-list.dto.d.ts +5 -0
- package/dist/user/dto/query-user-mail-list.dto.d.ts.map +1 -0
- package/dist/user/dto/query-user-mail-list.dto.js +25 -0
- package/dist/user/dto/query-user-mail-list.dto.js.map +1 -0
- package/dist/user/user-credential.util.d.ts +19 -0
- package/dist/user/user-credential.util.d.ts.map +1 -0
- package/dist/user/user-credential.util.js +32 -0
- package/dist/user/user-credential.util.js.map +1 -0
- package/dist/user/user.controller.d.ts +17 -5
- package/dist/user/user.controller.d.ts.map +1 -1
- package/dist/user/user.controller.js +18 -3
- package/dist/user/user.controller.js.map +1 -1
- package/dist/user/user.service.d.ts +28 -6
- package/dist/user/user.service.d.ts.map +1 -1
- package/dist/user/user.service.js +204 -13
- package/dist/user/user.service.js.map +1 -1
- package/dist/validators/is-strong-password-with-settings.validator.d.ts.map +1 -1
- package/dist/validators/is-strong-password-with-settings.validator.js +11 -0
- package/dist/validators/is-strong-password-with-settings.validator.js.map +1 -1
- package/dist/validators/service-locator.d.ts +9 -0
- package/dist/validators/service-locator.d.ts.map +1 -1
- package/dist/validators/service-locator.js +12 -0
- package/dist/validators/service-locator.js.map +1 -1
- package/dist/whatsapp-sender/whatsapp-sender.module.d.ts +3 -0
- package/dist/whatsapp-sender/whatsapp-sender.module.d.ts.map +1 -0
- package/dist/whatsapp-sender/whatsapp-sender.module.js +23 -0
- package/dist/whatsapp-sender/whatsapp-sender.module.js.map +1 -0
- package/dist/whatsapp-sender/whatsapp-sender.service.d.ts +50 -0
- package/dist/whatsapp-sender/whatsapp-sender.service.d.ts.map +1 -0
- package/dist/whatsapp-sender/whatsapp-sender.service.js +224 -0
- package/dist/whatsapp-sender/whatsapp-sender.service.js.map +1 -0
- package/hedhog/data/integration_provider.yaml +16 -0
- package/hedhog/data/mail.yaml +88 -61
- package/hedhog/data/mail_layout.yaml +188 -0
- package/hedhog/data/menu.yaml +67 -3
- package/hedhog/data/route.yaml +135 -0
- package/hedhog/data/setting_group.yaml +139 -1
- package/hedhog/frontend/app/account/components/mfa-setup-dialog.tsx.ejs +36 -0
- package/hedhog/frontend/app/account/components/two-factor-auth.tsx.ejs +2 -0
- package/hedhog/frontend/app/account/hooks/use-mfa-setup.ts.ejs +10 -7
- package/hedhog/frontend/app/ai_agent/page.tsx.ejs +7 -4
- package/hedhog/frontend/app/ai_instruction/_components/ai-instruction-form.tsx.ejs +580 -0
- package/hedhog/frontend/app/ai_instruction/_components/ai-instruction-preview.tsx.ejs +150 -0
- package/hedhog/frontend/app/ai_instruction/_components/ai-instruction-versions.tsx.ejs +199 -0
- package/hedhog/frontend/app/ai_instruction/_components/prompt-diff.tsx.ejs +63 -0
- package/hedhog/frontend/app/ai_instruction/_lib/line-diff.spec.ts.ejs +59 -0
- package/hedhog/frontend/app/ai_instruction/_lib/line-diff.ts.ejs +72 -0
- package/hedhog/frontend/app/ai_instruction/_lib/prompt-template.spec.ts.ejs +170 -0
- package/hedhog/frontend/app/ai_instruction/_lib/prompt-template.ts.ejs +167 -0
- package/hedhog/frontend/app/ai_instruction/_lib/types.ts.ejs +99 -0
- package/hedhog/frontend/app/ai_instruction/page.tsx.ejs +422 -0
- package/hedhog/frontend/app/configurations/[slug]/components/setting-field.tsx.ejs +51 -4
- package/hedhog/frontend/app/incidents/page.tsx.ejs +400 -0
- package/hedhog/frontend/app/integration/profiles/page.tsx.ejs +153 -84
- package/hedhog/frontend/app/mail/layout/page.tsx.ejs +344 -0
- package/hedhog/frontend/app/mail/template/page.tsx.ejs +155 -121
- package/hedhog/frontend/app/mcp_chat/page.tsx.ejs +129 -17
- package/hedhog/frontend/app/pages/_components/page-delete-dialog.tsx.ejs +343 -0
- package/hedhog/frontend/app/pages/_components/page-detail-sheet.tsx.ejs +438 -0
- package/hedhog/frontend/app/pages/_components/page-wizard-sheet.tsx.ejs +1009 -0
- package/hedhog/frontend/app/pages/_components/system-page-types.ts.ejs +56 -0
- package/hedhog/frontend/app/pages/_components/use-system-pages.ts.ejs +171 -0
- package/hedhog/frontend/app/pages/page.tsx.ejs +514 -0
- package/hedhog/frontend/app/users/page.tsx.ejs +119 -13
- package/hedhog/frontend/app/users/user-activity-timeline.tsx.ejs +231 -0
- package/hedhog/frontend/app/users/user-mails.tsx.ejs +399 -0
- package/hedhog/frontend/app/users/user-sheet.tsx.ejs +60 -75
- package/hedhog/frontend/messages/en.json +499 -3
- package/hedhog/frontend/messages/pt.json +499 -3
- package/hedhog/table/ai_agent.yaml +1 -0
- package/hedhog/table/ai_instruction.yaml +15 -0
- package/hedhog/table/leaked_password.yaml +18 -0
- package/hedhog/table/mail_layout.yaml +35 -0
- package/hedhog/table/mail_var.yaml +4 -0
- package/hedhog/table/setting.yaml +1 -0
- package/hedhog/table/system_incident.yaml +59 -0
- package/hedhog/table/user_presence.yaml +36 -0
- package/package.json +8 -4
- package/src/access-log/access-log.interceptor.ts +4 -2
- package/src/ai/ai-attachment.fragments.spec.ts +319 -0
- package/src/ai/ai-attachment.fragments.ts +35 -0
- package/src/ai/ai.prompts.ts +38 -0
- package/src/ai/ai.service.spec.ts +280 -0
- package/src/ai/ai.service.ts +338 -82
- package/src/ai/dto/chat.dto.ts +33 -3
- package/src/ai/dto/create-agent.dto.ts +2 -2
- package/src/ai/dto/update-agent.dto.ts +2 -2
- package/src/ai-instruction/ai-instruction.controller.ts +40 -9
- package/src/ai-instruction/ai-instruction.module.ts +13 -2
- package/src/ai-instruction/ai-instruction.service.spec.ts +658 -0
- package/src/ai-instruction/ai-instruction.service.ts +661 -62
- package/src/ai-instruction/ai-prompt-builder.service.ts +10 -1
- package/src/ai-instruction/ai-prompt-registry.ts +87 -0
- package/src/ai-instruction/ai-prompt-resolver.service.spec.ts +375 -0
- package/src/ai-instruction/ai-prompt-resolver.service.ts +295 -0
- package/src/ai-instruction/ai-prompt-template.util.spec.ts +162 -0
- package/src/ai-instruction/ai-prompt-template.util.ts +199 -0
- package/src/ai-instruction/dto/create-ai-instruction.dto.ts +39 -3
- package/src/ai-instruction/dto/preview-ai-instruction.dto.ts +26 -0
- package/src/ai-instruction/dto/update-ai-instruction.dto.ts +42 -1
- package/src/ai-instruction/types/ai-instruction.types.ts +24 -1
- package/src/auth/auth.controller.ts +31 -5
- package/src/auth/auth.service.spec.ts +3 -1
- package/src/auth/auth.service.ts +101 -36
- package/src/captcha/captcha.module.ts +10 -0
- package/src/captcha/captcha.service.spec.ts +210 -0
- package/src/captcha/captcha.service.ts +191 -0
- package/src/challenge/challenge.service.spec.ts +39 -4
- package/src/challenge/challenge.service.ts +72 -17
- package/src/core.module.ts +27 -1
- package/src/file/file.service.spec.ts +105 -0
- package/src/file/file.service.ts +60 -3
- package/src/incident/incident-notifier.service.spec.ts +205 -0
- package/src/incident/incident-notifier.service.ts +241 -0
- package/src/incident/incident.controller.ts +38 -0
- package/src/incident/incident.module.ts +19 -0
- package/src/incident/incident.service.spec.ts +150 -0
- package/src/incident/incident.service.ts +209 -0
- package/src/index.ts +37 -0
- package/src/integration-profile/dto/test.dto.ts +19 -0
- package/src/integration-profile/integration-profile.controller.ts +10 -1
- package/src/integration-profile/integration-profile.module.spec.ts +51 -0
- package/src/integration-profile/integration-profile.module.ts +23 -4
- package/src/integration-profile/integration-profile.secrets.ts +9 -1
- package/src/integration-profile/integration-profile.service.spec.ts +279 -0
- package/src/integration-profile/integration-profile.service.ts +120 -124
- package/src/integration-profile/integration-profile.utils.spec.ts +22 -0
- package/src/integration-profile/integration-profile.utils.ts +40 -3
- package/src/integration-profile/testers/ai.testers.ts +165 -0
- package/src/integration-profile/testers/captcha.testers.spec.ts +92 -0
- package/src/integration-profile/testers/captcha.testers.ts +139 -0
- package/src/integration-profile/testers/email.testers.ts +161 -0
- package/src/integration-profile/testers/http-probe.spec.ts +153 -0
- package/src/integration-profile/testers/http-probe.ts +171 -0
- package/src/integration-profile/testers/index.ts +30 -0
- package/src/integration-profile/testers/infrastructure.testers.ts +122 -0
- package/src/integration-profile/testers/integration-tester.registry.spec.ts +75 -0
- package/src/integration-profile/testers/integration-tester.registry.ts +43 -0
- package/src/integration-profile/testers/integration-tester.types.ts +61 -0
- package/src/integration-profile/testers/messaging.testers.ts +102 -0
- package/src/integration-profile/testers/oauth.testers.spec.ts +220 -0
- package/src/integration-profile/testers/oauth.testers.ts +305 -0
- package/src/integration-profile/testers/payment.testers.ts +185 -0
- package/src/integration-profile/testers/remaining.testers.spec.ts +401 -0
- package/src/integration-profile/testers/storage.testers.spec.ts +185 -0
- package/src/integration-profile/testers/storage.testers.ts +226 -0
- package/src/integration-profile/testers/tester-coverage.spec.ts +58 -0
- package/src/language/en.json +4 -2
- package/src/language/pt.json +4 -2
- package/src/leaked-password/README.md +83 -0
- package/src/leaked-password/leaked-password.controller.ts +52 -0
- package/src/leaked-password/leaked-password.module.ts +18 -0
- package/src/leaked-password/leaked-password.service.ts +242 -0
- package/src/leaked-password/seed/build-seed-sql.mjs +180 -0
- package/src/leaked-password/seed/common-passwords.txt +335 -0
- package/src/mail/dto/preview.dto.ts +50 -0
- package/src/mail/dto/send.dto.ts +14 -1
- package/src/mail/mail-template.spec.ts +197 -0
- package/src/mail/mail.controller.ts +9 -2
- package/src/mail/mail.service.spec.ts +116 -1
- package/src/mail/mail.service.ts +118 -12
- package/src/mail-layout/dto/update.dto.ts +19 -0
- package/src/mail-layout/mail-layout.controller.ts +47 -0
- package/src/mail-layout/mail-layout.module.ts +22 -0
- package/src/mail-layout/mail-layout.service.ts +94 -0
- package/src/mcp-chat/mcp-chat.service.spec.ts +236 -0
- package/src/mcp-chat/mcp-chat.service.ts +122 -26
- package/src/oauth/oauth-token-broker.service.spec.ts +172 -0
- package/src/oauth/oauth-token-broker.service.ts +363 -0
- package/src/oauth/oauth.module.ts +3 -1
- package/src/oauth/oauth.service.ts +8 -2
- package/src/pdf/pdf.service.ts +75 -0
- package/src/presence/presence.controller.ts +29 -0
- package/src/presence/presence.listener.ts +53 -0
- package/src/presence/presence.module.ts +19 -0
- package/src/presence/presence.service.spec.ts +97 -0
- package/src/presence/presence.service.ts +160 -0
- package/src/profile/dto/delete-account.dto.ts +11 -0
- package/src/profile/events/profile-account-deleted.event.ts +13 -0
- package/src/profile/profile.controller.ts +46 -34
- package/src/profile/profile.service.ts +138 -38
- package/src/realtime/realtime.gateway.ts +138 -0
- package/src/realtime/realtime.module.ts +16 -0
- package/src/realtime/realtime.service.spec.ts +50 -0
- package/src/realtime/realtime.service.ts +187 -0
- package/src/redis/redis-pubsub.ts +179 -0
- package/src/setting/dto/create.dto.ts +13 -2
- package/src/setting/setting.service.spec.ts +56 -0
- package/src/setting/setting.service.ts +29 -1
- package/src/user/dto/create-with-email-and-password.dto.ts +6 -1
- package/src/user/dto/query-user-mail-list.dto.ts +10 -0
- package/src/user/user-credential.util.ts +35 -0
- package/src/user/user.controller.ts +17 -2
- package/src/user/user.service.spec.ts +153 -0
- package/src/user/user.service.ts +255 -12
- package/src/validators/is-strong-password-with-settings.validator.ts +12 -0
- package/src/validators/service-locator.ts +15 -0
- package/src/whatsapp-sender/whatsapp-sender.module.ts +10 -0
- package/src/whatsapp-sender/whatsapp-sender.service.ts +313 -0
package/hedhog/data/mail.yaml
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
- slug: auth-sign-up-confirm-email
|
|
2
2
|
subject:
|
|
3
|
-
en: Welcome to
|
|
4
|
-
pt: Bem-vindo ao
|
|
3
|
+
en: Welcome to {{brandName}}! Please confirm your email
|
|
4
|
+
pt: Bem-vindo ao {{brandName}}! Por favor, confirme seu e-mail
|
|
5
5
|
body:
|
|
6
6
|
en: |
|
|
7
7
|
Hello {{name}},<br>
|
|
8
|
-
Thank you for signing up for a
|
|
8
|
+
Thank you for signing up for a {{brandName}} account!
|
|
9
9
|
To complete your registration, please confirm your email address
|
|
10
10
|
by using the code below:<br>
|
|
11
11
|
Confirmation Code: {{code}}<br>
|
|
12
|
-
If you did not sign up for a
|
|
12
|
+
If you did not sign up for a {{brandName}} account, please ignore this email.<br>
|
|
13
13
|
Best regards,<br>
|
|
14
|
-
The
|
|
14
|
+
The {{brandName}} Team
|
|
15
15
|
pt: |
|
|
16
16
|
Olá {{name}},<br>
|
|
17
|
-
Obrigado por se inscrever para uma conta
|
|
17
|
+
Obrigado por se inscrever para uma conta {{brandName}}!
|
|
18
18
|
Para completar seu registro, por favor confirme seu endereço de e-mail
|
|
19
19
|
usando o código abaixo:<br>
|
|
20
20
|
Código de Confirmação: {{code}}<br>
|
|
21
|
-
Se você não se inscreveu para uma conta
|
|
21
|
+
Se você não se inscreveu para uma conta {{brandName}},
|
|
22
22
|
por favor ignore este e-mail.<br>
|
|
23
23
|
Atenciosamente,<br>
|
|
24
|
-
A equipe
|
|
24
|
+
A equipe {{brandName}}
|
|
25
25
|
relations:
|
|
26
26
|
mail_var:
|
|
27
27
|
- name: name
|
|
@@ -37,14 +37,14 @@
|
|
|
37
37
|
Verification Code: <strong>{{code}}</strong><br>
|
|
38
38
|
This code will expire in a few minutes. If you did not request this code, please ignore this email.<br>
|
|
39
39
|
Best regards,<br>
|
|
40
|
-
The
|
|
40
|
+
The {{brandName}} Team
|
|
41
41
|
pt: |
|
|
42
42
|
Olá {{name}},<br>
|
|
43
43
|
Por favor, use o seguinte código de verificação para continuar:<br>
|
|
44
44
|
Código de Verificação: <strong>{{code}}</strong><br>
|
|
45
45
|
Este código expirará em alguns minutos. Se você não solicitou este código, por favor ignore este e-mail.<br>
|
|
46
46
|
Atenciosamente,<br>
|
|
47
|
-
A equipe
|
|
47
|
+
A equipe {{brandName}}
|
|
48
48
|
relations:
|
|
49
49
|
mail_var:
|
|
50
50
|
- name: name
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
body:
|
|
57
57
|
en: |
|
|
58
58
|
Hello {{name}},<br>
|
|
59
|
-
We noticed a login to your
|
|
59
|
+
We noticed a login to your {{brandName}} account from a new device.<br>
|
|
60
60
|
Here are the details of the login:<br>
|
|
61
61
|
• User Agent: {{userAgent}}<br>
|
|
62
62
|
• IP Address: {{ipAddress}}<br>
|
|
@@ -65,10 +65,10 @@
|
|
|
65
65
|
If you did not recognize this activity,
|
|
66
66
|
please secure your account immediately.<br>
|
|
67
67
|
Best regards,<br>
|
|
68
|
-
The
|
|
68
|
+
The {{brandName}} Team
|
|
69
69
|
pt: |
|
|
70
70
|
Olá {{name}},<br>
|
|
71
|
-
Notamos um login na sua conta
|
|
71
|
+
Notamos um login na sua conta {{brandName}} a partir de um novo dispositivo.<br>
|
|
72
72
|
Aqui estão os detalhes do login:<br>
|
|
73
73
|
• Agente do Usuário: {{userAgent}}<br>
|
|
74
74
|
• Endereço IP: {{ipAddress}}<br>
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
Se você não reconheceu esta atividade,
|
|
78
78
|
por favor, proteja sua conta imediatamente.<br>
|
|
79
79
|
Atenciosamente,<br>
|
|
80
|
-
A equipe
|
|
80
|
+
A equipe {{brandName}}
|
|
81
81
|
relations:
|
|
82
82
|
mail_var:
|
|
83
83
|
- name: userAgent
|
|
@@ -86,60 +86,60 @@
|
|
|
86
86
|
- name: name
|
|
87
87
|
- slug: auth-forget-password
|
|
88
88
|
subject:
|
|
89
|
-
en: Reset your
|
|
90
|
-
pt: Redefina sua senha do
|
|
89
|
+
en: Reset your {{brandName}} password
|
|
90
|
+
pt: Redefina sua senha do {{brandName}}
|
|
91
91
|
body:
|
|
92
92
|
en: |
|
|
93
93
|
Hello {{name}},<br>
|
|
94
|
-
We received a request to reset the password for your
|
|
94
|
+
We received a request to reset the password for your {{brandName}} account.
|
|
95
95
|
To proceed with resetting your password, please use the link below:<br>
|
|
96
96
|
Reset Link: <a href="{{link}}">{{link}}</a><br>
|
|
97
97
|
If you did not request a password reset, please ignore this email.<br>
|
|
98
98
|
Best regards,<br>
|
|
99
|
-
The
|
|
99
|
+
The {{brandName}} Team
|
|
100
100
|
pt: |
|
|
101
101
|
Olá {{name}},<br>
|
|
102
|
-
Recebemos uma solicitação para redefinir a senha da sua conta
|
|
102
|
+
Recebemos uma solicitação para redefinir a senha da sua conta {{brandName}}.
|
|
103
103
|
Para prosseguir com a redefinição da sua senha,
|
|
104
104
|
por favor use o link abaixo:<br>
|
|
105
105
|
Link de Redefinição: <a href="{{link}}">{{link}}</a><br>
|
|
106
106
|
Se você não solicitou uma redefinição de senha,
|
|
107
107
|
por favor ignore este e-mail.<br>
|
|
108
108
|
Atenciosamente,<br>
|
|
109
|
-
A equipe
|
|
109
|
+
A equipe {{brandName}}
|
|
110
110
|
relations:
|
|
111
111
|
mail_var:
|
|
112
112
|
- name: name
|
|
113
113
|
- name: code
|
|
114
114
|
- slug: auth-forget-password-confirmation
|
|
115
115
|
subject:
|
|
116
|
-
en: Your
|
|
117
|
-
pt: Sua senha do
|
|
116
|
+
en: Your {{brandName}} password has been reset
|
|
117
|
+
pt: Sua senha do {{brandName}} foi redefinida
|
|
118
118
|
body:
|
|
119
119
|
en: |
|
|
120
120
|
Hello {{name}},<br>
|
|
121
|
-
Your
|
|
121
|
+
Your {{brandName}} password has been successfully reset.
|
|
122
122
|
If you did not perform this action,
|
|
123
123
|
please contact our support team immediately.<br>
|
|
124
124
|
Best regards,<br>
|
|
125
|
-
The
|
|
125
|
+
The {{brandName}} Team
|
|
126
126
|
pt: |
|
|
127
127
|
Olá {{name}},<br>
|
|
128
|
-
Sua senha do
|
|
128
|
+
Sua senha do {{brandName}} foi redefinida com sucesso.
|
|
129
129
|
Se você não realizou esta ação, por favor entre em contato com nossa equipe de suporte imediatamente.<br>
|
|
130
130
|
Atenciosamente,<br>
|
|
131
|
-
A equipe
|
|
131
|
+
A equipe {{brandName}}
|
|
132
132
|
relations:
|
|
133
133
|
mail_var:
|
|
134
134
|
- name: name
|
|
135
135
|
- slug: auth-change-password-notification
|
|
136
136
|
subject:
|
|
137
|
-
en: Your
|
|
138
|
-
pt: Sua senha do
|
|
137
|
+
en: Your {{brandName}} password has been changed
|
|
138
|
+
pt: Sua senha do {{brandName}} foi alterada
|
|
139
139
|
body:
|
|
140
140
|
en: |
|
|
141
141
|
Hello {{name}},<br>
|
|
142
|
-
We wanted to inform you that the password for your
|
|
142
|
+
We wanted to inform you that the password for your {{brandName}} account
|
|
143
143
|
has been changed. If you did not make this change,
|
|
144
144
|
please secure your account immediately.<br>
|
|
145
145
|
Here are the details of the login:<br>
|
|
@@ -147,10 +147,10 @@
|
|
|
147
147
|
• IP Address: {{ipAddress}}<br>
|
|
148
148
|
• Location: {{location}}<br>
|
|
149
149
|
Best regards,<br>
|
|
150
|
-
The
|
|
150
|
+
The {{brandName}} Team
|
|
151
151
|
pt: |
|
|
152
152
|
Olá {{name}},<br>
|
|
153
|
-
Queríamos informar que a senha da sua conta
|
|
153
|
+
Queríamos informar que a senha da sua conta {{brandName}} foi alterada.
|
|
154
154
|
Se você não fez essa alteração,
|
|
155
155
|
por favor proteja sua conta imediatamente.<br>
|
|
156
156
|
Aqui estão os detalhes do login:<br>
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
• Endereço IP: {{ipAddress}}<br>
|
|
159
159
|
• Localização: {{location}}<br>
|
|
160
160
|
Atenciosamente,<br>
|
|
161
|
-
A equipe
|
|
161
|
+
A equipe {{brandName}}
|
|
162
162
|
relations:
|
|
163
163
|
mail_var:
|
|
164
164
|
- name: userAgent
|
|
@@ -167,44 +167,44 @@
|
|
|
167
167
|
- name: name
|
|
168
168
|
- slug: auth-mfa-code
|
|
169
169
|
subject:
|
|
170
|
-
en: Your
|
|
171
|
-
pt: Seu Código MFA do
|
|
170
|
+
en: Your {{brandName}} MFA Code
|
|
171
|
+
pt: Seu Código MFA do {{brandName}}
|
|
172
172
|
body:
|
|
173
173
|
en: |
|
|
174
174
|
Hello {{name}},<br>
|
|
175
175
|
Your MFA code is: {{code}}<br>
|
|
176
176
|
Best regards,<br>
|
|
177
|
-
The
|
|
177
|
+
The {{brandName}} Team
|
|
178
178
|
pt: |
|
|
179
179
|
Olá {{name}},<br>
|
|
180
180
|
Seu código MFA é: {{code}}<br>
|
|
181
181
|
Atenciosamente,<br>
|
|
182
|
-
A equipe
|
|
182
|
+
A equipe {{brandName}}
|
|
183
183
|
relations:
|
|
184
184
|
mail_var:
|
|
185
185
|
- name: code
|
|
186
186
|
- name: name
|
|
187
187
|
- slug: auth-sign-up
|
|
188
188
|
subject:
|
|
189
|
-
en: Welcome to
|
|
190
|
-
pt: Bem-vindo ao
|
|
189
|
+
en: Welcome to {{brandName}}!
|
|
190
|
+
pt: Bem-vindo ao {{brandName}}!
|
|
191
191
|
body:
|
|
192
192
|
en: |
|
|
193
193
|
Hello {{name}},<br>
|
|
194
|
-
Thank you for registering with
|
|
194
|
+
Thank you for registering with {{brandName}}!
|
|
195
195
|
Your account has been successfully created.<br>
|
|
196
196
|
You can now log in and start using all the features available to you.<br>
|
|
197
197
|
If you have any questions or need assistance, please don't hesitate to contact us.<br>
|
|
198
198
|
Best regards,<br>
|
|
199
|
-
The
|
|
199
|
+
The {{brandName}} Team
|
|
200
200
|
pt: |
|
|
201
201
|
Olá {{name}},<br>
|
|
202
|
-
Obrigado por se registrar no
|
|
202
|
+
Obrigado por se registrar no {{brandName}}!
|
|
203
203
|
Sua conta foi criada com sucesso.<br>
|
|
204
204
|
Agora você pode fazer login e começar a usar todos os recursos disponíveis.<br>
|
|
205
205
|
Se você tiver alguma dúvida ou precisar de ajuda, não hesite em nos contatar.<br>
|
|
206
206
|
Atenciosamente,<br>
|
|
207
|
-
A equipe
|
|
207
|
+
A equipe {{brandName}}
|
|
208
208
|
relations:
|
|
209
209
|
mail_var:
|
|
210
210
|
- name: name
|
|
@@ -221,7 +221,7 @@
|
|
|
221
221
|
If your matter is urgent, please let us know in your message.<br>
|
|
222
222
|
We appreciate your patience and look forward to assisting you.<br>
|
|
223
223
|
Best regards,<br>
|
|
224
|
-
The
|
|
224
|
+
The {{brandName}} Team
|
|
225
225
|
pt: |
|
|
226
226
|
Olá {{name}},<br>
|
|
227
227
|
Obrigado por entrar em contato conosco! Recebemos sua mensagem
|
|
@@ -230,7 +230,7 @@
|
|
|
230
230
|
Se o seu assunto for urgente, por favor nos avise em sua mensagem.<br>
|
|
231
231
|
Agradecemos sua paciência e esperamos poder ajudá-lo.<br>
|
|
232
232
|
Atenciosamente,<br>
|
|
233
|
-
A equipe
|
|
233
|
+
A equipe {{brandName}}
|
|
234
234
|
relations:
|
|
235
235
|
mail_var:
|
|
236
236
|
- name: name
|
|
@@ -251,7 +251,7 @@
|
|
|
251
251
|
</div>
|
|
252
252
|
If you have any additional questions, please don't hesitate to reach out again.<br>
|
|
253
253
|
Best regards,<br>
|
|
254
|
-
The
|
|
254
|
+
The {{brandName}} Team
|
|
255
255
|
pt: |
|
|
256
256
|
Olá {{name}},<br>
|
|
257
257
|
Obrigado pela sua mensagem:<br>
|
|
@@ -264,7 +264,7 @@
|
|
|
264
264
|
</div>
|
|
265
265
|
Se você tiver alguma dúvida adicional, não hesite em entrar em contato novamente.<br>
|
|
266
266
|
Atenciosamente,<br>
|
|
267
|
-
A equipe
|
|
267
|
+
A equipe {{brandName}}
|
|
268
268
|
relations:
|
|
269
269
|
mail_var:
|
|
270
270
|
- name: name
|
|
@@ -338,7 +338,7 @@
|
|
|
338
338
|
<strong>Transaction ID:</strong> {{transactionId}}<br>
|
|
339
339
|
Thank you for your payment.<br>
|
|
340
340
|
Best regards,<br>
|
|
341
|
-
The
|
|
341
|
+
The {{brandName}} Team
|
|
342
342
|
pt: |
|
|
343
343
|
Olá {{name}},<br>
|
|
344
344
|
Seu pagamento foi confirmado com sucesso.<br>
|
|
@@ -348,7 +348,7 @@
|
|
|
348
348
|
<strong>ID da Transação:</strong> {{transactionId}}<br>
|
|
349
349
|
Obrigado pelo seu pagamento.<br>
|
|
350
350
|
Atenciosamente,<br>
|
|
351
|
-
A equipe
|
|
351
|
+
A equipe {{brandName}}
|
|
352
352
|
relations:
|
|
353
353
|
mail_var:
|
|
354
354
|
- name: name
|
|
@@ -369,7 +369,7 @@
|
|
|
369
369
|
Please review your payment method and complete the payment using the link below:<br>
|
|
370
370
|
<a href="{{paymentUrl}}">{{paymentUrl}}</a><br>
|
|
371
371
|
Best regards,<br>
|
|
372
|
-
The
|
|
372
|
+
The {{brandName}} Team
|
|
373
373
|
pt: |
|
|
374
374
|
Olá {{name}},<br>
|
|
375
375
|
Não foi possível processar seu pagamento para a fatura <strong>{{invoiceNumber}}</strong>.<br>
|
|
@@ -377,7 +377,7 @@
|
|
|
377
377
|
Revise sua forma de pagamento e conclua o pagamento usando o link abaixo:<br>
|
|
378
378
|
<a href="{{paymentUrl}}">{{paymentUrl}}</a><br>
|
|
379
379
|
Atenciosamente,<br>
|
|
380
|
-
A equipe
|
|
380
|
+
A equipe {{brandName}}
|
|
381
381
|
relations:
|
|
382
382
|
mail_var:
|
|
383
383
|
- name: name
|
|
@@ -399,7 +399,7 @@
|
|
|
399
399
|
You can view the invoice here:<br>
|
|
400
400
|
<a href="{{invoiceUrl}}">{{invoiceUrl}}</a><br>
|
|
401
401
|
Best regards,<br>
|
|
402
|
-
The
|
|
402
|
+
The {{brandName}} Team
|
|
403
403
|
pt: |
|
|
404
404
|
Olá {{name}},<br>
|
|
405
405
|
Uma nova fatura foi gerada para sua conta.<br>
|
|
@@ -409,7 +409,7 @@
|
|
|
409
409
|
Você pode visualizar a fatura aqui:<br>
|
|
410
410
|
<a href="{{invoiceUrl}}">{{invoiceUrl}}</a><br>
|
|
411
411
|
Atenciosamente,<br>
|
|
412
|
-
A equipe
|
|
412
|
+
A equipe {{brandName}}
|
|
413
413
|
relations:
|
|
414
414
|
mail_var:
|
|
415
415
|
- name: name
|
|
@@ -429,14 +429,14 @@
|
|
|
429
429
|
<strong>Access until:</strong> {{endsAt}}<br>
|
|
430
430
|
If this was not expected, please contact our team.<br>
|
|
431
431
|
Best regards,<br>
|
|
432
|
-
The
|
|
432
|
+
The {{brandName}} Team
|
|
433
433
|
pt: |
|
|
434
434
|
Olá {{name}},<br>
|
|
435
435
|
Sua assinatura de <strong>{{productName}}</strong> foi cancelada.<br>
|
|
436
436
|
<strong>Acesso até:</strong> {{endsAt}}<br>
|
|
437
437
|
Se isso não era esperado, entre em contato com nossa equipe.<br>
|
|
438
438
|
Atenciosamente,<br>
|
|
439
|
-
A equipe
|
|
439
|
+
A equipe {{brandName}}
|
|
440
440
|
relations:
|
|
441
441
|
mail_var:
|
|
442
442
|
- name: name
|
|
@@ -455,7 +455,7 @@
|
|
|
455
455
|
<strong>Refund ID:</strong> {{refundId}}<br>
|
|
456
456
|
<strong>Processed at:</strong> {{processedAt}}<br>
|
|
457
457
|
Best regards,<br>
|
|
458
|
-
The
|
|
458
|
+
The {{brandName}} Team
|
|
459
459
|
pt: |
|
|
460
460
|
Olá {{name}},<br>
|
|
461
461
|
Seu reembolso foi confirmado com sucesso.<br>
|
|
@@ -463,7 +463,7 @@
|
|
|
463
463
|
<strong>ID do Reembolso:</strong> {{refundId}}<br>
|
|
464
464
|
<strong>Processado em:</strong> {{processedAt}}<br>
|
|
465
465
|
Atenciosamente,<br>
|
|
466
|
-
A equipe
|
|
466
|
+
A equipe {{brandName}}
|
|
467
467
|
relations:
|
|
468
468
|
mail_var:
|
|
469
469
|
- name: name
|
|
@@ -479,8 +479,8 @@
|
|
|
479
479
|
Hello {{name}},<br>
|
|
480
480
|
You have been added to <strong>{{company}}</strong>'s account on the Hcode training platform (<a href="https://hcode.training">https://hcode.training</a>).<br>
|
|
481
481
|
{{#if hasAccount}}
|
|
482
|
-
You already have an account with this email
|
|
483
|
-
|
|
482
|
+
You already have an account with this email. Click the secure link below to authorize this access:<br>
|
|
483
|
+
Authorize access: <a href="{{link}}">{{link}}</a><br>
|
|
484
484
|
{{else}}
|
|
485
485
|
To get started, you need to create your account. Click the secure link below to set your name and password:<br>
|
|
486
486
|
Create your account: <a href="{{link}}">{{link}}</a><br>
|
|
@@ -493,8 +493,8 @@
|
|
|
493
493
|
Olá {{name}},<br>
|
|
494
494
|
Você foi adicionado à conta de <strong>{{company}}</strong> na plataforma de treinamentos da Hcode (<a href="https://hcode.training">https://hcode.training</a>).<br>
|
|
495
495
|
{{#if hasAccount}}
|
|
496
|
-
Você já possui uma conta com este e-mail
|
|
497
|
-
|
|
496
|
+
Você já possui uma conta com este e-mail. Clique no link seguro abaixo para autorizar esse acesso:<br>
|
|
497
|
+
Autorizar acesso: <a href="{{link}}">{{link}}</a><br>
|
|
498
498
|
{{else}}
|
|
499
499
|
Para começar, você precisa criar sua conta. Clique no link seguro abaixo para definir seu nome e senha:<br>
|
|
500
500
|
Criar sua conta: <a href="{{link}}">{{link}}</a><br>
|
|
@@ -509,4 +509,31 @@
|
|
|
509
509
|
- name: company
|
|
510
510
|
- name: link
|
|
511
511
|
- name: hasAccount
|
|
512
|
-
|
|
512
|
+
|
|
513
|
+
- slug: enterprise-password-reset-notice
|
|
514
|
+
subject:
|
|
515
|
+
en: Your {{company}} training platform password was changed
|
|
516
|
+
pt: Sua senha da plataforma de treinamentos de {{company}} foi alterada
|
|
517
|
+
body:
|
|
518
|
+
en: |
|
|
519
|
+
Hello {{name}},<br>
|
|
520
|
+
An administrator at <strong>{{company}}</strong> has reset your password on the Hcode training platform (<a href="https://hcode.training">https://hcode.training</a>).<br>
|
|
521
|
+
If you don't know your new password, please contact your company's administrator.<br>
|
|
522
|
+
<br>
|
|
523
|
+
If you did not expect this change, contact your administrator as soon as possible.<br>
|
|
524
|
+
<br>
|
|
525
|
+
Best regards,<br>
|
|
526
|
+
The Hcode Team
|
|
527
|
+
pt: |
|
|
528
|
+
Olá {{name}},<br>
|
|
529
|
+
Um administrador da <strong>{{company}}</strong> redefiniu sua senha na plataforma de treinamentos da Hcode (<a href="https://hcode.training">https://hcode.training</a>).<br>
|
|
530
|
+
Se você não souber a nova senha, entre em contato com o administrador da sua empresa.<br>
|
|
531
|
+
<br>
|
|
532
|
+
Se você não esperava essa alteração, entre em contato com o administrador o quanto antes.<br>
|
|
533
|
+
<br>
|
|
534
|
+
Atenciosamente,<br>
|
|
535
|
+
A equipe Hcode
|
|
536
|
+
relations:
|
|
537
|
+
mail_var:
|
|
538
|
+
- name: name
|
|
539
|
+
- name: company
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
- slug: default
|
|
2
|
+
is_default: true
|
|
3
|
+
# Shell que estava hardcoded em packages/api-mail/src/mail-template.ts.
|
|
4
|
+
# Tokens: {{{header}}} {{{content}}} {{{footer}}} {{subject}} {{brandName}} {{year}} {{lang}}
|
|
5
|
+
wrapper: |
|
|
6
|
+
<!DOCTYPE html>
|
|
7
|
+
<html lang="{{lang}}">
|
|
8
|
+
<head>
|
|
9
|
+
<meta charset="UTF-8" />
|
|
10
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
11
|
+
<meta name="color-scheme" content="light" />
|
|
12
|
+
<meta name="supported-color-schemes" content="light" />
|
|
13
|
+
<title>{{subject}}</title>
|
|
14
|
+
<style>
|
|
15
|
+
body {
|
|
16
|
+
margin: 0;
|
|
17
|
+
padding: 0;
|
|
18
|
+
background: #eef2f7;
|
|
19
|
+
color: #1f2937;
|
|
20
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
21
|
+
}
|
|
22
|
+
table {
|
|
23
|
+
border-collapse: collapse;
|
|
24
|
+
}
|
|
25
|
+
.page {
|
|
26
|
+
width: 100%;
|
|
27
|
+
background:
|
|
28
|
+
radial-gradient(circle at top, rgba(245, 158, 11, 0.14), transparent 32%),
|
|
29
|
+
linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
|
|
30
|
+
padding: 32px 16px;
|
|
31
|
+
}
|
|
32
|
+
.shell {
|
|
33
|
+
width: 100%;
|
|
34
|
+
max-width: 640px;
|
|
35
|
+
margin: 0 auto;
|
|
36
|
+
}
|
|
37
|
+
.hero {
|
|
38
|
+
padding: 0 0 18px;
|
|
39
|
+
}
|
|
40
|
+
.brand {
|
|
41
|
+
display: inline-block;
|
|
42
|
+
padding: 8px 14px;
|
|
43
|
+
border-radius: 999px;
|
|
44
|
+
background: #111827;
|
|
45
|
+
color: #ffffff;
|
|
46
|
+
font-size: 12px;
|
|
47
|
+
font-weight: 700;
|
|
48
|
+
letter-spacing: 0.08em;
|
|
49
|
+
text-transform: uppercase;
|
|
50
|
+
}
|
|
51
|
+
.subject {
|
|
52
|
+
margin: 18px 0 0;
|
|
53
|
+
font-size: 28px;
|
|
54
|
+
line-height: 1.2;
|
|
55
|
+
font-weight: 800;
|
|
56
|
+
color: #0f172a;
|
|
57
|
+
}
|
|
58
|
+
.panel {
|
|
59
|
+
background: #ffffff;
|
|
60
|
+
border: 1px solid rgba(148, 163, 184, 0.22);
|
|
61
|
+
border-radius: 24px;
|
|
62
|
+
overflow: hidden;
|
|
63
|
+
box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
|
|
64
|
+
}
|
|
65
|
+
.panel-accent {
|
|
66
|
+
height: 6px;
|
|
67
|
+
background: linear-gradient(90deg, #f59e0b 0%, #f97316 45%, #ea580c 100%);
|
|
68
|
+
}
|
|
69
|
+
.content {
|
|
70
|
+
padding: 36px 34px 28px;
|
|
71
|
+
font-size: 16px;
|
|
72
|
+
line-height: 1.7;
|
|
73
|
+
color: #334155;
|
|
74
|
+
}
|
|
75
|
+
.content h1,
|
|
76
|
+
.content h2,
|
|
77
|
+
.content h3 {
|
|
78
|
+
margin: 0 0 16px;
|
|
79
|
+
line-height: 1.25;
|
|
80
|
+
color: #0f172a;
|
|
81
|
+
}
|
|
82
|
+
.content h1 { font-size: 28px; }
|
|
83
|
+
.content h2 { font-size: 22px; }
|
|
84
|
+
.content h3 { font-size: 18px; }
|
|
85
|
+
.content p,
|
|
86
|
+
.content ul,
|
|
87
|
+
.content ol,
|
|
88
|
+
.content blockquote {
|
|
89
|
+
margin: 0 0 16px;
|
|
90
|
+
}
|
|
91
|
+
.content ul,
|
|
92
|
+
.content ol {
|
|
93
|
+
padding-left: 22px;
|
|
94
|
+
}
|
|
95
|
+
.content li + li {
|
|
96
|
+
margin-top: 8px;
|
|
97
|
+
}
|
|
98
|
+
.content a {
|
|
99
|
+
color: #c2410c;
|
|
100
|
+
font-weight: 600;
|
|
101
|
+
text-decoration: none;
|
|
102
|
+
}
|
|
103
|
+
.content strong {
|
|
104
|
+
color: #111827;
|
|
105
|
+
}
|
|
106
|
+
.content blockquote {
|
|
107
|
+
padding: 14px 16px;
|
|
108
|
+
border-left: 4px solid #f59e0b;
|
|
109
|
+
border-radius: 0 14px 14px 0;
|
|
110
|
+
background: #fff7ed;
|
|
111
|
+
color: #7c2d12;
|
|
112
|
+
}
|
|
113
|
+
.content hr {
|
|
114
|
+
margin: 24px 0;
|
|
115
|
+
border: 0;
|
|
116
|
+
border-top: 1px solid #e2e8f0;
|
|
117
|
+
}
|
|
118
|
+
.content img {
|
|
119
|
+
max-width: 100%;
|
|
120
|
+
border-radius: 16px;
|
|
121
|
+
}
|
|
122
|
+
.footer {
|
|
123
|
+
padding: 18px 12px 0;
|
|
124
|
+
font-size: 12px;
|
|
125
|
+
line-height: 1.6;
|
|
126
|
+
text-align: center;
|
|
127
|
+
color: #64748b;
|
|
128
|
+
}
|
|
129
|
+
@media only screen and (max-width: 640px) {
|
|
130
|
+
.page {
|
|
131
|
+
padding: 20px 12px;
|
|
132
|
+
}
|
|
133
|
+
.subject {
|
|
134
|
+
font-size: 24px;
|
|
135
|
+
}
|
|
136
|
+
.content {
|
|
137
|
+
padding: 26px 20px 22px;
|
|
138
|
+
font-size: 15px;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
</style>
|
|
142
|
+
</head>
|
|
143
|
+
<body>
|
|
144
|
+
<table role="presentation" width="100%" class="page">
|
|
145
|
+
<tr>
|
|
146
|
+
<td align="center">
|
|
147
|
+
<table role="presentation" width="100%" class="shell">
|
|
148
|
+
<tr>
|
|
149
|
+
<td class="hero">
|
|
150
|
+
{{{header}}}
|
|
151
|
+
</td>
|
|
152
|
+
</tr>
|
|
153
|
+
<tr>
|
|
154
|
+
<td>
|
|
155
|
+
<div class="panel">
|
|
156
|
+
<div class="panel-accent"></div>
|
|
157
|
+
<div class="content">
|
|
158
|
+
{{{content}}}
|
|
159
|
+
</div>
|
|
160
|
+
</div>
|
|
161
|
+
</td>
|
|
162
|
+
</tr>
|
|
163
|
+
<tr>
|
|
164
|
+
<td class="footer">
|
|
165
|
+
{{{footer}}}
|
|
166
|
+
</td>
|
|
167
|
+
</tr>
|
|
168
|
+
</table>
|
|
169
|
+
</td>
|
|
170
|
+
</tr>
|
|
171
|
+
</table>
|
|
172
|
+
</body>
|
|
173
|
+
</html>
|
|
174
|
+
name:
|
|
175
|
+
en: Default layout
|
|
176
|
+
pt: Layout padrão
|
|
177
|
+
header:
|
|
178
|
+
en: |
|
|
179
|
+
<div class="brand">{{brandName}}</div>
|
|
180
|
+
<div class="subject">{{subject}}</div>
|
|
181
|
+
pt: |
|
|
182
|
+
<div class="brand">{{brandName}}</div>
|
|
183
|
+
<div class="subject">{{subject}}</div>
|
|
184
|
+
footer:
|
|
185
|
+
en: |
|
|
186
|
+
This message was sent automatically by the {{brandName}} platform.
|
|
187
|
+
pt: |
|
|
188
|
+
Esta mensagem foi enviada automaticamente pela plataforma {{brandName}}.
|