easywork-common-lib 1.0.1376 → 1.0.1377
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/common/@types/enums/crm.enum.d.ts +8 -0
- package/dist/common/@types/enums/crm.enum.js +14 -0
- package/dist/common/@types/enums/crm.enum.js.map +1 -0
- package/dist/common/@types/enums/index.d.ts +3 -0
- package/dist/common/@types/enums/index.js +20 -0
- package/dist/common/@types/enums/index.js.map +1 -0
- package/dist/common/@types/enums/misc.enum.d.ts +60 -0
- package/dist/common/@types/enums/misc.enum.js +81 -0
- package/dist/common/@types/enums/misc.enum.js.map +1 -0
- package/dist/common/@types/enums/permission.enum.d.ts +112 -0
- package/dist/common/@types/enums/permission.enum.js +57 -0
- package/dist/common/@types/enums/permission.enum.js.map +1 -0
- package/dist/common/@types/index.d.ts +2 -0
- package/dist/common/@types/index.js +19 -0
- package/dist/common/@types/index.js.map +1 -0
- package/dist/common/@types/interfaces/authentication.interface.d.ts +17 -0
- package/dist/common/@types/interfaces/authentication.interface.js +3 -0
- package/dist/common/@types/interfaces/authentication.interface.js.map +1 -0
- package/dist/common/@types/interfaces/crm.interface.d.ts +131 -0
- package/dist/common/@types/interfaces/crm.interface.js +3 -0
- package/dist/common/@types/interfaces/crm.interface.js.map +1 -0
- package/dist/common/@types/interfaces/file.interface.d.ts +14 -0
- package/dist/common/@types/interfaces/file.interface.js +3 -0
- package/dist/common/@types/interfaces/file.interface.js.map +1 -0
- package/dist/common/@types/interfaces/index.d.ts +7 -0
- package/dist/common/@types/interfaces/index.js +24 -0
- package/dist/common/@types/interfaces/index.js.map +1 -0
- package/dist/common/@types/interfaces/lead-validation-rules.interface.d.ts +29 -0
- package/dist/common/@types/interfaces/lead-validation-rules.interface.js +10 -0
- package/dist/common/@types/interfaces/lead-validation-rules.interface.js.map +1 -0
- package/dist/common/@types/interfaces/lsm.interface.d.ts +5 -0
- package/dist/common/@types/interfaces/lsm.interface.js +3 -0
- package/dist/common/@types/interfaces/lsm.interface.js.map +1 -0
- package/dist/common/@types/interfaces/mail.interface.d.ts +9 -0
- package/dist/common/@types/interfaces/mail.interface.js +3 -0
- package/dist/common/@types/interfaces/mail.interface.js.map +1 -0
- package/dist/common/@types/interfaces/validator.interface.d.ts +41 -0
- package/dist/common/@types/interfaces/validator.interface.js +3 -0
- package/dist/common/@types/interfaces/validator.interface.js.map +1 -0
- package/dist/common/constants/app.contants.d.ts +93 -0
- package/dist/common/constants/app.contants.js +353 -0
- package/dist/common/constants/app.contants.js.map +1 -0
- package/dist/common/constants/capacitation.constants.d.ts +3 -0
- package/dist/common/constants/capacitation.constants.js +7 -0
- package/dist/common/constants/capacitation.constants.js.map +1 -0
- package/dist/common/constants/index.d.ts +5 -0
- package/dist/common/constants/index.js +22 -0
- package/dist/common/constants/index.js.map +1 -0
- package/dist/common/constants/regex.constant.d.ts +6 -0
- package/dist/common/constants/regex.constant.js +10 -0
- package/dist/common/constants/regex.constant.js.map +1 -0
- package/dist/common/constants/roles.constants.d.ts +109 -0
- package/dist/common/constants/roles.constants.js +117 -0
- package/dist/common/constants/roles.constants.js.map +1 -0
- package/dist/common/constants/string.constant.d.ts +5 -0
- package/dist/common/constants/string.constant.js +41 -0
- package/dist/common/constants/string.constant.js.map +1 -0
- package/dist/common/database/base.entity.d.ts +34 -0
- package/dist/common/database/base.entity.js +191 -0
- package/dist/common/database/base.entity.js.map +1 -0
- package/dist/common/database/comment.base.entity.d.ts +12 -0
- package/dist/common/database/comment.base.entity.js +106 -0
- package/dist/common/database/comment.base.entity.js.map +1 -0
- package/dist/common/database/index.d.ts +2 -0
- package/dist/common/database/index.js +19 -0
- package/dist/common/database/index.js.map +1 -0
- package/dist/common/dtos/index.d.ts +2 -0
- package/dist/common/dtos/index.js +19 -0
- package/dist/common/dtos/index.js.map +1 -0
- package/dist/common/dtos/send-notification.dto.d.ts +13 -0
- package/dist/common/dtos/send-notification.dto.js +72 -0
- package/dist/common/dtos/send-notification.dto.js.map +1 -0
- package/dist/common/enums/common.enum.d.ts +58 -0
- package/dist/common/enums/common.enum.js +68 -0
- package/dist/common/enums/common.enum.js.map +1 -0
- package/dist/common/enums/drive.enum.d.ts +34 -0
- package/dist/common/enums/drive.enum.js +40 -0
- package/dist/common/enums/drive.enum.js.map +1 -0
- package/dist/common/enums/index.d.ts +6 -0
- package/dist/common/enums/index.js +23 -0
- package/dist/common/enums/index.js.map +1 -0
- package/dist/common/enums/notification.enum.d.ts +67 -0
- package/dist/common/enums/notification.enum.js +74 -0
- package/dist/common/enums/notification.enum.js.map +1 -0
- package/dist/common/enums/project.enum.d.ts +13 -0
- package/dist/common/enums/project.enum.js +19 -0
- package/dist/common/enums/project.enum.js.map +1 -0
- package/dist/common/enums/sales.enum.d.ts +182 -0
- package/dist/common/enums/sales.enum.js +217 -0
- package/dist/common/enums/sales.enum.js.map +1 -0
- package/dist/common/enums/tools.enum.d.ts +67 -0
- package/dist/common/enums/tools.enum.js +78 -0
- package/dist/common/enums/tools.enum.js.map +1 -0
- package/dist/common/functions/cripto.d.ts +1 -0
- package/dist/common/functions/cripto.js +8 -0
- package/dist/common/functions/cripto.js.map +1 -0
- package/dist/common/functions/image.d.ts +3 -0
- package/dist/common/functions/image.js +16 -0
- package/dist/common/functions/image.js.map +1 -0
- package/dist/common/functions/index.d.ts +2 -0
- package/dist/common/functions/index.js +19 -0
- package/dist/common/functions/index.js.map +1 -0
- package/dist/common/helpers/app.utils.d.ts +5 -0
- package/dist/common/helpers/app.utils.js +32 -0
- package/dist/common/helpers/app.utils.js.map +1 -0
- package/dist/common/helpers/helpers.utils.d.ts +5 -0
- package/dist/common/helpers/helpers.utils.js +26 -0
- package/dist/common/helpers/helpers.utils.js.map +1 -0
- package/dist/common/helpers/index.d.ts +2 -0
- package/dist/common/helpers/index.js +19 -0
- package/dist/common/helpers/index.js.map +1 -0
- package/dist/common/index.d.ts +9 -0
- package/dist/common/index.js +26 -0
- package/dist/common/index.js.map +1 -0
- package/dist/common/interceptors/index.d.ts +1 -0
- package/dist/common/interceptors/index.js +18 -0
- package/dist/common/interceptors/index.js.map +1 -0
- package/dist/common/interceptors/security.interceptor.d.ts +5 -0
- package/dist/common/interceptors/security.interceptor.js +22 -0
- package/dist/common/interceptors/security.interceptor.js.map +1 -0
- package/dist/common/transformers/encryption.transformer.d.ts +2 -0
- package/dist/common/transformers/encryption.transformer.js +83 -0
- package/dist/common/transformers/encryption.transformer.js.map +1 -0
- package/dist/common/transformers/index.d.ts +1 -0
- package/dist/common/transformers/index.js +6 -0
- package/dist/common/transformers/index.js.map +1 -0
- package/dist/dtos/whatsapp-send-command.dto.d.ts +116 -0
- package/dist/dtos/whatsapp-send-command.dto.js +16 -0
- package/dist/dtos/whatsapp-send-command.dto.js.map +1 -0
- package/dist/entities/all-activities.entity.d.ts +49 -0
- package/dist/entities/all-activities.entity.js +631 -0
- package/dist/entities/all-activities.entity.js.map +1 -0
- package/dist/entities/app_config/app-config.entity.d.ts +5 -0
- package/dist/entities/app_config/app-config.entity.js +33 -0
- package/dist/entities/app_config/app-config.entity.js.map +1 -0
- package/dist/entities/audit.entity.d.ts +7 -0
- package/dist/entities/audit.entity.js +56 -0
- package/dist/entities/audit.entity.js.map +1 -0
- package/dist/entities/capacitation/capacitation-certificate.entity.d.ts +26 -0
- package/dist/entities/capacitation/capacitation-certificate.entity.js +218 -0
- package/dist/entities/capacitation/capacitation-certificate.entity.js.map +1 -0
- package/dist/entities/capacitation/capacitation.entity.d.ts +34 -0
- package/dist/entities/capacitation/capacitation.entity.js +296 -0
- package/dist/entities/capacitation/capacitation.entity.js.map +1 -0
- package/dist/entities/capacitation/caso_top_capital/index.d.ts +2 -0
- package/dist/entities/capacitation/caso_top_capital/index.js +11 -0
- package/dist/entities/capacitation/caso_top_capital/index.js.map +1 -0
- package/dist/entities/capacitation/caso_top_capital/interview-one-finished.entity.d.ts +21 -0
- package/dist/entities/capacitation/caso_top_capital/interview-one-finished.entity.js +93 -0
- package/dist/entities/capacitation/caso_top_capital/interview-one-finished.entity.js.map +1 -0
- package/dist/entities/capacitation/caso_top_capital/interview-two-finished.entity.d.ts +28 -0
- package/dist/entities/capacitation/caso_top_capital/interview-two-finished.entity.js +117 -0
- package/dist/entities/capacitation/caso_top_capital/interview-two-finished.entity.js.map +1 -0
- package/dist/entities/capacitation/course-assigned.entity.d.ts +12 -0
- package/dist/entities/capacitation/course-assigned.entity.js +44 -0
- package/dist/entities/capacitation/course-assigned.entity.js.map +1 -0
- package/dist/entities/capacitation/course-evaluation-attempt.entity.d.ts +22 -0
- package/dist/entities/capacitation/course-evaluation-attempt.entity.js +96 -0
- package/dist/entities/capacitation/course-evaluation-attempt.entity.js.map +1 -0
- package/dist/entities/capacitation/course-evaluation.entity.d.ts +42 -0
- package/dist/entities/capacitation/course-evaluation.entity.js +111 -0
- package/dist/entities/capacitation/course-evaluation.entity.js.map +1 -0
- package/dist/entities/capacitation/course-folder-page.entity.d.ts +14 -0
- package/dist/entities/capacitation/course-folder-page.entity.js +74 -0
- package/dist/entities/capacitation/course-folder-page.entity.js.map +1 -0
- package/dist/entities/capacitation/course-folder.entity.d.ts +10 -0
- package/dist/entities/capacitation/course-folder.entity.js +57 -0
- package/dist/entities/capacitation/course-folder.entity.js.map +1 -0
- package/dist/entities/capacitation/course-order.entity.d.ts +8 -0
- package/dist/entities/capacitation/course-order.entity.js +45 -0
- package/dist/entities/capacitation/course-order.entity.js.map +1 -0
- package/dist/entities/capacitation/course.entity.d.ts +22 -0
- package/dist/entities/capacitation/course.entity.js +128 -0
- package/dist/entities/capacitation/course.entity.js.map +1 -0
- package/dist/entities/capacitation/index.d.ts +12 -0
- package/dist/entities/capacitation/index.js +40 -0
- package/dist/entities/capacitation/index.js.map +1 -0
- package/dist/entities/capacitation/process-certificate/asignatures.entity.d.ts +15 -0
- package/dist/entities/capacitation/process-certificate/asignatures.entity.js +106 -0
- package/dist/entities/capacitation/process-certificate/asignatures.entity.js.map +1 -0
- package/dist/entities/capacitation/process-certificate/element-asignature.entity.d.ts +36 -0
- package/dist/entities/capacitation/process-certificate/element-asignature.entity.js +176 -0
- package/dist/entities/capacitation/process-certificate/element-asignature.entity.js.map +1 -0
- package/dist/entities/capacitation/process-certificate/index.d.ts +5 -0
- package/dist/entities/capacitation/process-certificate/index.js +16 -0
- package/dist/entities/capacitation/process-certificate/index.js.map +1 -0
- package/dist/entities/capacitation/process-certificate/kardex.entity.d.ts +17 -0
- package/dist/entities/capacitation/process-certificate/kardex.entity.js +95 -0
- package/dist/entities/capacitation/process-certificate/kardex.entity.js.map +1 -0
- package/dist/entities/capacitation/process-certificate/sections.entity.d.ts +13 -0
- package/dist/entities/capacitation/process-certificate/sections.entity.js +74 -0
- package/dist/entities/capacitation/process-certificate/sections.entity.js.map +1 -0
- package/dist/entities/capacitation/process-certificate/table-contents.entity.d.ts +12 -0
- package/dist/entities/capacitation/process-certificate/table-contents.entity.js +64 -0
- package/dist/entities/capacitation/process-certificate/table-contents.entity.js.map +1 -0
- package/dist/entities/capacitation/weeks-sections/index.d.ts +5 -0
- package/dist/entities/capacitation/weeks-sections/index.js +27 -0
- package/dist/entities/capacitation/weeks-sections/index.js.map +1 -0
- package/dist/entities/capacitation/weeks-sections/weeks-content-sections.entity.d.ts +15 -0
- package/dist/entities/capacitation/weeks-sections/weeks-content-sections.entity.js +100 -0
- package/dist/entities/capacitation/weeks-sections/weeks-content-sections.entity.js.map +1 -0
- package/dist/entities/capacitation/weeks-sections/weeks-respuestas-content.entity.d.ts +14 -0
- package/dist/entities/capacitation/weeks-sections/weeks-respuestas-content.entity.js +94 -0
- package/dist/entities/capacitation/weeks-sections/weeks-respuestas-content.entity.js.map +1 -0
- package/dist/entities/capacitation/weeks-sections/weeks-roles-play/index.d.ts +2 -0
- package/dist/entities/capacitation/weeks-sections/weeks-roles-play/index.js +19 -0
- package/dist/entities/capacitation/weeks-sections/weeks-roles-play/index.js.map +1 -0
- package/dist/entities/capacitation/weeks-sections/weeks-roles-play/roles-play-agent.entity.d.ts +15 -0
- package/dist/entities/capacitation/weeks-sections/weeks-roles-play/roles-play-agent.entity.js +88 -0
- package/dist/entities/capacitation/weeks-sections/weeks-roles-play/roles-play-agent.entity.js.map +1 -0
- package/dist/entities/capacitation/weeks-sections/weeks-roles-play/weeks-roles-play.entity.d.ts +9 -0
- package/dist/entities/capacitation/weeks-sections/weeks-roles-play/weeks-roles-play.entity.js +61 -0
- package/dist/entities/capacitation/weeks-sections/weeks-roles-play/weeks-roles-play.entity.js.map +1 -0
- package/dist/entities/capacitation/weeks-sections/weeks-sections.entity.d.ts +11 -0
- package/dist/entities/capacitation/weeks-sections/weeks-sections.entity.js +67 -0
- package/dist/entities/capacitation/weeks-sections/weeks-sections.entity.js.map +1 -0
- package/dist/entities/capacitation/weeks-sections/weeks.entity.d.ts +11 -0
- package/dist/entities/capacitation/weeks-sections/weeks.entity.js +67 -0
- package/dist/entities/capacitation/weeks-sections/weeks.entity.js.map +1 -0
- package/dist/entities/company.entity.d.ts +14 -0
- package/dist/entities/company.entity.js +116 -0
- package/dist/entities/company.entity.js.map +1 -0
- package/dist/entities/currency.entity.d.ts +6 -0
- package/dist/entities/currency.entity.js +43 -0
- package/dist/entities/currency.entity.js.map +1 -0
- package/dist/entities/drive/attached_object.entity.d.ts +27 -0
- package/dist/entities/drive/attached_object.entity.js +154 -0
- package/dist/entities/drive/attached_object.entity.js.map +1 -0
- package/dist/entities/drive/file.entity.d.ts +20 -0
- package/dist/entities/drive/file.entity.js +178 -0
- package/dist/entities/drive/file.entity.js.map +1 -0
- package/dist/entities/drive/folder.entity.d.ts +21 -0
- package/dist/entities/drive/folder.entity.js +201 -0
- package/dist/entities/drive/folder.entity.js.map +1 -0
- package/dist/entities/drive/index.d.ts +4 -0
- package/dist/entities/drive/index.js +21 -0
- package/dist/entities/drive/index.js.map +1 -0
- package/dist/entities/drive/policy-file-metadata.entity.d.ts +33 -0
- package/dist/entities/drive/policy-file-metadata.entity.js +190 -0
- package/dist/entities/drive/policy-file-metadata.entity.js.map +1 -0
- package/dist/entities/easyapp/filter-view.entity.d.ts +7 -0
- package/dist/entities/easyapp/filter-view.entity.js +41 -0
- package/dist/entities/easyapp/filter-view.entity.js.map +1 -0
- package/dist/entities/email.entity.d.ts +5 -0
- package/dist/entities/email.entity.js +40 -0
- package/dist/entities/email.entity.js.map +1 -0
- package/dist/entities/group/group-collection-responsible.entity.d.ts +14 -0
- package/dist/entities/group/group-collection-responsible.entity.js +79 -0
- package/dist/entities/group/group-collection-responsible.entity.js.map +1 -0
- package/dist/entities/group.entity.d.ts +19 -0
- package/dist/entities/group.entity.js +75 -0
- package/dist/entities/group.entity.js.map +1 -0
- package/dist/entities/helpers/entity_file.entity.d.ts +10 -0
- package/dist/entities/helpers/entity_file.entity.js +61 -0
- package/dist/entities/helpers/entity_file.entity.js.map +1 -0
- package/dist/entities/helpers/entity_folder.entity.d.ts +10 -0
- package/dist/entities/helpers/entity_folder.entity.js +61 -0
- package/dist/entities/helpers/entity_folder.entity.js.map +1 -0
- package/dist/entities/helpers/index.d.ts +5 -0
- package/dist/entities/helpers/index.js +22 -0
- package/dist/entities/helpers/index.js.map +1 -0
- package/dist/entities/helpers/meeting_crm.entity.d.ts +24 -0
- package/dist/entities/helpers/meeting_crm.entity.js +180 -0
- package/dist/entities/helpers/meeting_crm.entity.js.map +1 -0
- package/dist/entities/helpers/sales/agent/capacitation/h_agent_capacitation_stage.entity.d.ts +8 -0
- package/dist/entities/helpers/sales/agent/capacitation/h_agent_capacitation_stage.entity.js +67 -0
- package/dist/entities/helpers/sales/agent/capacitation/h_agent_capacitation_stage.entity.js.map +1 -0
- package/dist/entities/helpers/sales/agent/certificate/h_agent_certificate_stage.entity.d.ts +8 -0
- package/dist/entities/helpers/sales/agent/certificate/h_agent_certificate_stage.entity.js +64 -0
- package/dist/entities/helpers/sales/agent/certificate/h_agent_certificate_stage.entity.js.map +1 -0
- package/dist/entities/helpers/sales/agent/connection/h_agent_connection.entity.d.ts +64 -0
- package/dist/entities/helpers/sales/agent/connection/h_agent_connection.entity.js +637 -0
- package/dist/entities/helpers/sales/agent/connection/h_agent_connection.entity.js.map +1 -0
- package/dist/entities/helpers/sales/agent/connection/h_agent_connection_stage.entity.d.ts +8 -0
- package/dist/entities/helpers/sales/agent/connection/h_agent_connection_stage.entity.js +69 -0
- package/dist/entities/helpers/sales/agent/connection/h_agent_connection_stage.entity.js.map +1 -0
- package/dist/entities/helpers/sales/agent/connection/tables/connection-content.entity.d.ts +13 -0
- package/dist/entities/helpers/sales/agent/connection/tables/connection-content.entity.js +88 -0
- package/dist/entities/helpers/sales/agent/connection/tables/connection-content.entity.js.map +1 -0
- package/dist/entities/helpers/sales/agent/connection/tables/connection-response.entity.d.ts +10 -0
- package/dist/entities/helpers/sales/agent/connection/tables/connection-response.entity.js +68 -0
- package/dist/entities/helpers/sales/agent/connection/tables/connection-response.entity.js.map +1 -0
- package/dist/entities/helpers/sales/agent/connection/tables/connection-section.entity.d.ts +11 -0
- package/dist/entities/helpers/sales/agent/connection/tables/connection-section.entity.js +74 -0
- package/dist/entities/helpers/sales/agent/connection/tables/connection-section.entity.js.map +1 -0
- package/dist/entities/helpers/sales/agent/connection/tables/connection-table.entity.d.ts +11 -0
- package/dist/entities/helpers/sales/agent/connection/tables/connection-table.entity.js +71 -0
- package/dist/entities/helpers/sales/agent/connection/tables/connection-table.entity.js.map +1 -0
- package/dist/entities/helpers/sales/agent/connection/tables/index.d.ts +4 -0
- package/dist/entities/helpers/sales/agent/connection/tables/index.js +21 -0
- package/dist/entities/helpers/sales/agent/connection/tables/index.js.map +1 -0
- package/dist/entities/helpers/sales/agent/h_agent_experiences.entity.d.ts +6 -0
- package/dist/entities/helpers/sales/agent/h_agent_experiences.entity.js +38 -0
- package/dist/entities/helpers/sales/agent/h_agent_experiences.entity.js.map +1 -0
- package/dist/entities/helpers/sales/agent/h_agent_manual_referrals.entity.d.ts +6 -0
- package/dist/entities/helpers/sales/agent/h_agent_manual_referrals.entity.js +38 -0
- package/dist/entities/helpers/sales/agent/h_agent_manual_referrals.entity.js.map +1 -0
- package/dist/entities/helpers/sales/agent/h_agent_source.entity.d.ts +4 -0
- package/dist/entities/helpers/sales/agent/h_agent_source.entity.js +34 -0
- package/dist/entities/helpers/sales/agent/h_agent_source.entity.js.map +1 -0
- package/dist/entities/helpers/sales/agent/h_agent_types.entity.d.ts +4 -0
- package/dist/entities/helpers/sales/agent/h_agent_types.entity.js +34 -0
- package/dist/entities/helpers/sales/agent/h_agent_types.entity.js.map +1 -0
- package/dist/entities/helpers/sales/agent/index.d.ts +13 -0
- package/dist/entities/helpers/sales/agent/index.js +30 -0
- package/dist/entities/helpers/sales/agent/index.js.map +1 -0
- package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment.entity.d.ts +22 -0
- package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment.entity.js +195 -0
- package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment.entity.js.map +1 -0
- package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment_other_referrals.entity.d.ts +9 -0
- package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment_other_referrals.entity.js +64 -0
- package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment_other_referrals.entity.js.map +1 -0
- package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment_stage.entity.d.ts +8 -0
- package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment_stage.entity.js +64 -0
- package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment_stage.entity.js.map +1 -0
- package/dist/entities/helpers/sales/agent/recruitment/training-type.entity.d.ts +9 -0
- package/dist/entities/helpers/sales/agent/recruitment/training-type.entity.js +65 -0
- package/dist/entities/helpers/sales/agent/recruitment/training-type.entity.js.map +1 -0
- package/dist/entities/helpers/sales/common/client_sources.entity.d.ts +7 -0
- package/dist/entities/helpers/sales/common/client_sources.entity.js +56 -0
- package/dist/entities/helpers/sales/common/client_sources.entity.js.map +1 -0
- package/dist/entities/helpers/sales/common/client_types.entity.d.ts +5 -0
- package/dist/entities/helpers/sales/common/client_types.entity.js +40 -0
- package/dist/entities/helpers/sales/common/client_types.entity.js.map +1 -0
- package/dist/entities/helpers/sales/contact/contact_email.entity.d.ts +11 -0
- package/dist/entities/helpers/sales/contact/contact_email.entity.js +89 -0
- package/dist/entities/helpers/sales/contact/contact_email.entity.js.map +1 -0
- package/dist/entities/helpers/sales/contact/contact_insurance.entity.d.ts +11 -0
- package/dist/entities/helpers/sales/contact/contact_insurance.entity.js +92 -0
- package/dist/entities/helpers/sales/contact/contact_insurance.entity.js.map +1 -0
- package/dist/entities/helpers/sales/contact/contact_phone.entity.d.ts +11 -0
- package/dist/entities/helpers/sales/contact/contact_phone.entity.js +89 -0
- package/dist/entities/helpers/sales/contact/contact_phone.entity.js.map +1 -0
- package/dist/entities/helpers/sales/contact/index.d.ts +5 -0
- package/dist/entities/helpers/sales/contact/index.js +22 -0
- package/dist/entities/helpers/sales/contact/index.js.map +1 -0
- package/dist/entities/helpers/sales/index.d.ts +7 -0
- package/dist/entities/helpers/sales/index.js +24 -0
- package/dist/entities/helpers/sales/index.js.map +1 -0
- package/dist/entities/helpers/sales/lead/h_lead_source.entity.d.ts +4 -0
- package/dist/entities/helpers/sales/lead/h_lead_source.entity.js +30 -0
- package/dist/entities/helpers/sales/lead/h_lead_source.entity.js.map +1 -0
- package/dist/entities/helpers/sales/lead/h_lead_stage.entity.d.ts +5 -0
- package/dist/entities/helpers/sales/lead/h_lead_stage.entity.js +36 -0
- package/dist/entities/helpers/sales/lead/h_lead_stage.entity.js.map +1 -0
- package/dist/entities/helpers/sales/lead/h_lead_types.entity.d.ts +4 -0
- package/dist/entities/helpers/sales/lead/h_lead_types.entity.js +30 -0
- package/dist/entities/helpers/sales/lead/h_lead_types.entity.js.map +1 -0
- package/dist/entities/helpers/sales/lead/index.d.ts +6 -0
- package/dist/entities/helpers/sales/lead/index.js +23 -0
- package/dist/entities/helpers/sales/lead/index.js.map +1 -0
- package/dist/entities/helpers/sales/lead/lead_cancel_reazon.entity.d.ts +4 -0
- package/dist/entities/helpers/sales/lead/lead_cancel_reazon.entity.js +28 -0
- package/dist/entities/helpers/sales/lead/lead_cancel_reazon.entity.js.map +1 -0
- package/dist/entities/helpers/sales/lead/lead_email.entity.d.ts +11 -0
- package/dist/entities/helpers/sales/lead/lead_email.entity.js +66 -0
- package/dist/entities/helpers/sales/lead/lead_email.entity.js.map +1 -0
- package/dist/entities/helpers/sales/lead/lead_phone.entity.d.ts +11 -0
- package/dist/entities/helpers/sales/lead/lead_phone.entity.js +66 -0
- package/dist/entities/helpers/sales/lead/lead_phone.entity.js.map +1 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_category.entity.d.ts +11 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_category.entity.js +55 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_category.entity.js.map +1 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_conducto_pago.entity.d.ts +5 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_conducto_pago.entity.js +33 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_conducto_pago.entity.js.map +1 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_forma_cobro.entity.d.ts +6 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_forma_cobro.entity.js +39 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_forma_cobro.entity.js.map +1 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_frecuencia_pago.entity.d.ts +6 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_frecuencia_pago.entity.js +39 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_frecuencia_pago.entity.js.map +1 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_insurance.entity.d.ts +5 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_insurance.entity.js +30 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_insurance.entity.js.map +1 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_stage.entity.d.ts +5 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_stage.entity.js +43 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_stage.entity.js.map +1 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_subramo.entity.d.ts +6 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_subramo.entity.js +36 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_subramo.entity.js.map +1 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_type.entity.d.ts +5 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_type.entity.js +33 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_type.entity.js.map +1 -0
- package/dist/entities/helpers/sales/poliza/h_receipt_stage.entity.d.ts +8 -0
- package/dist/entities/helpers/sales/poliza/h_receipt_stage.entity.js +53 -0
- package/dist/entities/helpers/sales/poliza/h_receipt_stage.entity.js.map +1 -0
- package/dist/entities/helpers/sales/poliza/index.d.ts +12 -0
- package/dist/entities/helpers/sales/poliza/index.js +29 -0
- package/dist/entities/helpers/sales/poliza/index.js.map +1 -0
- package/dist/entities/helpers/sales/poliza/poliza_cancel_reason.entity.d.ts +4 -0
- package/dist/entities/helpers/sales/poliza/poliza_cancel_reason.entity.js +28 -0
- package/dist/entities/helpers/sales/poliza/poliza_cancel_reason.entity.js.map +1 -0
- package/dist/entities/helpers/sales/poliza/poliza_insured.entity.d.ts +11 -0
- package/dist/entities/helpers/sales/poliza/poliza_insured.entity.js +86 -0
- package/dist/entities/helpers/sales/poliza/poliza_insured.entity.js.map +1 -0
- package/dist/entities/helpers/sales/poliza/poliza_settlement.entity.d.ts +4 -0
- package/dist/entities/helpers/sales/poliza/poliza_settlement.entity.js +28 -0
- package/dist/entities/helpers/sales/poliza/poliza_settlement.entity.js.map +1 -0
- package/dist/entities/helpers/tools/event_crm.entity.d.ts +36 -0
- package/dist/entities/helpers/tools/event_crm.entity.js +265 -0
- package/dist/entities/helpers/tools/event_crm.entity.js.map +1 -0
- package/dist/entities/helpers/tools/index.d.ts +2 -0
- package/dist/entities/helpers/tools/index.js +19 -0
- package/dist/entities/helpers/tools/index.js.map +1 -0
- package/dist/entities/helpers/tools/task_crm.entity.d.ts +38 -0
- package/dist/entities/helpers/tools/task_crm.entity.js +272 -0
- package/dist/entities/helpers/tools/task_crm.entity.js.map +1 -0
- package/dist/entities/imap-config.entity.d.ts +11 -0
- package/dist/entities/imap-config.entity.js +61 -0
- package/dist/entities/imap-config.entity.js.map +1 -0
- package/dist/entities/import-job.entity.d.ts +36 -0
- package/dist/entities/import-job.entity.js +140 -0
- package/dist/entities/import-job.entity.js.map +1 -0
- package/dist/entities/index.d.ts +63 -0
- package/dist/entities/index.js +80 -0
- package/dist/entities/index.js.map +1 -0
- package/dist/entities/login-history.entity.d.ts +7 -0
- package/dist/entities/login-history.entity.js +53 -0
- package/dist/entities/login-history.entity.js.map +1 -0
- package/dist/entities/meeting-comment.entity.d.ts +8 -0
- package/dist/entities/meeting-comment.entity.js +46 -0
- package/dist/entities/meeting-comment.entity.js.map +1 -0
- package/dist/entities/meeting-list-field.d.ts +5 -0
- package/dist/entities/meeting-list-field.js +46 -0
- package/dist/entities/meeting-list-field.js.map +1 -0
- package/dist/entities/meeting.entity.d.ts +24 -0
- package/dist/entities/meeting.entity.js +187 -0
- package/dist/entities/meeting.entity.js.map +1 -0
- package/dist/entities/menu-permissions.entity.d.ts +7 -0
- package/dist/entities/menu-permissions.entity.js +42 -0
- package/dist/entities/menu-permissions.entity.js.map +1 -0
- package/dist/entities/messaging/whatsapp/group-whatsapp-number.entity.d.ts +18 -0
- package/dist/entities/messaging/whatsapp/group-whatsapp-number.entity.js +143 -0
- package/dist/entities/messaging/whatsapp/group-whatsapp-number.entity.js.map +1 -0
- package/dist/entities/messaging/whatsapp/index.d.ts +10 -0
- package/dist/entities/messaging/whatsapp/index.js +27 -0
- package/dist/entities/messaging/whatsapp/index.js.map +1 -0
- package/dist/entities/messaging/whatsapp/whatsapp-conversation-crm.entity.d.ts +23 -0
- package/dist/entities/messaging/whatsapp/whatsapp-conversation-crm.entity.js +134 -0
- package/dist/entities/messaging/whatsapp/whatsapp-conversation-crm.entity.js.map +1 -0
- package/dist/entities/messaging/whatsapp/whatsapp-conversation.entity.d.ts +30 -0
- package/dist/entities/messaging/whatsapp/whatsapp-conversation.entity.js +249 -0
- package/dist/entities/messaging/whatsapp/whatsapp-conversation.entity.js.map +1 -0
- package/dist/entities/messaging/whatsapp/whatsapp-message-cost.entity.d.ts +23 -0
- package/dist/entities/messaging/whatsapp/whatsapp-message-cost.entity.js +145 -0
- package/dist/entities/messaging/whatsapp/whatsapp-message-cost.entity.js.map +1 -0
- package/dist/entities/messaging/whatsapp/whatsapp-message.entity.d.ts +46 -0
- package/dist/entities/messaging/whatsapp/whatsapp-message.entity.js +269 -0
- package/dist/entities/messaging/whatsapp/whatsapp-message.entity.js.map +1 -0
- package/dist/entities/messaging/whatsapp/whatsapp-provider-configuration.entity.d.ts +25 -0
- package/dist/entities/messaging/whatsapp/whatsapp-provider-configuration.entity.js +164 -0
- package/dist/entities/messaging/whatsapp/whatsapp-provider-configuration.entity.js.map +1 -0
- package/dist/entities/messaging/whatsapp/whatsapp-provider.entity.d.ts +24 -0
- package/dist/entities/messaging/whatsapp/whatsapp-provider.entity.js +99 -0
- package/dist/entities/messaging/whatsapp/whatsapp-provider.entity.js.map +1 -0
- package/dist/entities/messaging/whatsapp/whatsapp-template.entity.d.ts +39 -0
- package/dist/entities/messaging/whatsapp/whatsapp-template.entity.js +122 -0
- package/dist/entities/messaging/whatsapp/whatsapp-template.entity.js.map +1 -0
- package/dist/entities/messaging/whatsapp/whatsapp-webhook-log.entity.d.ts +12 -0
- package/dist/entities/messaging/whatsapp/whatsapp-webhook-log.entity.js +106 -0
- package/dist/entities/messaging/whatsapp/whatsapp-webhook-log.entity.js.map +1 -0
- package/dist/entities/messaging/whatsapp/whatsapp.enum.d.ts +68 -0
- package/dist/entities/messaging/whatsapp/whatsapp.enum.js +82 -0
- package/dist/entities/messaging/whatsapp/whatsapp.enum.js.map +1 -0
- package/dist/entities/notifications/index.d.ts +2 -0
- package/dist/entities/notifications/index.js +19 -0
- package/dist/entities/notifications/index.js.map +1 -0
- package/dist/entities/notifications/notification.entity.d.ts +15 -0
- package/dist/entities/notifications/notification.entity.js +119 -0
- package/dist/entities/notifications/notification.entity.js.map +1 -0
- package/dist/entities/notifications/push-token.entity.d.ts +7 -0
- package/dist/entities/notifications/push-token.entity.js +45 -0
- package/dist/entities/notifications/push-token.entity.js.map +1 -0
- package/dist/entities/otp-log.entity.d.ts +10 -0
- package/dist/entities/otp-log.entity.js +61 -0
- package/dist/entities/otp-log.entity.js.map +1 -0
- package/dist/entities/payments/banbajio-payment.entity.d.ts +26 -0
- package/dist/entities/payments/banbajio-payment.entity.js +92 -0
- package/dist/entities/payments/banbajio-payment.entity.js.map +1 -0
- package/dist/entities/payments/payment.entity.d.ts +58 -0
- package/dist/entities/payments/payment.entity.js +191 -0
- package/dist/entities/payments/payment.entity.js.map +1 -0
- package/dist/entities/payments/stripe-payment.entity.d.ts +50 -0
- package/dist/entities/payments/stripe-payment.entity.js +231 -0
- package/dist/entities/payments/stripe-payment.entity.js.map +1 -0
- package/dist/entities/permission.entity.d.ts +14 -0
- package/dist/entities/permission.entity.js +133 -0
- package/dist/entities/permission.entity.js.map +1 -0
- package/dist/entities/phone.entity.d.ts +5 -0
- package/dist/entities/phone.entity.js +36 -0
- package/dist/entities/phone.entity.js.map +1 -0
- package/dist/entities/policy/index.d.ts +3 -0
- package/dist/entities/policy/index.js +20 -0
- package/dist/entities/policy/index.js.map +1 -0
- package/dist/entities/policy/policy-version.entity.d.ts +49 -0
- package/dist/entities/policy/policy-version.entity.js +458 -0
- package/dist/entities/policy/policy-version.entity.js.map +1 -0
- package/dist/entities/policy/policy.entity.d.ts +32 -0
- package/dist/entities/policy/policy.entity.js +330 -0
- package/dist/entities/policy/policy.entity.js.map +1 -0
- package/dist/entities/policy/version-comment.entity.d.ts +7 -0
- package/dist/entities/policy/version-comment.entity.js +36 -0
- package/dist/entities/policy/version-comment.entity.js.map +1 -0
- package/dist/entities/policy-tag.entity.d.ts +10 -0
- package/dist/entities/policy-tag.entity.js +65 -0
- package/dist/entities/policy-tag.entity.js.map +1 -0
- package/dist/entities/profile.entity.d.ts +9 -0
- package/dist/entities/profile.entity.js +56 -0
- package/dist/entities/profile.entity.js.map +1 -0
- package/dist/entities/project_management/activities/activities-comment.entity.d.ts +11 -0
- package/dist/entities/project_management/activities/activities-comment.entity.js +63 -0
- package/dist/entities/project_management/activities/activities-comment.entity.js.map +1 -0
- package/dist/entities/project_management/activities/activity-file.entity.d.ts +11 -0
- package/dist/entities/project_management/activities/activity-file.entity.js +64 -0
- package/dist/entities/project_management/activities/activity-file.entity.js.map +1 -0
- package/dist/entities/project_management/activities/activity.entity.d.ts +21 -0
- package/dist/entities/project_management/activities/activity.entity.js +111 -0
- package/dist/entities/project_management/activities/activity.entity.js.map +1 -0
- package/dist/entities/project_management/activities/index.d.ts +3 -0
- package/dist/entities/project_management/activities/index.js +20 -0
- package/dist/entities/project_management/activities/index.js.map +1 -0
- package/dist/entities/project_management/index.d.ts +2 -0
- package/dist/entities/project_management/index.js +19 -0
- package/dist/entities/project_management/index.js.map +1 -0
- package/dist/entities/project_management/project/index.d.ts +3 -0
- package/dist/entities/project_management/project/index.js +20 -0
- package/dist/entities/project_management/project/index.js.map +1 -0
- package/dist/entities/project_management/project/project-comment.entity.d.ts +11 -0
- package/dist/entities/project_management/project/project-comment.entity.js +63 -0
- package/dist/entities/project_management/project/project-comment.entity.js.map +1 -0
- package/dist/entities/project_management/project/project-file.entity.d.ts +11 -0
- package/dist/entities/project_management/project/project-file.entity.js +64 -0
- package/dist/entities/project_management/project/project-file.entity.js.map +1 -0
- package/dist/entities/project_management/project/project.entity.d.ts +24 -0
- package/dist/entities/project_management/project/project.entity.js +123 -0
- package/dist/entities/project_management/project/project.entity.js.map +1 -0
- package/dist/entities/protocol.entity.d.ts +8 -0
- package/dist/entities/protocol.entity.js +46 -0
- package/dist/entities/protocol.entity.js.map +1 -0
- package/dist/entities/qrcode.entity.d.ts +9 -0
- package/dist/entities/qrcode.entity.js +54 -0
- package/dist/entities/qrcode.entity.js.map +1 -0
- package/dist/entities/refresh-token.entity.d.ts +8 -0
- package/dist/entities/refresh-token.entity.js +46 -0
- package/dist/entities/refresh-token.entity.js.map +1 -0
- package/dist/entities/role-audit-log.entity.d.ts +25 -0
- package/dist/entities/role-audit-log.entity.js +122 -0
- package/dist/entities/role-audit-log.entity.js.map +1 -0
- package/dist/entities/role.entity.d.ts +16 -0
- package/dist/entities/role.entity.js +131 -0
- package/dist/entities/role.entity.js.map +1 -0
- package/dist/entities/sales/agent-comment.entity.d.ts +7 -0
- package/dist/entities/sales/agent-comment.entity.js +36 -0
- package/dist/entities/sales/agent-comment.entity.js.map +1 -0
- package/dist/entities/sales/agent.entity.d.ts +82 -0
- package/dist/entities/sales/agent.entity.js +681 -0
- package/dist/entities/sales/agent.entity.js.map +1 -0
- package/dist/entities/sales/agente-intermediario.entity.d.ts +7 -0
- package/dist/entities/sales/agente-intermediario.entity.js +49 -0
- package/dist/entities/sales/agente-intermediario.entity.js.map +1 -0
- package/dist/entities/sales/beneficiarios/index.d.ts +2 -0
- package/dist/entities/sales/beneficiarios/index.js +19 -0
- package/dist/entities/sales/beneficiarios/index.js.map +1 -0
- package/dist/entities/sales/beneficiarios/person.entity.d.ts +10 -0
- package/dist/entities/sales/beneficiarios/person.entity.js +89 -0
- package/dist/entities/sales/beneficiarios/person.entity.js.map +1 -0
- package/dist/entities/sales/beneficiarios/vehicle.entity.d.ts +16 -0
- package/dist/entities/sales/beneficiarios/vehicle.entity.js +106 -0
- package/dist/entities/sales/beneficiarios/vehicle.entity.js.map +1 -0
- package/dist/entities/sales/contact-comment.entity.d.ts +5 -0
- package/dist/entities/sales/contact-comment.entity.js +32 -0
- package/dist/entities/sales/contact-comment.entity.js.map +1 -0
- package/dist/entities/sales/contact.entity.d.ts +61 -0
- package/dist/entities/sales/contact.entity.js +548 -0
- package/dist/entities/sales/contact.entity.js.map +1 -0
- package/dist/entities/sales/import-session.entity.d.ts +29 -0
- package/dist/entities/sales/import-session.entity.js +155 -0
- package/dist/entities/sales/import-session.entity.js.map +1 -0
- package/dist/entities/sales/index.d.ts +17 -0
- package/dist/entities/sales/index.js +34 -0
- package/dist/entities/sales/index.js.map +1 -0
- package/dist/entities/sales/lead-comment.entity.d.ts +5 -0
- package/dist/entities/sales/lead-comment.entity.js +32 -0
- package/dist/entities/sales/lead-comment.entity.js.map +1 -0
- package/dist/entities/sales/lead-validation-rule.entity.d.ts +7 -0
- package/dist/entities/sales/lead-validation-rule.entity.js +34 -0
- package/dist/entities/sales/lead-validation-rule.entity.js.map +1 -0
- package/dist/entities/sales/lead.entity.d.ts +66 -0
- package/dist/entities/sales/lead.entity.js +631 -0
- package/dist/entities/sales/lead.entity.js.map +1 -0
- package/dist/entities/sales/policy-comment.entity.d.ts +5 -0
- package/dist/entities/sales/policy-comment.entity.js +35 -0
- package/dist/entities/sales/policy-comment.entity.js.map +1 -0
- package/dist/entities/sales/poliza/index.d.ts +8 -0
- package/dist/entities/sales/poliza/index.js +25 -0
- package/dist/entities/sales/poliza/index.js.map +1 -0
- package/dist/entities/sales/poliza/poliza_claim-comment.entity.d.ts +5 -0
- package/dist/entities/sales/poliza/poliza_claim-comment.entity.js +35 -0
- package/dist/entities/sales/poliza/poliza_claim-comment.entity.js.map +1 -0
- package/dist/entities/sales/poliza/poliza_claim.entity.d.ts +39 -0
- package/dist/entities/sales/poliza/poliza_claim.entity.js +328 -0
- package/dist/entities/sales/poliza/poliza_claim.entity.js.map +1 -0
- package/dist/entities/sales/poliza/poliza_fund-recovery-comment.entity.d.ts +5 -0
- package/dist/entities/sales/poliza/poliza_fund-recovery-comment.entity.js +35 -0
- package/dist/entities/sales/poliza/poliza_fund-recovery-comment.entity.js.map +1 -0
- package/dist/entities/sales/poliza/poliza_fund-recovery.entity.d.ts +36 -0
- package/dist/entities/sales/poliza/poliza_fund-recovery.entity.js +302 -0
- package/dist/entities/sales/poliza/poliza_fund-recovery.entity.js.map +1 -0
- package/dist/entities/sales/poliza/poliza_reimbursement-comment.entity.d.ts +5 -0
- package/dist/entities/sales/poliza/poliza_reimbursement-comment.entity.js +35 -0
- package/dist/entities/sales/poliza/poliza_reimbursement-comment.entity.js.map +1 -0
- package/dist/entities/sales/poliza/poliza_reimbursement.entity.d.ts +39 -0
- package/dist/entities/sales/poliza/poliza_reimbursement.entity.js +320 -0
- package/dist/entities/sales/poliza/poliza_reimbursement.entity.js.map +1 -0
- package/dist/entities/sales/poliza/poliza_scheduling-comment.entity.d.ts +5 -0
- package/dist/entities/sales/poliza/poliza_scheduling-comment.entity.js +35 -0
- package/dist/entities/sales/poliza/poliza_scheduling-comment.entity.js.map +1 -0
- package/dist/entities/sales/poliza/poliza_scheduling.entity.d.ts +42 -0
- package/dist/entities/sales/poliza/poliza_scheduling.entity.js +342 -0
- package/dist/entities/sales/poliza/poliza_scheduling.entity.js.map +1 -0
- package/dist/entities/sales/poliza-comment.entity.d.ts +5 -0
- package/dist/entities/sales/poliza-comment.entity.js +32 -0
- package/dist/entities/sales/poliza-comment.entity.js.map +1 -0
- package/dist/entities/sales/poliza.entity.d.ts +110 -0
- package/dist/entities/sales/poliza.entity.js +1051 -0
- package/dist/entities/sales/poliza.entity.js.map +1 -0
- package/dist/entities/sales/poliza_pdf.entity.d.ts +96 -0
- package/dist/entities/sales/poliza_pdf.entity.js +946 -0
- package/dist/entities/sales/poliza_pdf.entity.js.map +1 -0
- package/dist/entities/sales/receipt-comment.entity.d.ts +7 -0
- package/dist/entities/sales/receipt-comment.entity.js +33 -0
- package/dist/entities/sales/receipt-comment.entity.js.map +1 -0
- package/dist/entities/sales/receipt.entity.d.ts +37 -0
- package/dist/entities/sales/receipt.entity.js +297 -0
- package/dist/entities/sales/receipt.entity.js.map +1 -0
- package/dist/entities/subgroup.entity.d.ts +8 -0
- package/dist/entities/subgroup.entity.js +45 -0
- package/dist/entities/subgroup.entity.js.map +1 -0
- package/dist/entities/subscriptions/feature.entity.d.ts +25 -0
- package/dist/entities/subscriptions/feature.entity.js +75 -0
- package/dist/entities/subscriptions/feature.entity.js.map +1 -0
- package/dist/entities/subscriptions/plan-feature.entity.d.ts +10 -0
- package/dist/entities/subscriptions/plan-feature.entity.js +56 -0
- package/dist/entities/subscriptions/plan-feature.entity.js.map +1 -0
- package/dist/entities/subscriptions/plan.entity.d.ts +15 -0
- package/dist/entities/subscriptions/plan.entity.js +73 -0
- package/dist/entities/subscriptions/plan.entity.js.map +1 -0
- package/dist/entities/subscriptions/subscription.entity.d.ts +30 -0
- package/dist/entities/subscriptions/subscription.entity.js +150 -0
- package/dist/entities/subscriptions/subscription.entity.js.map +1 -0
- package/dist/entities/tag.entity.d.ts +8 -0
- package/dist/entities/tag.entity.js +53 -0
- package/dist/entities/tag.entity.js.map +1 -0
- package/dist/entities/template.entity.d.ts +9 -0
- package/dist/entities/template.entity.js +78 -0
- package/dist/entities/template.entity.js.map +1 -0
- package/dist/entities/thirdparty/diio-integration.entity.d.ts +16 -0
- package/dist/entities/thirdparty/diio-integration.entity.js +74 -0
- package/dist/entities/thirdparty/diio-integration.entity.js.map +1 -0
- package/dist/entities/thirdparty/google-gmail-watch-record.entity.d.ts +14 -0
- package/dist/entities/thirdparty/google-gmail-watch-record.entity.js +113 -0
- package/dist/entities/thirdparty/google-gmail-watch-record.entity.js.map +1 -0
- package/dist/entities/thirdparty/google-webhooks-config.entity.d.ts +19 -0
- package/dist/entities/thirdparty/google-webhooks-config.entity.js +82 -0
- package/dist/entities/thirdparty/google-webhooks-config.entity.js.map +1 -0
- package/dist/entities/thirdparty/oauth.entity.d.ts +25 -0
- package/dist/entities/thirdparty/oauth.entity.js +82 -0
- package/dist/entities/thirdparty/oauth.entity.js.map +1 -0
- package/dist/entities/thirdparty/wati/index.d.ts +7 -0
- package/dist/entities/thirdparty/wati/index.js +24 -0
- package/dist/entities/thirdparty/wati/index.js.map +1 -0
- package/dist/entities/thirdparty/wati/wati-chat.entity.d.ts +27 -0
- package/dist/entities/thirdparty/wati/wati-chat.entity.js +207 -0
- package/dist/entities/thirdparty/wati/wati-chat.entity.js.map +1 -0
- package/dist/entities/thirdparty/wati/wati-configuration.entity.d.ts +22 -0
- package/dist/entities/thirdparty/wati/wati-configuration.entity.js +149 -0
- package/dist/entities/thirdparty/wati/wati-configuration.entity.js.map +1 -0
- package/dist/entities/thirdparty/wati/wati-events.entity.d.ts +9 -0
- package/dist/entities/thirdparty/wati/wati-events.entity.js +63 -0
- package/dist/entities/thirdparty/wati/wati-events.entity.js.map +1 -0
- package/dist/entities/thirdparty/wati/wati-message.entity.d.ts +30 -0
- package/dist/entities/thirdparty/wati/wati-message.entity.js +280 -0
- package/dist/entities/thirdparty/wati/wati-message.entity.js.map +1 -0
- package/dist/entities/thirdparty/wati/wati-user-access-log.entity.d.ts +71 -0
- package/dist/entities/thirdparty/wati/wati-user-access-log.entity.js +216 -0
- package/dist/entities/thirdparty/wati/wati-user-access-log.entity.js.map +1 -0
- package/dist/entities/thirdparty/wati/wati-user-access.entity.d.ts +31 -0
- package/dist/entities/thirdparty/wati/wati-user-access.entity.js +193 -0
- package/dist/entities/thirdparty/wati/wati-user-access.entity.js.map +1 -0
- package/dist/entities/thirdparty/wati/wati.enum.d.ts +69 -0
- package/dist/entities/thirdparty/wati/wati.enum.js +83 -0
- package/dist/entities/thirdparty/wati/wati.enum.js.map +1 -0
- package/dist/entities/tools/calendar/calendar-event-comment.entity.d.ts +8 -0
- package/dist/entities/tools/calendar/calendar-event-comment.entity.js +39 -0
- package/dist/entities/tools/calendar/calendar-event-comment.entity.js.map +1 -0
- package/dist/entities/tools/calendar/calendar-event-invitations.entity.d.ts +13 -0
- package/dist/entities/tools/calendar/calendar-event-invitations.entity.js +48 -0
- package/dist/entities/tools/calendar/calendar-event-invitations.entity.js.map +1 -0
- package/dist/entities/tools/calendar/calendar-general-config.entity.d.ts +12 -0
- package/dist/entities/tools/calendar/calendar-general-config.entity.js +67 -0
- package/dist/entities/tools/calendar/calendar-general-config.entity.js.map +1 -0
- package/dist/entities/tools/calendar/calendar-item.entity.d.ts +33 -0
- package/dist/entities/tools/calendar/calendar-item.entity.js +188 -0
- package/dist/entities/tools/calendar/calendar-item.entity.js.map +1 -0
- package/dist/entities/tools/calendar/calendar-reminder.entity.d.ts +7 -0
- package/dist/entities/tools/calendar/calendar-reminder.entity.js +38 -0
- package/dist/entities/tools/calendar/calendar-reminder.entity.js.map +1 -0
- package/dist/entities/tools/calendar/calendar-sub-item.entity.d.ts +32 -0
- package/dist/entities/tools/calendar/calendar-sub-item.entity.js +104 -0
- package/dist/entities/tools/calendar/calendar-sub-item.entity.js.map +1 -0
- package/dist/entities/tools/calendar/calendar-user-access.entity.d.ts +13 -0
- package/dist/entities/tools/calendar/calendar-user-access.entity.js +46 -0
- package/dist/entities/tools/calendar/calendar-user-access.entity.js.map +1 -0
- package/dist/entities/tools/calendar/event-location.entity.d.ts +7 -0
- package/dist/entities/tools/calendar/event-location.entity.js +44 -0
- package/dist/entities/tools/calendar/event-location.entity.js.map +1 -0
- package/dist/entities/tools/calendar/event.entity.d.ts +43 -0
- package/dist/entities/tools/calendar/event.entity.js +267 -0
- package/dist/entities/tools/calendar/event.entity.js.map +1 -0
- package/dist/entities/tools/calendar/index.d.ts +9 -0
- package/dist/entities/tools/calendar/index.js +26 -0
- package/dist/entities/tools/calendar/index.js.map +1 -0
- package/dist/entities/tools/index.d.ts +9 -0
- package/dist/entities/tools/index.js +26 -0
- package/dist/entities/tools/index.js.map +1 -0
- package/dist/entities/tools/mail/email-signature.entity.d.ts +10 -0
- package/dist/entities/tools/mail/email-signature.entity.js +60 -0
- package/dist/entities/tools/mail/email-signature.entity.js.map +1 -0
- package/dist/entities/tools/mail/mail-contact.entity.d.ts +13 -0
- package/dist/entities/tools/mail/mail-contact.entity.js +68 -0
- package/dist/entities/tools/mail/mail-contact.entity.js.map +1 -0
- package/dist/entities/tools/mail/mail-crm-queue-distribution.entity.d.ts +8 -0
- package/dist/entities/tools/mail/mail-crm-queue-distribution.entity.js +38 -0
- package/dist/entities/tools/mail/mail-crm-queue-distribution.entity.js.map +1 -0
- package/dist/entities/tools/mail/mail-crm-queue-entities-assigned.entity.d.ts +9 -0
- package/dist/entities/tools/mail/mail-crm-queue-entities-assigned.entity.js +39 -0
- package/dist/entities/tools/mail/mail-crm-queue-entities-assigned.entity.js.map +1 -0
- package/dist/entities/tools/mail/mail-crm-queue-status.entity.d.ts +9 -0
- package/dist/entities/tools/mail/mail-crm-queue-status.entity.js +44 -0
- package/dist/entities/tools/mail/mail-crm-queue-status.entity.js.map +1 -0
- package/dist/entities/tools/mail/mail-gmail.entity.d.ts +7 -0
- package/dist/entities/tools/mail/mail-gmail.entity.js +41 -0
- package/dist/entities/tools/mail/mail-gmail.entity.js.map +1 -0
- package/dist/entities/tools/mail/mail.entity.d.ts +67 -0
- package/dist/entities/tools/mail/mail.entity.js +137 -0
- package/dist/entities/tools/mail/mail.entity.js.map +1 -0
- package/dist/entities/tools/mail/mailbox-user-access.entity.d.ts +7 -0
- package/dist/entities/tools/mail/mailbox-user-access.entity.js +33 -0
- package/dist/entities/tools/mail/mailbox-user-access.entity.js.map +1 -0
- package/dist/entities/tools/mail/mailbox.entity.d.ts +58 -0
- package/dist/entities/tools/mail/mailbox.entity.js +113 -0
- package/dist/entities/tools/mail/mailbox.entity.js.map +1 -0
- package/dist/entities/tools/task-comment.entity.d.ts +8 -0
- package/dist/entities/tools/task-comment.entity.js +39 -0
- package/dist/entities/tools/task-comment.entity.js.map +1 -0
- package/dist/entities/tools/task-history.entity.d.ts +15 -0
- package/dist/entities/tools/task-history.entity.js +131 -0
- package/dist/entities/tools/task-history.entity.js.map +1 -0
- package/dist/entities/tools/task-list-field.d.ts +5 -0
- package/dist/entities/tools/task-list-field.js +39 -0
- package/dist/entities/tools/task-list-field.js.map +1 -0
- package/dist/entities/tools/task-objection.entity.d.ts +10 -0
- package/dist/entities/tools/task-objection.entity.js +80 -0
- package/dist/entities/tools/task-objection.entity.js.map +1 -0
- package/dist/entities/tools/task-template-permission.entity.d.ts +7 -0
- package/dist/entities/tools/task-template-permission.entity.js +51 -0
- package/dist/entities/tools/task-template-permission.entity.js.map +1 -0
- package/dist/entities/tools/task-template.entity.d.ts +26 -0
- package/dist/entities/tools/task-template.entity.js +225 -0
- package/dist/entities/tools/task-template.entity.js.map +1 -0
- package/dist/entities/tools/task-time-track.entity.d.ts +16 -0
- package/dist/entities/tools/task-time-track.entity.js +139 -0
- package/dist/entities/tools/task-time-track.entity.js.map +1 -0
- package/dist/entities/tools/task.entity.d.ts +59 -0
- package/dist/entities/tools/task.entity.js +518 -0
- package/dist/entities/tools/task.entity.js.map +1 -0
- package/dist/entities/user-change-log.entity.d.ts +22 -0
- package/dist/entities/user-change-log.entity.js +77 -0
- package/dist/entities/user-change-log.entity.js.map +1 -0
- package/dist/entities/user-from-cognito.entity.d.ts +5 -0
- package/dist/entities/user-from-cognito.entity.js +35 -0
- package/dist/entities/user-from-cognito.entity.js.map +1 -0
- package/dist/entities/user-group-status.entity.d.ts +10 -0
- package/dist/entities/user-group-status.entity.js +71 -0
- package/dist/entities/user-group-status.entity.js.map +1 -0
- package/dist/entities/user-invitations.entity.d.ts +16 -0
- package/dist/entities/user-invitations.entity.js +143 -0
- package/dist/entities/user-invitations.entity.js.map +1 -0
- package/dist/entities/user-special-role.entity.d.ts +21 -0
- package/dist/entities/user-special-role.entity.js +94 -0
- package/dist/entities/user-special-role.entity.js.map +1 -0
- package/dist/entities/user.entity.d.ts +50 -0
- package/dist/entities/user.entity.js +326 -0
- package/dist/entities/user.entity.js.map +1 -0
- package/dist/eslint.config.d.ts +2 -0
- package/dist/eslint.config.js +46 -0
- package/dist/eslint.config.js.map +1 -0
- package/dist/grpc/drive/drive.proto +339 -0
- package/dist/grpc/drive/leads.proto +114 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +20 -0
- package/dist/index.js.map +1 -0
- package/dist/modules/authorization/authorization.module.d.ts +26 -0
- package/dist/modules/authorization/authorization.module.js +105 -0
- package/dist/modules/authorization/authorization.module.js.map +1 -0
- package/dist/modules/authorization/config/resource-configurations.d.ts +12 -0
- package/dist/modules/authorization/config/resource-configurations.js +124 -0
- package/dist/modules/authorization/config/resource-configurations.js.map +1 -0
- package/dist/modules/authorization/decorators/contact-permissions.decorator.d.ts +13 -0
- package/dist/modules/authorization/decorators/contact-permissions.decorator.js +101 -0
- package/dist/modules/authorization/decorators/contact-permissions.decorator.js.map +1 -0
- package/dist/modules/authorization/decorators/permissions.decorator.d.ts +51 -0
- package/dist/modules/authorization/decorators/permissions.decorator.js +144 -0
- package/dist/modules/authorization/decorators/permissions.decorator.js.map +1 -0
- package/dist/modules/authorization/factories/resource-authorization.factory.d.ts +55 -0
- package/dist/modules/authorization/factories/resource-authorization.factory.js +184 -0
- package/dist/modules/authorization/factories/resource-authorization.factory.js.map +1 -0
- package/dist/modules/authorization/index.d.ts +7 -0
- package/dist/modules/authorization/index.js +24 -0
- package/dist/modules/authorization/index.js.map +1 -0
- package/dist/modules/authorization/interfaces/authorization.interface.d.ts +23 -0
- package/dist/modules/authorization/interfaces/authorization.interface.js +3 -0
- package/dist/modules/authorization/interfaces/authorization.interface.js.map +1 -0
- package/dist/modules/authorization/services/authorization.service.d.ts +25 -0
- package/dist/modules/authorization/services/authorization.service.js +139 -0
- package/dist/modules/authorization/services/authorization.service.js.map +1 -0
- package/dist/modules/authorization/services/dynamic-filter.service.d.ts +9 -0
- package/dist/modules/authorization/services/dynamic-filter.service.js +238 -0
- package/dist/modules/authorization/services/dynamic-filter.service.js.map +1 -0
- package/dist/modules/authorization/services/index.d.ts +7 -0
- package/dist/modules/authorization/services/index.js +24 -0
- package/dist/modules/authorization/services/index.js.map +1 -0
- package/dist/modules/authorization/services/modules/contact-authorization.service.d.ts +29 -0
- package/dist/modules/authorization/services/modules/contact-authorization.service.js +105 -0
- package/dist/modules/authorization/services/modules/contact-authorization.service.js.map +1 -0
- package/dist/modules/authorization/services/modules/index.d.ts +4 -0
- package/dist/modules/authorization/services/modules/index.js +21 -0
- package/dist/modules/authorization/services/modules/index.js.map +1 -0
- package/dist/modules/authorization/services/modules/lead-authorization.service.d.ts +27 -0
- package/dist/modules/authorization/services/modules/lead-authorization.service.js +96 -0
- package/dist/modules/authorization/services/modules/lead-authorization.service.js.map +1 -0
- package/dist/modules/authorization/services/modules/policy-authorization.service.d.ts +28 -0
- package/dist/modules/authorization/services/modules/policy-authorization.service.js +100 -0
- package/dist/modules/authorization/services/modules/policy-authorization.service.js.map +1 -0
- package/dist/modules/authorization/services/modules/task-authorization.service.d.ts +28 -0
- package/dist/modules/authorization/services/modules/task-authorization.service.js +100 -0
- package/dist/modules/authorization/services/modules/task-authorization.service.js.map +1 -0
- package/dist/modules/authorization/services/permission-cache.service.d.ts +10 -0
- package/dist/modules/authorization/services/permission-cache.service.js +48 -0
- package/dist/modules/authorization/services/permission-cache.service.js.map +1 -0
- package/dist/modules/authorization/services/permission-evaluator.service.d.ts +26 -0
- package/dist/modules/authorization/services/permission-evaluator.service.js +328 -0
- package/dist/modules/authorization/services/permission-evaluator.service.js.map +1 -0
- package/dist/modules/authorization/services/resource-access-filter.service.d.ts +20 -0
- package/dist/modules/authorization/services/resource-access-filter.service.js +406 -0
- package/dist/modules/authorization/services/resource-access-filter.service.js.map +1 -0
- package/dist/modules/authorization/services/resource-authorization.service.d.ts +47 -0
- package/dist/modules/authorization/services/resource-authorization.service.js +184 -0
- package/dist/modules/authorization/services/resource-authorization.service.js.map +1 -0
- package/dist/modules/index.d.ts +6 -0
- package/dist/modules/index.js +23 -0
- package/dist/modules/index.js.map +1 -0
- package/dist/modules/queue/event.service.d.ts +32 -0
- package/dist/modules/queue/event.service.js +45 -0
- package/dist/modules/queue/event.service.js.map +1 -0
- package/dist/modules/queue/notifier.service.d.ts +15 -0
- package/dist/modules/queue/notifier.service.js +70 -0
- package/dist/modules/queue/notifier.service.js.map +1 -0
- package/dist/modules/queue/notifiers/calendar.notifier.d.ts +10 -0
- package/dist/modules/queue/notifiers/calendar.notifier.js +60 -0
- package/dist/modules/queue/notifiers/calendar.notifier.js.map +1 -0
- package/dist/modules/queue/notifiers/contact.notifier.d.ts +7 -0
- package/dist/modules/queue/notifiers/contact.notifier.js +52 -0
- package/dist/modules/queue/notifiers/contact.notifier.js.map +1 -0
- package/dist/modules/queue/notifiers/index.d.ts +4 -0
- package/dist/modules/queue/notifiers/index.js +21 -0
- package/dist/modules/queue/notifiers/index.js.map +1 -0
- package/dist/modules/queue/notifiers/lead.notifier.d.ts +7 -0
- package/dist/modules/queue/notifiers/lead.notifier.js +52 -0
- package/dist/modules/queue/notifiers/lead.notifier.js.map +1 -0
- package/dist/modules/queue/notifiers/task.notifier.d.ts +15 -0
- package/dist/modules/queue/notifiers/task.notifier.js +159 -0
- package/dist/modules/queue/notifiers/task.notifier.js.map +1 -0
- package/dist/modules/queue/queue.module.d.ts +4 -0
- package/dist/modules/queue/queue.module.js +69 -0
- package/dist/modules/queue/queue.module.js.map +1 -0
- package/dist/modules/queue/queue.service.d.ts +9 -0
- package/dist/modules/queue/queue.service.js +56 -0
- package/dist/modules/queue/queue.service.js.map +1 -0
- package/dist/modules/queue/scheduler.service.d.ts +9 -0
- package/dist/modules/queue/scheduler.service.js +40 -0
- package/dist/modules/queue/scheduler.service.js.map +1 -0
- package/package.json +55 -55
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"course-assigned.entity.js","sourceRoot":"","sources":["../../../src/entities/capacitation/course-assigned.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA4D;AAC5D,mDAAyC;AACzC,gDAAsC;AACtC,mEAA+D;AAIxD,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,wBAAU;IAE5C,QAAQ,CAAS;IAGjB,cAAc,CAAiD;IAG/D,IAAI,CAAO;IAGX,MAAM,CAAS;CAChB,CAAA;AAZY,wCAAc;AAEzB;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;gDACvB;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACqB;AAG/D;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,eAAe,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BACtF,kBAAI;4CAAC;AAGX;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,sBAAM,EAAE,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,aAAa,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BACxF,sBAAM;8CAAC;yBAXJ,cAAc;IAF1B,IAAA,gBAAM,GAAE;IACR,IAAA,gBAAM,EAAC,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;GACd,cAAc,CAY1B"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { EntityBase } from '../../common/database/base.entity';
|
|
2
|
+
import { CourseEvaluation, EvaluationQuestion } from './course-evaluation.entity';
|
|
3
|
+
import { User } from '../user.entity';
|
|
4
|
+
export declare enum CourseEvaluationAttemptStatus {
|
|
5
|
+
inAttempt = "in-progress",
|
|
6
|
+
approved = "approved",
|
|
7
|
+
notPassed = "not-passed",
|
|
8
|
+
notStarted = "not-started"
|
|
9
|
+
}
|
|
10
|
+
export declare class CourseEvaluationAttempt extends EntityBase {
|
|
11
|
+
status: CourseEvaluationAttemptStatus;
|
|
12
|
+
attempt: number;
|
|
13
|
+
isStarted: boolean;
|
|
14
|
+
isFinished: boolean;
|
|
15
|
+
questionsAnswered: EvaluationQuestion[];
|
|
16
|
+
finishedAt?: Date;
|
|
17
|
+
startedAt?: Date;
|
|
18
|
+
qualification: number;
|
|
19
|
+
timeTaken?: number;
|
|
20
|
+
evaluation: CourseEvaluation;
|
|
21
|
+
tookBy: User;
|
|
22
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CourseEvaluationAttempt = exports.CourseEvaluationAttemptStatus = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
15
|
+
const base_entity_1 = require("../../common/database/base.entity");
|
|
16
|
+
const course_evaluation_entity_1 = require("./course-evaluation.entity");
|
|
17
|
+
const user_entity_1 = require("../user.entity");
|
|
18
|
+
var CourseEvaluationAttemptStatus;
|
|
19
|
+
(function (CourseEvaluationAttemptStatus) {
|
|
20
|
+
CourseEvaluationAttemptStatus["inAttempt"] = "in-progress";
|
|
21
|
+
CourseEvaluationAttemptStatus["approved"] = "approved";
|
|
22
|
+
CourseEvaluationAttemptStatus["notPassed"] = "not-passed";
|
|
23
|
+
CourseEvaluationAttemptStatus["notStarted"] = "not-started";
|
|
24
|
+
})(CourseEvaluationAttemptStatus || (exports.CourseEvaluationAttemptStatus = CourseEvaluationAttemptStatus = {}));
|
|
25
|
+
let CourseEvaluationAttempt = class CourseEvaluationAttempt extends base_entity_1.EntityBase {
|
|
26
|
+
status;
|
|
27
|
+
attempt;
|
|
28
|
+
isStarted;
|
|
29
|
+
isFinished;
|
|
30
|
+
questionsAnswered;
|
|
31
|
+
finishedAt;
|
|
32
|
+
startedAt;
|
|
33
|
+
qualification;
|
|
34
|
+
timeTaken;
|
|
35
|
+
evaluation;
|
|
36
|
+
tookBy;
|
|
37
|
+
};
|
|
38
|
+
exports.CourseEvaluationAttempt = CourseEvaluationAttempt;
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, typeorm_1.Column)({ type: 'enum', nullable: false, default: CourseEvaluationAttemptStatus.notStarted, enum: CourseEvaluationAttemptStatus }),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], CourseEvaluationAttempt.prototype, "status", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
45
|
+
__metadata("design:type", Number)
|
|
46
|
+
], CourseEvaluationAttempt.prototype, "attempt", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, typeorm_1.Column)({ default: false }),
|
|
49
|
+
__metadata("design:type", Boolean)
|
|
50
|
+
], CourseEvaluationAttempt.prototype, "isStarted", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, typeorm_1.Column)({ default: false }),
|
|
53
|
+
__metadata("design:type", Boolean)
|
|
54
|
+
], CourseEvaluationAttempt.prototype, "isFinished", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, typeorm_1.Column)({ type: 'jsonb', nullable: false, default: [] }),
|
|
57
|
+
__metadata("design:type", Array)
|
|
58
|
+
], CourseEvaluationAttempt.prototype, "questionsAnswered", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, typeorm_1.Column)({ type: 'timestamp', nullable: true }),
|
|
61
|
+
__metadata("design:type", Date)
|
|
62
|
+
], CourseEvaluationAttempt.prototype, "finishedAt", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, typeorm_1.Column)({ type: 'timestamp', nullable: true }),
|
|
65
|
+
__metadata("design:type", Date)
|
|
66
|
+
], CourseEvaluationAttempt.prototype, "startedAt", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, typeorm_1.Column)({ type: 'numeric', nullable: false, scale: 2, default: 0 }),
|
|
69
|
+
__metadata("design:type", Number)
|
|
70
|
+
], CourseEvaluationAttempt.prototype, "qualification", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
(0, typeorm_1.Column)({ type: 'numeric', nullable: true, default: 60, scale: 2 }),
|
|
73
|
+
__metadata("design:type", Number)
|
|
74
|
+
], CourseEvaluationAttempt.prototype, "timeTaken", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
(0, swagger_1.ApiProperty)({
|
|
77
|
+
type: () => course_evaluation_entity_1.CourseEvaluation,
|
|
78
|
+
description: 'Evaluation progress parent entity',
|
|
79
|
+
required: false,
|
|
80
|
+
}),
|
|
81
|
+
(0, typeorm_1.ManyToOne)(() => course_evaluation_entity_1.CourseEvaluation, courseEvaluation => courseEvaluation.evaluationAttempts, { cascade: true, onDelete: 'SET NULL', nullable: true }),
|
|
82
|
+
__metadata("design:type", course_evaluation_entity_1.CourseEvaluation)
|
|
83
|
+
], CourseEvaluationAttempt.prototype, "evaluation", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, swagger_1.ApiProperty)({
|
|
86
|
+
type: () => user_entity_1.User,
|
|
87
|
+
description: 'User who takes the evaluation',
|
|
88
|
+
required: false,
|
|
89
|
+
}),
|
|
90
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User),
|
|
91
|
+
__metadata("design:type", user_entity_1.User)
|
|
92
|
+
], CourseEvaluationAttempt.prototype, "tookBy", void 0);
|
|
93
|
+
exports.CourseEvaluationAttempt = CourseEvaluationAttempt = __decorate([
|
|
94
|
+
(0, typeorm_1.Entity)()
|
|
95
|
+
], CourseEvaluationAttempt);
|
|
96
|
+
//# sourceMappingURL=course-evaluation-attempt.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"course-evaluation-attempt.entity.js","sourceRoot":"","sources":["../../../src/entities/capacitation/course-evaluation-attempt.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAoD;AACpD,6CAA8C;AAE9C,mEAA+D;AAC/D,yEAAkF;AAClF,gDAAsC;AAEtC,IAAY,6BAKX;AALD,WAAY,6BAA6B;IACvC,0DAAyB,CAAA;IACzB,sDAAqB,CAAA;IACrB,yDAAwB,CAAA;IACxB,2DAA0B,CAAA;AAC5B,CAAC,EALW,6BAA6B,6CAA7B,6BAA6B,QAKxC;AAGM,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,wBAAU;IAErD,MAAM,CAAgC;IAGtC,OAAO,CAAS;IAGhB,SAAS,CAAU;IAGnB,UAAU,CAAU;IAGpB,iBAAiB,CAAuB;IAGxC,UAAU,CAAQ;IAGlB,SAAS,CAAQ;IAGjB,aAAa,CAAS;IAGtB,SAAS,CAAU;IAQnB,UAAU,CAAmB;IAQ7B,MAAM,CAAO;CACd,CAAA;AA3CY,0DAAuB;AAElC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,6BAA6B,CAAC,UAAU,EAAE,IAAI,EAAE,6BAA6B,EAAE,CAAC;;uDAC5F;AAGtC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;wDACzB;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;0DACR;AAGnB;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;2DACP;AAGpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;;kEAChB;AAGxC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACjC,IAAI;2DAAC;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BAClC,IAAI;0DAAC;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;8DAC7C;AAGtB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC;;0DAChD;AAQnB;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,GAAG,EAAE,CAAC,2CAAgB;QAC5B,WAAW,EAAE,mCAAmC;QAChD,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,2CAAgB,EAAE,gBAAgB,CAAC,EAAE,CAAC,gBAAgB,CAAC,kBAAkB,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACxI,2CAAgB;2DAAC;AAQ7B;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAI;QAChB,WAAW,EAAE,+BAA+B;QAC5C,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,CAAC;8BACd,kBAAI;uDAAC;kCA1CF,uBAAuB;IADnC,IAAA,gBAAM,GAAE;GACI,uBAAuB,CA2CnC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EntityBase } from '../../common/database/base.entity';
|
|
2
|
+
import { User } from '../user.entity';
|
|
3
|
+
import { Course } from './course.entity';
|
|
4
|
+
import { CourseFolderPage } from './course-folder-page.entity';
|
|
5
|
+
import { CourseEvaluationAttempt } from './course-evaluation-attempt.entity';
|
|
6
|
+
export declare enum QuestionType {
|
|
7
|
+
text = "text",
|
|
8
|
+
multipleChoice = "multiple-choice",
|
|
9
|
+
trueOrFalse = "true-false",
|
|
10
|
+
selection = "selection",
|
|
11
|
+
checkList = "check-list",
|
|
12
|
+
imageSection = "image-section",
|
|
13
|
+
videoSection = "video-section"
|
|
14
|
+
}
|
|
15
|
+
export type EvaluationQuestionAnswer = {
|
|
16
|
+
answeredAt: Date;
|
|
17
|
+
isSelected?: boolean;
|
|
18
|
+
value?: string | boolean | undefined | null;
|
|
19
|
+
};
|
|
20
|
+
export type EvaluationQuestion = {
|
|
21
|
+
id: string;
|
|
22
|
+
title: string;
|
|
23
|
+
description?: string;
|
|
24
|
+
body: any[];
|
|
25
|
+
type: QuestionType;
|
|
26
|
+
required: boolean;
|
|
27
|
+
isAnswered: boolean;
|
|
28
|
+
answer: any[];
|
|
29
|
+
isCorrect: boolean;
|
|
30
|
+
};
|
|
31
|
+
export declare class CourseEvaluation extends EntityBase {
|
|
32
|
+
name: string;
|
|
33
|
+
description?: string;
|
|
34
|
+
coverPhotoSrc?: string;
|
|
35
|
+
isFinal: boolean;
|
|
36
|
+
questions: EvaluationQuestion[];
|
|
37
|
+
totalAttempts: number;
|
|
38
|
+
evaluationAttempts: CourseEvaluationAttempt[];
|
|
39
|
+
page?: CourseFolderPage;
|
|
40
|
+
course: Course;
|
|
41
|
+
createdBy: User;
|
|
42
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CourseEvaluation = exports.QuestionType = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
15
|
+
const base_entity_1 = require("../../common/database/base.entity");
|
|
16
|
+
const user_entity_1 = require("../user.entity");
|
|
17
|
+
const course_entity_1 = require("./course.entity");
|
|
18
|
+
const course_folder_page_entity_1 = require("./course-folder-page.entity");
|
|
19
|
+
const course_evaluation_attempt_entity_1 = require("./course-evaluation-attempt.entity");
|
|
20
|
+
var QuestionType;
|
|
21
|
+
(function (QuestionType) {
|
|
22
|
+
QuestionType["text"] = "text";
|
|
23
|
+
QuestionType["multipleChoice"] = "multiple-choice";
|
|
24
|
+
QuestionType["trueOrFalse"] = "true-false";
|
|
25
|
+
QuestionType["selection"] = "selection";
|
|
26
|
+
QuestionType["checkList"] = "check-list";
|
|
27
|
+
QuestionType["imageSection"] = "image-section";
|
|
28
|
+
QuestionType["videoSection"] = "video-section";
|
|
29
|
+
})(QuestionType || (exports.QuestionType = QuestionType = {}));
|
|
30
|
+
let CourseEvaluation = class CourseEvaluation extends base_entity_1.EntityBase {
|
|
31
|
+
name;
|
|
32
|
+
description;
|
|
33
|
+
coverPhotoSrc;
|
|
34
|
+
isFinal;
|
|
35
|
+
questions;
|
|
36
|
+
totalAttempts;
|
|
37
|
+
evaluationAttempts;
|
|
38
|
+
page;
|
|
39
|
+
course;
|
|
40
|
+
createdBy;
|
|
41
|
+
};
|
|
42
|
+
exports.CourseEvaluation = CourseEvaluation;
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, swagger_1.ApiProperty)({
|
|
45
|
+
type: String,
|
|
46
|
+
description: 'Evaluation name',
|
|
47
|
+
required: true,
|
|
48
|
+
}),
|
|
49
|
+
(0, typeorm_1.Column)({ length: 150, nullable: false }),
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], CourseEvaluation.prototype, "name", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, swagger_1.ApiProperty)({
|
|
54
|
+
type: String,
|
|
55
|
+
description: 'Evaluation description',
|
|
56
|
+
required: false,
|
|
57
|
+
}),
|
|
58
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
59
|
+
__metadata("design:type", String)
|
|
60
|
+
], CourseEvaluation.prototype, "description", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'Cover photo URL', nullable: true }),
|
|
63
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
64
|
+
__metadata("design:type", String)
|
|
65
|
+
], CourseEvaluation.prototype, "coverPhotoSrc", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, typeorm_1.Column)({ default: false }),
|
|
68
|
+
__metadata("design:type", Boolean)
|
|
69
|
+
], CourseEvaluation.prototype, "isFinal", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, typeorm_1.Column)({ type: 'jsonb', nullable: false, default: [] }),
|
|
72
|
+
__metadata("design:type", Array)
|
|
73
|
+
], CourseEvaluation.prototype, "questions", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false, default: 3 }),
|
|
76
|
+
__metadata("design:type", Number)
|
|
77
|
+
], CourseEvaluation.prototype, "totalAttempts", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, swagger_1.ApiProperty)({
|
|
80
|
+
type: () => CourseEvaluation,
|
|
81
|
+
description: 'Evaluation attempts',
|
|
82
|
+
required: false,
|
|
83
|
+
}),
|
|
84
|
+
(0, typeorm_1.ManyToOne)(() => course_evaluation_attempt_entity_1.CourseEvaluationAttempt, courseEvaluationAttempt => courseEvaluationAttempt.evaluation),
|
|
85
|
+
__metadata("design:type", Array)
|
|
86
|
+
], CourseEvaluation.prototype, "evaluationAttempts", void 0);
|
|
87
|
+
__decorate([
|
|
88
|
+
(0, swagger_1.ApiProperty)({ type: () => course_folder_page_entity_1.CourseFolderPage, description: "Page's evaluation", required: false }),
|
|
89
|
+
(0, typeorm_1.ManyToOne)(() => course_folder_page_entity_1.CourseFolderPage, page => page.evaluations, {
|
|
90
|
+
nullable: true,
|
|
91
|
+
}),
|
|
92
|
+
__metadata("design:type", course_folder_page_entity_1.CourseFolderPage)
|
|
93
|
+
], CourseEvaluation.prototype, "page", void 0);
|
|
94
|
+
__decorate([
|
|
95
|
+
(0, swagger_1.ApiProperty)({ type: () => course_entity_1.Course, description: "Course's evaluations", required: false }),
|
|
96
|
+
(0, typeorm_1.ManyToOne)(() => course_entity_1.Course, course => course.evaluations, { cascade: true, onDelete: 'CASCADE' }),
|
|
97
|
+
__metadata("design:type", course_entity_1.Course)
|
|
98
|
+
], CourseEvaluation.prototype, "course", void 0);
|
|
99
|
+
__decorate([
|
|
100
|
+
(0, swagger_1.ApiProperty)({
|
|
101
|
+
type: () => user_entity_1.User,
|
|
102
|
+
description: 'User who creates the evaluation',
|
|
103
|
+
required: false,
|
|
104
|
+
}),
|
|
105
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User),
|
|
106
|
+
__metadata("design:type", user_entity_1.User)
|
|
107
|
+
], CourseEvaluation.prototype, "createdBy", void 0);
|
|
108
|
+
exports.CourseEvaluation = CourseEvaluation = __decorate([
|
|
109
|
+
(0, typeorm_1.Entity)()
|
|
110
|
+
], CourseEvaluation);
|
|
111
|
+
//# sourceMappingURL=course-evaluation.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"course-evaluation.entity.js","sourceRoot":"","sources":["../../../src/entities/capacitation/course-evaluation.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAoD;AACpD,6CAA8C;AAE9C,mEAA+D;AAC/D,gDAAsC;AAEtC,mDAAyC;AACzC,2EAA+D;AAC/D,yFAA6E;AAE7E,IAAY,YAQX;AARD,WAAY,YAAY;IACtB,6BAAa,CAAA;IACb,kDAAkC,CAAA;IAClC,0CAA0B,CAAA;IAC1B,uCAAuB,CAAA;IACvB,wCAAwB,CAAA;IACxB,8CAA8B,CAAA;IAC9B,8CAA8B,CAAA;AAChC,CAAC,EARW,YAAY,4BAAZ,YAAY,QAQvB;AAqBM,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,wBAAU;IAO9C,IAAI,CAAS;IAQb,WAAW,CAAU;IAIrB,aAAa,CAAU;IAGvB,OAAO,CAAU;IAGjB,SAAS,CAAuB;IAGhC,aAAa,CAAS;IAQtB,kBAAkB,CAA4B;IAM9C,IAAI,CAAoB;IAIxB,MAAM,CAAS;IAQf,SAAS,CAAO;CACjB,CAAA;AAvDY,4CAAgB;AAO3B;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,iBAAiB;QAC9B,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;8CAC5B;AAQb;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,wBAAwB;QACrC,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACpB;AAIrB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,iBAAiB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7E,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDAClB;AAGvB;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;iDACV;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;;mDACxB;AAGhC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;uDAC/B;AAQtB;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,GAAG,EAAE,CAAC,gBAAgB;QAC5B,WAAW,EAAE,qBAAqB;QAClC,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,0DAAuB,EAAE,uBAAuB,CAAC,EAAE,CAAC,uBAAuB,CAAC,UAAU,CAAC;;4DAC1D;AAM9C;IAJC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,4CAAgB,EAAE,WAAW,EAAE,mBAAmB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAChG,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,4CAAgB,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,WAAW,EAAE;QAC3D,QAAQ,EAAE,IAAI;KACf,CAAC;8BACK,4CAAgB;8CAAC;AAIxB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,sBAAM,EAAE,WAAW,EAAE,sBAAsB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACzF,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,sBAAM,EAAE,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,WAAW,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BACtF,sBAAM;gDAAC;AAQf;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAI;QAChB,WAAW,EAAE,iCAAiC;QAC9C,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,CAAC;8BACX,kBAAI;mDAAC;2BAtDL,gBAAgB;IAD5B,IAAA,gBAAM,GAAE;GACI,gBAAgB,CAuD5B"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { LMSFileUploaded } from '../../common/@types/interfaces/lsm.interface';
|
|
2
|
+
import { EntityBase } from '../../common/database/base.entity';
|
|
3
|
+
import { CourseFolder } from './course-folder.entity';
|
|
4
|
+
import { CourseEvaluation } from './course-evaluation.entity';
|
|
5
|
+
export declare class CourseFolderPage extends EntityBase {
|
|
6
|
+
name: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
isCompleted: boolean;
|
|
9
|
+
isPublished: boolean;
|
|
10
|
+
order: number;
|
|
11
|
+
files?: LMSFileUploaded[];
|
|
12
|
+
folder: CourseFolder;
|
|
13
|
+
evaluations: CourseEvaluation[];
|
|
14
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CourseFolderPage = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
15
|
+
const base_entity_1 = require("../../common/database/base.entity");
|
|
16
|
+
const course_folder_entity_1 = require("./course-folder.entity");
|
|
17
|
+
const course_evaluation_entity_1 = require("./course-evaluation.entity");
|
|
18
|
+
let CourseFolderPage = class CourseFolderPage extends base_entity_1.EntityBase {
|
|
19
|
+
name;
|
|
20
|
+
description;
|
|
21
|
+
isCompleted;
|
|
22
|
+
isPublished;
|
|
23
|
+
order;
|
|
24
|
+
files;
|
|
25
|
+
folder;
|
|
26
|
+
evaluations;
|
|
27
|
+
};
|
|
28
|
+
exports.CourseFolderPage = CourseFolderPage;
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'Folder page name' }),
|
|
31
|
+
(0, typeorm_1.Column)(),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], CourseFolderPage.prototype, "name", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'Folder page description', nullable: true }),
|
|
36
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], CourseFolderPage.prototype, "description", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, typeorm_1.Column)({ default: false }),
|
|
41
|
+
__metadata("design:type", Boolean)
|
|
42
|
+
], CourseFolderPage.prototype, "isCompleted", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, typeorm_1.Column)({ default: false }),
|
|
45
|
+
__metadata("design:type", Boolean)
|
|
46
|
+
], CourseFolderPage.prototype, "isPublished", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, swagger_1.ApiProperty)({
|
|
49
|
+
type: String,
|
|
50
|
+
description: 'Course folder page order',
|
|
51
|
+
required: false,
|
|
52
|
+
}),
|
|
53
|
+
(0, typeorm_1.Column)({ type: 'int', generated: 'increment' }),
|
|
54
|
+
__metadata("design:type", Number)
|
|
55
|
+
], CourseFolderPage.prototype, "order", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, swagger_1.ApiProperty)({ isArray: true, type: String, description: 'Files uploaded to the content' }),
|
|
58
|
+
(0, typeorm_1.Column)({ type: 'jsonb', nullable: true, default: [] }),
|
|
59
|
+
__metadata("design:type", Array)
|
|
60
|
+
], CourseFolderPage.prototype, "files", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, swagger_1.ApiProperty)({ type: () => course_folder_entity_1.CourseFolder, description: 'Folder owner of the page', required: false }),
|
|
63
|
+
(0, typeorm_1.ManyToOne)(() => course_folder_entity_1.CourseFolder, folder => folder.pages, { cascade: true, onDelete: 'CASCADE' }),
|
|
64
|
+
__metadata("design:type", course_folder_entity_1.CourseFolder)
|
|
65
|
+
], CourseFolderPage.prototype, "folder", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, swagger_1.ApiProperty)({ type: () => course_evaluation_entity_1.CourseEvaluation, description: 'Evaluation of the page', required: false }),
|
|
68
|
+
(0, typeorm_1.OneToMany)(() => course_evaluation_entity_1.CourseEvaluation, evaluation => evaluation.page, { nullable: true, cascade: true, onDelete: 'SET NULL' }),
|
|
69
|
+
__metadata("design:type", Array)
|
|
70
|
+
], CourseFolderPage.prototype, "evaluations", void 0);
|
|
71
|
+
exports.CourseFolderPage = CourseFolderPage = __decorate([
|
|
72
|
+
(0, typeorm_1.Entity)()
|
|
73
|
+
], CourseFolderPage);
|
|
74
|
+
//# sourceMappingURL=course-folder-page.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"course-folder-page.entity.js","sourceRoot":"","sources":["../../../src/entities/capacitation/course-folder-page.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA+D;AAC/D,6CAA8C;AAI9C,mEAA+D;AAC/D,iEAAsD;AACtD,yEAA8D;AAGvD,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,wBAAU;IAG9C,IAAI,CAAS;IAIb,WAAW,CAAU;IAGrB,WAAW,CAAU;IAGrB,WAAW,CAAU;IAQrB,KAAK,CAAS;IAId,KAAK,CAAqB;IAI1B,MAAM,CAAe;IAIrB,WAAW,CAAqB;CACjC,CAAA;AAlCY,4CAAgB;AAG3B;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,kBAAkB,EAAE,CAAC;IAC9D,IAAA,gBAAM,GAAE;;8CACI;AAIb;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,yBAAyB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACrF,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACN;AAGrB;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;qDACN;AAGrB;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;qDACN;AAQrB;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,0BAA0B;QACvC,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC;;+CAClC;AAId;IAFC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,+BAA+B,EAAE,CAAC;IAC1F,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;;+CAC7B;AAI1B;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,mCAAY,EAAE,WAAW,EAAE,0BAA0B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACnG,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,mCAAY,EAAE,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BACtF,mCAAY;gDAAC;AAIrB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,2CAAgB,EAAE,WAAW,EAAE,wBAAwB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACrG,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,2CAAgB,EAAE,UAAU,CAAC,EAAE,CAAC,UAAU,CAAC,IAAI,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC;;qDAC1F;2BAjCrB,gBAAgB;IAD5B,IAAA,gBAAM,GAAE;GACI,gBAAgB,CAkC5B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { EntityBase } from '../../common/database/base.entity';
|
|
2
|
+
import { Course } from './course.entity';
|
|
3
|
+
import { CourseFolderPage } from './course-folder-page.entity';
|
|
4
|
+
export declare class CourseFolder extends EntityBase {
|
|
5
|
+
name: string;
|
|
6
|
+
isPublished: boolean;
|
|
7
|
+
order: number;
|
|
8
|
+
course: Course;
|
|
9
|
+
pages: CourseFolderPage[];
|
|
10
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CourseFolder = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
15
|
+
const base_entity_1 = require("../../common/database/base.entity");
|
|
16
|
+
const course_entity_1 = require("./course.entity");
|
|
17
|
+
const course_folder_page_entity_1 = require("./course-folder-page.entity");
|
|
18
|
+
let CourseFolder = class CourseFolder extends base_entity_1.EntityBase {
|
|
19
|
+
name;
|
|
20
|
+
isPublished;
|
|
21
|
+
order;
|
|
22
|
+
course;
|
|
23
|
+
pages;
|
|
24
|
+
};
|
|
25
|
+
exports.CourseFolder = CourseFolder;
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'Folder name' }),
|
|
28
|
+
(0, typeorm_1.Column)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], CourseFolder.prototype, "name", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.Column)({ default: false }),
|
|
33
|
+
__metadata("design:type", Boolean)
|
|
34
|
+
], CourseFolder.prototype, "isPublished", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, swagger_1.ApiProperty)({
|
|
37
|
+
type: String,
|
|
38
|
+
description: 'Course folder order',
|
|
39
|
+
required: false,
|
|
40
|
+
}),
|
|
41
|
+
(0, typeorm_1.Column)({ type: 'int', generated: 'increment' }),
|
|
42
|
+
__metadata("design:type", Number)
|
|
43
|
+
], CourseFolder.prototype, "order", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, swagger_1.ApiProperty)({ type: () => course_entity_1.Course, description: 'Course owner of the folder', required: false }),
|
|
46
|
+
(0, typeorm_1.ManyToOne)(() => course_entity_1.Course, course => course.folders, { cascade: true, onDelete: 'CASCADE' }),
|
|
47
|
+
__metadata("design:type", course_entity_1.Course)
|
|
48
|
+
], CourseFolder.prototype, "course", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, swagger_1.ApiProperty)({ type: () => course_folder_page_entity_1.CourseFolderPage, description: 'Folder owner of the pages', required: false }),
|
|
51
|
+
(0, typeorm_1.OneToMany)(() => course_folder_page_entity_1.CourseFolderPage, courseFolderPage => courseFolderPage.folder),
|
|
52
|
+
__metadata("design:type", Array)
|
|
53
|
+
], CourseFolder.prototype, "pages", void 0);
|
|
54
|
+
exports.CourseFolder = CourseFolder = __decorate([
|
|
55
|
+
(0, typeorm_1.Entity)()
|
|
56
|
+
], CourseFolder);
|
|
57
|
+
//# sourceMappingURL=course-folder.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"course-folder.entity.js","sourceRoot":"","sources":["../../../src/entities/capacitation/course-folder.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA+D;AAC/D,6CAA8C;AAE9C,mEAA+D;AAC/D,mDAAyC;AACzC,2EAA+D;AAGxD,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,wBAAU;IAG1C,IAAI,CAAS;IAGb,WAAW,CAAU;IAQrB,KAAK,CAAS;IAId,MAAM,CAAS;IAIf,KAAK,CAAqB;CAC3B,CAAA;AAvBY,oCAAY;AAGvB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,aAAa,EAAE,CAAC;IACzD,IAAA,gBAAM,GAAE;;0CACI;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;iDACN;AAQrB;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,qBAAqB;QAClC,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC;;2CAClC;AAId;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,sBAAM,EAAE,WAAW,EAAE,4BAA4B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC/F,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,sBAAM,EAAE,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BAClF,sBAAM;4CAAC;AAIf;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,4CAAgB,EAAE,WAAW,EAAE,2BAA2B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACxG,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,4CAAgB,EAAE,gBAAgB,CAAC,EAAE,CAAC,gBAAgB,CAAC,MAAM,CAAC;;2CACrD;uBAtBf,YAAY;IADxB,IAAA,gBAAM,GAAE;GACI,YAAY,CAuBxB"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CourseOrder = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const course_entity_1 = require("./course.entity");
|
|
15
|
+
const group_entity_1 = require("../group.entity");
|
|
16
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
17
|
+
const base_entity_1 = require("../../common/database/base.entity");
|
|
18
|
+
let CourseOrder = class CourseOrder extends base_entity_1.EntityBase {
|
|
19
|
+
group;
|
|
20
|
+
course;
|
|
21
|
+
order;
|
|
22
|
+
};
|
|
23
|
+
exports.CourseOrder = CourseOrder;
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.ManyToOne)(() => group_entity_1.Group),
|
|
26
|
+
__metadata("design:type", group_entity_1.Group)
|
|
27
|
+
], CourseOrder.prototype, "group", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.ManyToOne)(() => course_entity_1.Course, course => course.orders, { cascade: true, onDelete: 'CASCADE' }),
|
|
30
|
+
__metadata("design:type", course_entity_1.Course)
|
|
31
|
+
], CourseOrder.prototype, "course", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, swagger_1.ApiProperty)({
|
|
34
|
+
type: String,
|
|
35
|
+
description: 'Course order',
|
|
36
|
+
required: true,
|
|
37
|
+
}),
|
|
38
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], CourseOrder.prototype, "order", void 0);
|
|
41
|
+
exports.CourseOrder = CourseOrder = __decorate([
|
|
42
|
+
(0, typeorm_1.Entity)(),
|
|
43
|
+
(0, typeorm_1.Unique)(['group', 'course'])
|
|
44
|
+
], CourseOrder);
|
|
45
|
+
//# sourceMappingURL=course-order.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"course-order.entity.js","sourceRoot":"","sources":["../../../src/entities/capacitation/course-order.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA4D;AAC5D,mDAAyC;AACzC,kDAAwC;AACxC,6CAA8C;AAC9C,mEAA+D;AAIxD,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,wBAAU;IAEzC,KAAK,CAAQ;IAGb,MAAM,CAAS;IAQf,KAAK,CAAS;CACf,CAAA;AAdY,kCAAW;AAEtB;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oBAAK,CAAC;8BAChB,oBAAK;0CAAC;AAGb;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,sBAAM,EAAE,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,MAAM,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BACjF,sBAAM;2CAAC;AAQf;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,cAAc;QAC3B,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;0CAC3B;sBAbH,WAAW;IAFvB,IAAA,gBAAM,GAAE;IACR,IAAA,gBAAM,EAAC,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;GACf,WAAW,CAcvB"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { EntityBase } from '../../common/database/base.entity';
|
|
2
|
+
import { CourseFolder } from './course-folder.entity';
|
|
3
|
+
import { CourseAssigned } from './course-assigned.entity';
|
|
4
|
+
import { User } from '../user.entity';
|
|
5
|
+
import { Group } from '../group.entity';
|
|
6
|
+
import { CourseOrder } from './course-order.entity';
|
|
7
|
+
import { CourseEvaluation } from './course-evaluation.entity';
|
|
8
|
+
export declare class Course extends EntityBase {
|
|
9
|
+
name: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
openToAll: boolean;
|
|
12
|
+
private: boolean;
|
|
13
|
+
coverPhotoSrc?: string;
|
|
14
|
+
isPublished: boolean;
|
|
15
|
+
isDefault: boolean;
|
|
16
|
+
createdBy: User;
|
|
17
|
+
groups: Group[];
|
|
18
|
+
folders: CourseFolder[];
|
|
19
|
+
assignedUsers: CourseAssigned[];
|
|
20
|
+
orders: CourseOrder[];
|
|
21
|
+
evaluations: CourseEvaluation[];
|
|
22
|
+
}
|