easywork-common-lib 1.0.755 → 1.0.756
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/package.json +1 -1
- package/dist/common/@types/enums/crm.enum.d.ts +0 -8
- package/dist/common/@types/enums/crm.enum.js +0 -14
- package/dist/common/@types/enums/crm.enum.js.map +0 -1
- package/dist/common/@types/enums/index.d.ts +0 -3
- package/dist/common/@types/enums/index.js +0 -20
- package/dist/common/@types/enums/index.js.map +0 -1
- package/dist/common/@types/enums/misc.enum.d.ts +0 -60
- package/dist/common/@types/enums/misc.enum.js +0 -81
- package/dist/common/@types/enums/misc.enum.js.map +0 -1
- package/dist/common/@types/enums/permission.enum.d.ts +0 -13
- package/dist/common/@types/enums/permission.enum.js +0 -19
- package/dist/common/@types/enums/permission.enum.js.map +0 -1
- package/dist/common/@types/index.d.ts +0 -2
- package/dist/common/@types/index.js +0 -19
- package/dist/common/@types/index.js.map +0 -1
- package/dist/common/@types/interfaces/authentication.interface.d.ts +0 -17
- package/dist/common/@types/interfaces/authentication.interface.js +0 -3
- package/dist/common/@types/interfaces/authentication.interface.js.map +0 -1
- package/dist/common/@types/interfaces/crm.interface.d.ts +0 -131
- package/dist/common/@types/interfaces/crm.interface.js +0 -3
- package/dist/common/@types/interfaces/crm.interface.js.map +0 -1
- package/dist/common/@types/interfaces/file.interface.d.ts +0 -14
- package/dist/common/@types/interfaces/file.interface.js +0 -3
- package/dist/common/@types/interfaces/file.interface.js.map +0 -1
- package/dist/common/@types/interfaces/index.d.ts +0 -6
- package/dist/common/@types/interfaces/index.js +0 -23
- package/dist/common/@types/interfaces/index.js.map +0 -1
- package/dist/common/@types/interfaces/lsm.interface.d.ts +0 -5
- package/dist/common/@types/interfaces/lsm.interface.js +0 -3
- package/dist/common/@types/interfaces/lsm.interface.js.map +0 -1
- package/dist/common/@types/interfaces/mail.interface.d.ts +0 -9
- package/dist/common/@types/interfaces/mail.interface.js +0 -3
- package/dist/common/@types/interfaces/mail.interface.js.map +0 -1
- package/dist/common/@types/interfaces/validator.interface.d.ts +0 -41
- package/dist/common/@types/interfaces/validator.interface.js +0 -3
- package/dist/common/@types/interfaces/validator.interface.js.map +0 -1
- package/dist/common/constants/app.contants.d.ts +0 -48
- package/dist/common/constants/app.contants.js +0 -219
- package/dist/common/constants/app.contants.js.map +0 -1
- package/dist/common/constants/index.d.ts +0 -3
- package/dist/common/constants/index.js +0 -20
- package/dist/common/constants/index.js.map +0 -1
- package/dist/common/constants/regex.constant.d.ts +0 -6
- package/dist/common/constants/regex.constant.js +0 -10
- package/dist/common/constants/regex.constant.js.map +0 -1
- package/dist/common/constants/string.constant.d.ts +0 -5
- package/dist/common/constants/string.constant.js +0 -41
- package/dist/common/constants/string.constant.js.map +0 -1
- package/dist/common/database/base.entity.d.ts +0 -15
- package/dist/common/database/base.entity.js +0 -76
- package/dist/common/database/base.entity.js.map +0 -1
- package/dist/common/database/comment.base.entity.d.ts +0 -11
- package/dist/common/database/comment.base.entity.js +0 -83
- package/dist/common/database/comment.base.entity.js.map +0 -1
- package/dist/common/database/index.d.ts +0 -2
- package/dist/common/database/index.js +0 -19
- package/dist/common/database/index.js.map +0 -1
- package/dist/common/dtos/index.d.ts +0 -1
- package/dist/common/dtos/index.js +0 -18
- package/dist/common/dtos/index.js.map +0 -1
- package/dist/common/dtos/send-notification.dto.d.ts +0 -11
- package/dist/common/dtos/send-notification.dto.js +0 -60
- package/dist/common/dtos/send-notification.dto.js.map +0 -1
- package/dist/common/enums/common.enum.d.ts +0 -18
- package/dist/common/enums/common.enum.js +0 -25
- package/dist/common/enums/common.enum.js.map +0 -1
- package/dist/common/enums/drive.enum.d.ts +0 -26
- package/dist/common/enums/drive.enum.js +0 -32
- package/dist/common/enums/drive.enum.js.map +0 -1
- package/dist/common/enums/index.d.ts +0 -5
- package/dist/common/enums/index.js +0 -22
- package/dist/common/enums/index.js.map +0 -1
- package/dist/common/enums/notification.enum.d.ts +0 -42
- package/dist/common/enums/notification.enum.js +0 -49
- package/dist/common/enums/notification.enum.js.map +0 -1
- package/dist/common/enums/sales.enum.d.ts +0 -107
- package/dist/common/enums/sales.enum.js +0 -129
- package/dist/common/enums/sales.enum.js.map +0 -1
- package/dist/common/enums/tools.enum.d.ts +0 -54
- package/dist/common/enums/tools.enum.js +0 -65
- package/dist/common/enums/tools.enum.js.map +0 -1
- package/dist/common/functions/cripto.d.ts +0 -1
- package/dist/common/functions/cripto.js +0 -8
- package/dist/common/functions/cripto.js.map +0 -1
- package/dist/common/functions/image.d.ts +0 -3
- package/dist/common/functions/image.js +0 -16
- package/dist/common/functions/image.js.map +0 -1
- package/dist/common/functions/index.d.ts +0 -2
- package/dist/common/functions/index.js +0 -19
- package/dist/common/functions/index.js.map +0 -1
- package/dist/common/helpers/app.utils.d.ts +0 -5
- package/dist/common/helpers/app.utils.js +0 -32
- package/dist/common/helpers/app.utils.js.map +0 -1
- package/dist/common/helpers/helpers.utils.d.ts +0 -5
- package/dist/common/helpers/helpers.utils.js +0 -26
- package/dist/common/helpers/helpers.utils.js.map +0 -1
- package/dist/common/helpers/index.d.ts +0 -2
- package/dist/common/helpers/index.js +0 -19
- package/dist/common/helpers/index.js.map +0 -1
- package/dist/common/index.d.ts +0 -8
- package/dist/common/index.js +0 -25
- package/dist/common/index.js.map +0 -1
- package/dist/common/interceptors/index.d.ts +0 -1
- package/dist/common/interceptors/index.js +0 -18
- package/dist/common/interceptors/index.js.map +0 -1
- package/dist/common/interceptors/security.interceptor.d.ts +0 -5
- package/dist/common/interceptors/security.interceptor.js +0 -22
- package/dist/common/interceptors/security.interceptor.js.map +0 -1
- package/dist/entities/app_config/app-config.entity.d.ts +0 -5
- package/dist/entities/app_config/app-config.entity.js +0 -33
- package/dist/entities/app_config/app-config.entity.js.map +0 -1
- package/dist/entities/capacitation/capacitation.entity.d.ts +0 -10
- package/dist/entities/capacitation/capacitation.entity.js +0 -68
- package/dist/entities/capacitation/capacitation.entity.js.map +0 -1
- package/dist/entities/capacitation/course-assigned.entity.d.ts +0 -12
- package/dist/entities/capacitation/course-assigned.entity.js +0 -44
- package/dist/entities/capacitation/course-assigned.entity.js.map +0 -1
- package/dist/entities/capacitation/course-evaluation-attempt.entity.d.ts +0 -22
- package/dist/entities/capacitation/course-evaluation-attempt.entity.js +0 -96
- package/dist/entities/capacitation/course-evaluation-attempt.entity.js.map +0 -1
- package/dist/entities/capacitation/course-evaluation.entity.d.ts +0 -42
- package/dist/entities/capacitation/course-evaluation.entity.js +0 -111
- package/dist/entities/capacitation/course-evaluation.entity.js.map +0 -1
- package/dist/entities/capacitation/course-folder-page.entity.d.ts +0 -14
- package/dist/entities/capacitation/course-folder-page.entity.js +0 -74
- package/dist/entities/capacitation/course-folder-page.entity.js.map +0 -1
- package/dist/entities/capacitation/course-folder.entity.d.ts +0 -10
- package/dist/entities/capacitation/course-folder.entity.js +0 -57
- package/dist/entities/capacitation/course-folder.entity.js.map +0 -1
- package/dist/entities/capacitation/course-order.entity.d.ts +0 -8
- package/dist/entities/capacitation/course-order.entity.js +0 -45
- package/dist/entities/capacitation/course-order.entity.js.map +0 -1
- package/dist/entities/capacitation/course.entity.d.ts +0 -21
- package/dist/entities/capacitation/course.entity.js +0 -119
- package/dist/entities/capacitation/course.entity.js.map +0 -1
- package/dist/entities/capacitation/index.d.ts +0 -8
- package/dist/entities/capacitation/index.js +0 -21
- package/dist/entities/capacitation/index.js.map +0 -1
- package/dist/entities/currency.entity.d.ts +0 -6
- package/dist/entities/currency.entity.js +0 -43
- package/dist/entities/currency.entity.js.map +0 -1
- package/dist/entities/drive/attached_object.entity.d.ts +0 -27
- package/dist/entities/drive/attached_object.entity.js +0 -154
- package/dist/entities/drive/attached_object.entity.js.map +0 -1
- package/dist/entities/drive/file.entity.d.ts +0 -19
- package/dist/entities/drive/file.entity.js +0 -130
- package/dist/entities/drive/file.entity.js.map +0 -1
- package/dist/entities/drive/folder.entity.d.ts +0 -18
- package/dist/entities/drive/folder.entity.js +0 -137
- package/dist/entities/drive/folder.entity.js.map +0 -1
- package/dist/entities/drive/index.d.ts +0 -3
- package/dist/entities/drive/index.js +0 -20
- package/dist/entities/drive/index.js.map +0 -1
- package/dist/entities/easyapp/filter-view.entity.d.ts +0 -7
- package/dist/entities/easyapp/filter-view.entity.js +0 -41
- package/dist/entities/easyapp/filter-view.entity.js.map +0 -1
- package/dist/entities/email.entity.d.ts +0 -5
- package/dist/entities/email.entity.js +0 -36
- package/dist/entities/email.entity.js.map +0 -1
- package/dist/entities/group.entity.d.ts +0 -13
- package/dist/entities/group.entity.js +0 -57
- package/dist/entities/group.entity.js.map +0 -1
- package/dist/entities/helpers/entity_file.entity.d.ts +0 -10
- package/dist/entities/helpers/entity_file.entity.js +0 -61
- package/dist/entities/helpers/entity_file.entity.js.map +0 -1
- package/dist/entities/helpers/entity_folder.entity.d.ts +0 -10
- package/dist/entities/helpers/entity_folder.entity.js +0 -61
- package/dist/entities/helpers/entity_folder.entity.js.map +0 -1
- package/dist/entities/helpers/index.d.ts +0 -5
- package/dist/entities/helpers/index.js +0 -22
- package/dist/entities/helpers/index.js.map +0 -1
- package/dist/entities/helpers/meeting_crm.entity.d.ts +0 -23
- package/dist/entities/helpers/meeting_crm.entity.js +0 -166
- package/dist/entities/helpers/meeting_crm.entity.js.map +0 -1
- package/dist/entities/helpers/sales/agent/connection/h_agent_connection.entity.d.ts +0 -20
- package/dist/entities/helpers/sales/agent/connection/h_agent_connection.entity.js +0 -160
- package/dist/entities/helpers/sales/agent/connection/h_agent_connection.entity.js.map +0 -1
- package/dist/entities/helpers/sales/agent/connection/h_agent_connection_stage.entity.d.ts +0 -5
- package/dist/entities/helpers/sales/agent/connection/h_agent_connection_stage.entity.js +0 -43
- package/dist/entities/helpers/sales/agent/connection/h_agent_connection_stage.entity.js.map +0 -1
- package/dist/entities/helpers/sales/agent/h_agent_source.entity.d.ts +0 -4
- package/dist/entities/helpers/sales/agent/h_agent_source.entity.js +0 -34
- package/dist/entities/helpers/sales/agent/h_agent_source.entity.js.map +0 -1
- package/dist/entities/helpers/sales/agent/h_agent_types.entity.d.ts +0 -4
- package/dist/entities/helpers/sales/agent/h_agent_types.entity.js +0 -34
- package/dist/entities/helpers/sales/agent/h_agent_types.entity.js.map +0 -1
- package/dist/entities/helpers/sales/agent/index.d.ts +0 -6
- package/dist/entities/helpers/sales/agent/index.js +0 -23
- package/dist/entities/helpers/sales/agent/index.js.map +0 -1
- package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment.entity.d.ts +0 -15
- package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment.entity.js +0 -120
- package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment.entity.js.map +0 -1
- package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment_stage.entity.d.ts +0 -5
- package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment_stage.entity.js +0 -43
- package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment_stage.entity.js.map +0 -1
- package/dist/entities/helpers/sales/common/client_sources.entity.d.ts +0 -5
- package/dist/entities/helpers/sales/common/client_sources.entity.js +0 -36
- package/dist/entities/helpers/sales/common/client_sources.entity.js.map +0 -1
- package/dist/entities/helpers/sales/common/client_types.entity.d.ts +0 -5
- package/dist/entities/helpers/sales/common/client_types.entity.js +0 -36
- package/dist/entities/helpers/sales/common/client_types.entity.js.map +0 -1
- package/dist/entities/helpers/sales/contact/contact_email.entity.d.ts +0 -11
- package/dist/entities/helpers/sales/contact/contact_email.entity.js +0 -68
- package/dist/entities/helpers/sales/contact/contact_email.entity.js.map +0 -1
- package/dist/entities/helpers/sales/contact/contact_insurance.entity.d.ts +0 -11
- package/dist/entities/helpers/sales/contact/contact_insurance.entity.js +0 -92
- package/dist/entities/helpers/sales/contact/contact_insurance.entity.js.map +0 -1
- package/dist/entities/helpers/sales/contact/contact_phone.entity.d.ts +0 -11
- package/dist/entities/helpers/sales/contact/contact_phone.entity.js +0 -68
- package/dist/entities/helpers/sales/contact/contact_phone.entity.js.map +0 -1
- package/dist/entities/helpers/sales/contact/index.d.ts +0 -5
- package/dist/entities/helpers/sales/contact/index.js +0 -22
- package/dist/entities/helpers/sales/contact/index.js.map +0 -1
- package/dist/entities/helpers/sales/index.d.ts +0 -7
- package/dist/entities/helpers/sales/index.js +0 -24
- package/dist/entities/helpers/sales/index.js.map +0 -1
- package/dist/entities/helpers/sales/lead/h_lead_source.entity.d.ts +0 -4
- package/dist/entities/helpers/sales/lead/h_lead_source.entity.js +0 -30
- package/dist/entities/helpers/sales/lead/h_lead_source.entity.js.map +0 -1
- package/dist/entities/helpers/sales/lead/h_lead_stage.entity.d.ts +0 -5
- package/dist/entities/helpers/sales/lead/h_lead_stage.entity.js +0 -36
- package/dist/entities/helpers/sales/lead/h_lead_stage.entity.js.map +0 -1
- package/dist/entities/helpers/sales/lead/h_lead_types.entity.d.ts +0 -4
- package/dist/entities/helpers/sales/lead/h_lead_types.entity.js +0 -30
- package/dist/entities/helpers/sales/lead/h_lead_types.entity.js.map +0 -1
- package/dist/entities/helpers/sales/lead/index.d.ts +0 -6
- package/dist/entities/helpers/sales/lead/index.js +0 -23
- package/dist/entities/helpers/sales/lead/index.js.map +0 -1
- package/dist/entities/helpers/sales/lead/lead_cancel_reazon.entity.d.ts +0 -4
- package/dist/entities/helpers/sales/lead/lead_cancel_reazon.entity.js +0 -28
- package/dist/entities/helpers/sales/lead/lead_cancel_reazon.entity.js.map +0 -1
- package/dist/entities/helpers/sales/lead/lead_email.entity.d.ts +0 -11
- package/dist/entities/helpers/sales/lead/lead_email.entity.js +0 -66
- package/dist/entities/helpers/sales/lead/lead_email.entity.js.map +0 -1
- package/dist/entities/helpers/sales/lead/lead_phone.entity.d.ts +0 -11
- package/dist/entities/helpers/sales/lead/lead_phone.entity.js +0 -66
- package/dist/entities/helpers/sales/lead/lead_phone.entity.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/h_poliza_category.entity.d.ts +0 -5
- package/dist/entities/helpers/sales/poliza/h_poliza_category.entity.js +0 -30
- package/dist/entities/helpers/sales/poliza/h_poliza_category.entity.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/h_poliza_conducto_pago.entity.d.ts +0 -5
- package/dist/entities/helpers/sales/poliza/h_poliza_conducto_pago.entity.js +0 -33
- package/dist/entities/helpers/sales/poliza/h_poliza_conducto_pago.entity.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/h_poliza_forma_cobro.entity.d.ts +0 -6
- package/dist/entities/helpers/sales/poliza/h_poliza_forma_cobro.entity.js +0 -39
- package/dist/entities/helpers/sales/poliza/h_poliza_forma_cobro.entity.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/h_poliza_frecuencia_pago.entity.d.ts +0 -6
- package/dist/entities/helpers/sales/poliza/h_poliza_frecuencia_pago.entity.js +0 -39
- package/dist/entities/helpers/sales/poliza/h_poliza_frecuencia_pago.entity.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/h_poliza_insurance.entity.d.ts +0 -5
- package/dist/entities/helpers/sales/poliza/h_poliza_insurance.entity.js +0 -30
- package/dist/entities/helpers/sales/poliza/h_poliza_insurance.entity.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/h_poliza_stage.entity.d.ts +0 -5
- package/dist/entities/helpers/sales/poliza/h_poliza_stage.entity.js +0 -43
- package/dist/entities/helpers/sales/poliza/h_poliza_stage.entity.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/h_poliza_subramo.entity.d.ts +0 -6
- package/dist/entities/helpers/sales/poliza/h_poliza_subramo.entity.js +0 -36
- package/dist/entities/helpers/sales/poliza/h_poliza_subramo.entity.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/h_poliza_type.entity.d.ts +0 -5
- package/dist/entities/helpers/sales/poliza/h_poliza_type.entity.js +0 -33
- package/dist/entities/helpers/sales/poliza/h_poliza_type.entity.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/h_receipt_stage.entity.d.ts +0 -8
- package/dist/entities/helpers/sales/poliza/h_receipt_stage.entity.js +0 -53
- package/dist/entities/helpers/sales/poliza/h_receipt_stage.entity.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/index.d.ts +0 -11
- package/dist/entities/helpers/sales/poliza/index.js +0 -28
- package/dist/entities/helpers/sales/poliza/index.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/poliza_cancel_reason.entity.d.ts +0 -4
- package/dist/entities/helpers/sales/poliza/poliza_cancel_reason.entity.js +0 -28
- package/dist/entities/helpers/sales/poliza/poliza_cancel_reason.entity.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/poliza_insured.entity.d.ts +0 -11
- package/dist/entities/helpers/sales/poliza/poliza_insured.entity.js +0 -86
- package/dist/entities/helpers/sales/poliza/poliza_insured.entity.js.map +0 -1
- package/dist/entities/helpers/tools/event_crm.entity.d.ts +0 -23
- package/dist/entities/helpers/tools/event_crm.entity.js +0 -166
- package/dist/entities/helpers/tools/event_crm.entity.js.map +0 -1
- package/dist/entities/helpers/tools/index.d.ts +0 -2
- package/dist/entities/helpers/tools/index.js +0 -19
- package/dist/entities/helpers/tools/index.js.map +0 -1
- package/dist/entities/helpers/tools/task_crm.entity.d.ts +0 -27
- package/dist/entities/helpers/tools/task_crm.entity.js +0 -196
- package/dist/entities/helpers/tools/task_crm.entity.js.map +0 -1
- package/dist/entities/helpers/user/access_history.entity.d.ts +0 -9
- package/dist/entities/helpers/user/access_history.entity.js +0 -58
- package/dist/entities/helpers/user/access_history.entity.js.map +0 -1
- package/dist/entities/imap-config.entity.d.ts +0 -11
- package/dist/entities/imap-config.entity.js +0 -61
- package/dist/entities/imap-config.entity.js.map +0 -1
- package/dist/entities/index.d.ts +0 -31
- package/dist/entities/index.js +0 -48
- package/dist/entities/index.js.map +0 -1
- package/dist/entities/meeting-comment.entity.d.ts +0 -8
- package/dist/entities/meeting-comment.entity.js +0 -46
- package/dist/entities/meeting-comment.entity.js.map +0 -1
- package/dist/entities/meeting-list-field.d.ts +0 -5
- package/dist/entities/meeting-list-field.js +0 -46
- package/dist/entities/meeting-list-field.js.map +0 -1
- package/dist/entities/meeting.entity.d.ts +0 -24
- package/dist/entities/meeting.entity.js +0 -187
- package/dist/entities/meeting.entity.js.map +0 -1
- package/dist/entities/menu-permissions.entity.d.ts +0 -7
- package/dist/entities/menu-permissions.entity.js +0 -42
- package/dist/entities/menu-permissions.entity.js.map +0 -1
- package/dist/entities/notifications/index.d.ts +0 -2
- package/dist/entities/notifications/index.js +0 -19
- package/dist/entities/notifications/index.js.map +0 -1
- package/dist/entities/notifications/notification.entity.d.ts +0 -15
- package/dist/entities/notifications/notification.entity.js +0 -119
- package/dist/entities/notifications/notification.entity.js.map +0 -1
- package/dist/entities/notifications/push-token.entity.d.ts +0 -7
- package/dist/entities/notifications/push-token.entity.js +0 -45
- package/dist/entities/notifications/push-token.entity.js.map +0 -1
- package/dist/entities/otp-log.entity.d.ts +0 -8
- package/dist/entities/otp-log.entity.js +0 -49
- package/dist/entities/otp-log.entity.js.map +0 -1
- package/dist/entities/permission.entity.d.ts +0 -7
- package/dist/entities/permission.entity.js +0 -46
- package/dist/entities/permission.entity.js.map +0 -1
- package/dist/entities/phone.entity.d.ts +0 -5
- package/dist/entities/phone.entity.js +0 -36
- package/dist/entities/phone.entity.js.map +0 -1
- package/dist/entities/profile.entity.d.ts +0 -9
- package/dist/entities/profile.entity.js +0 -56
- package/dist/entities/profile.entity.js.map +0 -1
- package/dist/entities/protocol.entity.d.ts +0 -8
- package/dist/entities/protocol.entity.js +0 -46
- package/dist/entities/protocol.entity.js.map +0 -1
- package/dist/entities/refresh-token.entity.d.ts +0 -8
- package/dist/entities/refresh-token.entity.js +0 -46
- package/dist/entities/refresh-token.entity.js.map +0 -1
- package/dist/entities/role.entity.d.ts +0 -7
- package/dist/entities/role.entity.js +0 -48
- package/dist/entities/role.entity.js.map +0 -1
- package/dist/entities/sales/agent-comment.entity.d.ts +0 -5
- package/dist/entities/sales/agent-comment.entity.js +0 -35
- package/dist/entities/sales/agent-comment.entity.js.map +0 -1
- package/dist/entities/sales/agent.entity.d.ts +0 -32
- package/dist/entities/sales/agent.entity.js +0 -254
- package/dist/entities/sales/agent.entity.js.map +0 -1
- package/dist/entities/sales/agente-intermediario.entity.d.ts +0 -7
- package/dist/entities/sales/agente-intermediario.entity.js +0 -49
- package/dist/entities/sales/agente-intermediario.entity.js.map +0 -1
- package/dist/entities/sales/beneficiarios/index.d.ts +0 -2
- package/dist/entities/sales/beneficiarios/index.js +0 -19
- package/dist/entities/sales/beneficiarios/index.js.map +0 -1
- package/dist/entities/sales/beneficiarios/person.entity.d.ts +0 -10
- package/dist/entities/sales/beneficiarios/person.entity.js +0 -89
- package/dist/entities/sales/beneficiarios/person.entity.js.map +0 -1
- package/dist/entities/sales/beneficiarios/vehicle.entity.d.ts +0 -16
- package/dist/entities/sales/beneficiarios/vehicle.entity.js +0 -106
- package/dist/entities/sales/beneficiarios/vehicle.entity.js.map +0 -1
- package/dist/entities/sales/contact-comment.entity.d.ts +0 -5
- package/dist/entities/sales/contact-comment.entity.js +0 -32
- package/dist/entities/sales/contact-comment.entity.js.map +0 -1
- package/dist/entities/sales/contact.entity.d.ts +0 -57
- package/dist/entities/sales/contact.entity.js +0 -497
- package/dist/entities/sales/contact.entity.js.map +0 -1
- package/dist/entities/sales/import-session.entity.d.ts +0 -29
- package/dist/entities/sales/import-session.entity.js +0 -155
- package/dist/entities/sales/import-session.entity.js.map +0 -1
- package/dist/entities/sales/index.d.ts +0 -16
- package/dist/entities/sales/index.js +0 -33
- package/dist/entities/sales/index.js.map +0 -1
- package/dist/entities/sales/lead-comment.entity.d.ts +0 -5
- package/dist/entities/sales/lead-comment.entity.js +0 -32
- package/dist/entities/sales/lead-comment.entity.js.map +0 -1
- package/dist/entities/sales/lead.entity.d.ts +0 -60
- package/dist/entities/sales/lead.entity.js +0 -572
- package/dist/entities/sales/lead.entity.js.map +0 -1
- package/dist/entities/sales/poliza/index.d.ts +0 -8
- package/dist/entities/sales/poliza/index.js +0 -25
- package/dist/entities/sales/poliza/index.js.map +0 -1
- package/dist/entities/sales/poliza/poliza_claim-comment.entity.d.ts +0 -5
- package/dist/entities/sales/poliza/poliza_claim-comment.entity.js +0 -35
- package/dist/entities/sales/poliza/poliza_claim-comment.entity.js.map +0 -1
- package/dist/entities/sales/poliza/poliza_claim.entity.d.ts +0 -34
- package/dist/entities/sales/poliza/poliza_claim.entity.js +0 -285
- package/dist/entities/sales/poliza/poliza_claim.entity.js.map +0 -1
- package/dist/entities/sales/poliza/poliza_fund-recovery-comment.entity.d.ts +0 -5
- package/dist/entities/sales/poliza/poliza_fund-recovery-comment.entity.js +0 -35
- package/dist/entities/sales/poliza/poliza_fund-recovery-comment.entity.js.map +0 -1
- package/dist/entities/sales/poliza/poliza_fund-recovery.entity.d.ts +0 -31
- package/dist/entities/sales/poliza/poliza_fund-recovery.entity.js +0 -259
- package/dist/entities/sales/poliza/poliza_fund-recovery.entity.js.map +0 -1
- package/dist/entities/sales/poliza/poliza_reimbursement-comment.entity.d.ts +0 -5
- package/dist/entities/sales/poliza/poliza_reimbursement-comment.entity.js +0 -35
- package/dist/entities/sales/poliza/poliza_reimbursement-comment.entity.js.map +0 -1
- package/dist/entities/sales/poliza/poliza_reimbursement.entity.d.ts +0 -34
- package/dist/entities/sales/poliza/poliza_reimbursement.entity.js +0 -277
- package/dist/entities/sales/poliza/poliza_reimbursement.entity.js.map +0 -1
- package/dist/entities/sales/poliza/poliza_scheduling-comment.entity.d.ts +0 -5
- package/dist/entities/sales/poliza/poliza_scheduling-comment.entity.js +0 -35
- package/dist/entities/sales/poliza/poliza_scheduling-comment.entity.js.map +0 -1
- package/dist/entities/sales/poliza/poliza_scheduling.entity.d.ts +0 -34
- package/dist/entities/sales/poliza/poliza_scheduling.entity.js +0 -277
- package/dist/entities/sales/poliza/poliza_scheduling.entity.js.map +0 -1
- package/dist/entities/sales/poliza-comment.entity.d.ts +0 -5
- package/dist/entities/sales/poliza-comment.entity.js +0 -32
- package/dist/entities/sales/poliza-comment.entity.js.map +0 -1
- package/dist/entities/sales/poliza.entity.d.ts +0 -108
- package/dist/entities/sales/poliza.entity.js +0 -1032
- package/dist/entities/sales/poliza.entity.js.map +0 -1
- package/dist/entities/sales/poliza_pdf.entity.d.ts +0 -94
- package/dist/entities/sales/poliza_pdf.entity.js +0 -926
- package/dist/entities/sales/poliza_pdf.entity.js.map +0 -1
- package/dist/entities/sales/poliza_siniestro.entity.d.ts +0 -12
- package/dist/entities/sales/poliza_siniestro.entity.js +0 -72
- package/dist/entities/sales/poliza_siniestro.entity.js.map +0 -1
- package/dist/entities/sales/receipt-comment.entity.d.ts +0 -5
- package/dist/entities/sales/receipt-comment.entity.js +0 -32
- package/dist/entities/sales/receipt-comment.entity.js.map +0 -1
- package/dist/entities/sales/receipt-sub-agente.entity.d.ts +0 -5
- package/dist/entities/sales/receipt-sub-agente.entity.js +0 -35
- package/dist/entities/sales/receipt-sub-agente.entity.js.map +0 -1
- package/dist/entities/sales/receipt.entity.d.ts +0 -32
- package/dist/entities/sales/receipt.entity.js +0 -255
- package/dist/entities/sales/receipt.entity.js.map +0 -1
- package/dist/entities/tag.entity.d.ts +0 -8
- package/dist/entities/tag.entity.js +0 -53
- package/dist/entities/tag.entity.js.map +0 -1
- package/dist/entities/thirdparty/email-config.entity.d.ts +0 -14
- package/dist/entities/thirdparty/email-config.entity.js +0 -76
- package/dist/entities/thirdparty/email-config.entity.js.map +0 -1
- package/dist/entities/thirdparty/email.entity.d.ts +0 -17
- package/dist/entities/thirdparty/email.entity.js +0 -79
- package/dist/entities/thirdparty/email.entity.js.map +0 -1
- package/dist/entities/thirdparty/oauth.entity.d.ts +0 -21
- package/dist/entities/thirdparty/oauth.entity.js +0 -100
- package/dist/entities/thirdparty/oauth.entity.js.map +0 -1
- package/dist/entities/thirdparty/service.entity.d.ts +0 -8
- package/dist/entities/thirdparty/service.entity.js +0 -38
- package/dist/entities/thirdparty/service.entity.js.map +0 -1
- package/dist/entities/thirdparty/user-email-relation.entity.d.ts +0 -7
- package/dist/entities/thirdparty/user-email-relation.entity.js +0 -35
- package/dist/entities/thirdparty/user-email-relation.entity.js.map +0 -1
- package/dist/entities/tools/calendar/event-list-calendars.entity.d.ts +0 -6
- package/dist/entities/tools/calendar/event-list-calendars.entity.js +0 -32
- package/dist/entities/tools/calendar/event-list-calendars.entity.js.map +0 -1
- package/dist/entities/tools/calendar/event.entity.d.ts +0 -25
- package/dist/entities/tools/calendar/event.entity.js +0 -213
- package/dist/entities/tools/calendar/event.entity.js.map +0 -1
- package/dist/entities/tools/calendar/index.d.ts +0 -1
- package/dist/entities/tools/calendar/index.js +0 -18
- package/dist/entities/tools/calendar/index.js.map +0 -1
- package/dist/entities/tools/index.d.ts +0 -7
- package/dist/entities/tools/index.js +0 -24
- package/dist/entities/tools/index.js.map +0 -1
- package/dist/entities/tools/task-comment.entity.d.ts +0 -8
- package/dist/entities/tools/task-comment.entity.js +0 -39
- package/dist/entities/tools/task-comment.entity.js.map +0 -1
- package/dist/entities/tools/task-history.entity.d.ts +0 -15
- package/dist/entities/tools/task-history.entity.js +0 -131
- package/dist/entities/tools/task-history.entity.js.map +0 -1
- package/dist/entities/tools/task-list-field.d.ts +0 -5
- package/dist/entities/tools/task-list-field.js +0 -39
- package/dist/entities/tools/task-list-field.js.map +0 -1
- package/dist/entities/tools/task-objection.entity.d.ts +0 -10
- package/dist/entities/tools/task-objection.entity.js +0 -80
- package/dist/entities/tools/task-objection.entity.js.map +0 -1
- package/dist/entities/tools/task-time-track.entity.d.ts +0 -16
- package/dist/entities/tools/task-time-track.entity.js +0 -139
- package/dist/entities/tools/task-time-track.entity.js.map +0 -1
- package/dist/entities/tools/task.entity.d.ts +0 -49
- package/dist/entities/tools/task.entity.js +0 -419
- package/dist/entities/tools/task.entity.js.map +0 -1
- package/dist/entities/user-invitations.entity.d.ts +0 -11
- package/dist/entities/user-invitations.entity.js +0 -102
- package/dist/entities/user-invitations.entity.js.map +0 -1
- package/dist/entities/user.entity.d.ts +0 -39
- package/dist/entities/user.entity.js +0 -270
- package/dist/entities/user.entity.js.map +0 -1
- package/dist/eslint.config.d.ts +0 -2
- package/dist/eslint.config.js +0 -46
- package/dist/eslint.config.js.map +0 -1
- package/dist/grpc/drive/drive.proto +0 -260
- package/dist/grpc/drive/leads.proto +0 -114
- package/dist/index.d.ts +0 -3
- package/dist/index.js +0 -20
- package/dist/index.js.map +0 -1
- package/dist/modules/index.d.ts +0 -5
- package/dist/modules/index.js +0 -22
- package/dist/modules/index.js.map +0 -1
- package/dist/modules/queue/event.service.d.ts +0 -32
- package/dist/modules/queue/event.service.js +0 -45
- package/dist/modules/queue/event.service.js.map +0 -1
- package/dist/modules/queue/notifier.service.d.ts +0 -15
- package/dist/modules/queue/notifier.service.js +0 -70
- package/dist/modules/queue/notifier.service.js.map +0 -1
- package/dist/modules/queue/notifiers/calendar.notifier.d.ts +0 -10
- package/dist/modules/queue/notifiers/calendar.notifier.js +0 -60
- package/dist/modules/queue/notifiers/calendar.notifier.js.map +0 -1
- package/dist/modules/queue/notifiers/contact.notifier.d.ts +0 -7
- package/dist/modules/queue/notifiers/contact.notifier.js +0 -52
- package/dist/modules/queue/notifiers/contact.notifier.js.map +0 -1
- package/dist/modules/queue/notifiers/index.d.ts +0 -4
- package/dist/modules/queue/notifiers/index.js +0 -21
- package/dist/modules/queue/notifiers/index.js.map +0 -1
- package/dist/modules/queue/notifiers/lead.notifier.d.ts +0 -7
- package/dist/modules/queue/notifiers/lead.notifier.js +0 -52
- package/dist/modules/queue/notifiers/lead.notifier.js.map +0 -1
- package/dist/modules/queue/notifiers/task.notifier.d.ts +0 -15
- package/dist/modules/queue/notifiers/task.notifier.js +0 -159
- package/dist/modules/queue/notifiers/task.notifier.js.map +0 -1
- package/dist/modules/queue/queue.module.d.ts +0 -4
- package/dist/modules/queue/queue.module.js +0 -68
- package/dist/modules/queue/queue.module.js.map +0 -1
- package/dist/modules/queue/queue.service.d.ts +0 -9
- package/dist/modules/queue/queue.service.js +0 -56
- package/dist/modules/queue/queue.service.js.map +0 -1
- package/dist/modules/queue/scheduler.service.d.ts +0 -9
- package/dist/modules/queue/scheduler.service.js +0 -40
- package/dist/modules/queue/scheduler.service.js.map +0 -1
- package/tsconfig.tsbuildinfo +0 -1
|
@@ -1,213 +0,0 @@
|
|
|
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.EventCalendar = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
const typeorm_1 = require("typeorm");
|
|
15
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
16
|
-
const base_entity_1 = require("../../../common/database/base.entity");
|
|
17
|
-
const common_1 = require("../../../common");
|
|
18
|
-
const user_entity_1 = require("../../user.entity");
|
|
19
|
-
const tools_1 = require("../../helpers/tools");
|
|
20
|
-
let EventCalendar = class EventCalendar extends base_entity_1.EntityBase {
|
|
21
|
-
name;
|
|
22
|
-
description;
|
|
23
|
-
startTime;
|
|
24
|
-
endTime;
|
|
25
|
-
repeat;
|
|
26
|
-
participants;
|
|
27
|
-
reminder;
|
|
28
|
-
color;
|
|
29
|
-
availability;
|
|
30
|
-
private;
|
|
31
|
-
important;
|
|
32
|
-
allDay;
|
|
33
|
-
googleId;
|
|
34
|
-
calendarId;
|
|
35
|
-
createdBy;
|
|
36
|
-
modifiedBy;
|
|
37
|
-
crm;
|
|
38
|
-
timeZone;
|
|
39
|
-
localization;
|
|
40
|
-
};
|
|
41
|
-
exports.EventCalendar = EventCalendar;
|
|
42
|
-
__decorate([
|
|
43
|
-
(0, swagger_1.ApiProperty)({ type: String, description: "Name of the event", minLength: 3 }),
|
|
44
|
-
(0, class_validator_1.MinLength)(3),
|
|
45
|
-
(0, typeorm_1.Column)({ unique: false, nullable: false }),
|
|
46
|
-
__metadata("design:type", String)
|
|
47
|
-
], EventCalendar.prototype, "name", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
(0, swagger_1.ApiProperty)({ type: String, description: "Description of the event" }),
|
|
50
|
-
(0, typeorm_1.Column)({ type: "text" }),
|
|
51
|
-
__metadata("design:type", String)
|
|
52
|
-
], EventCalendar.prototype, "description", void 0);
|
|
53
|
-
__decorate([
|
|
54
|
-
(0, swagger_1.ApiProperty)({
|
|
55
|
-
type: Date,
|
|
56
|
-
description: "Start time of the event",
|
|
57
|
-
required: false,
|
|
58
|
-
}),
|
|
59
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
60
|
-
__metadata("design:type", Date)
|
|
61
|
-
], EventCalendar.prototype, "startTime", void 0);
|
|
62
|
-
__decorate([
|
|
63
|
-
(0, swagger_1.ApiProperty)({
|
|
64
|
-
type: Date,
|
|
65
|
-
description: "End time of the event",
|
|
66
|
-
required: false,
|
|
67
|
-
}),
|
|
68
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
69
|
-
__metadata("design:type", Date)
|
|
70
|
-
], EventCalendar.prototype, "endTime", void 0);
|
|
71
|
-
__decorate([
|
|
72
|
-
(0, swagger_1.ApiProperty)({
|
|
73
|
-
enum: common_1.EventRepeatMode,
|
|
74
|
-
description: "Retición",
|
|
75
|
-
default: common_1.EventRepeatMode.NONE,
|
|
76
|
-
}),
|
|
77
|
-
(0, typeorm_1.Column)({
|
|
78
|
-
type: "enum",
|
|
79
|
-
enum: common_1.EventRepeatMode,
|
|
80
|
-
default: common_1.EventRepeatMode.NONE,
|
|
81
|
-
}),
|
|
82
|
-
__metadata("design:type", String)
|
|
83
|
-
], EventCalendar.prototype, "repeat", void 0);
|
|
84
|
-
__decorate([
|
|
85
|
-
(0, swagger_1.ApiProperty)({
|
|
86
|
-
type: () => [user_entity_1.User],
|
|
87
|
-
description: "Participants in the event",
|
|
88
|
-
required: false,
|
|
89
|
-
}),
|
|
90
|
-
(0, typeorm_1.ManyToMany)(() => user_entity_1.User, {
|
|
91
|
-
onDelete: "CASCADE",
|
|
92
|
-
onUpdate: "CASCADE",
|
|
93
|
-
}),
|
|
94
|
-
(0, typeorm_1.JoinTable)(),
|
|
95
|
-
__metadata("design:type", Array)
|
|
96
|
-
], EventCalendar.prototype, "participants", void 0);
|
|
97
|
-
__decorate([
|
|
98
|
-
(0, swagger_1.ApiProperty)({ type: Date, description: "Reminder time", required: false }),
|
|
99
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
100
|
-
__metadata("design:type", Date)
|
|
101
|
-
], EventCalendar.prototype, "reminder", void 0);
|
|
102
|
-
__decorate([
|
|
103
|
-
(0, swagger_1.ApiProperty)({ type: String, description: "Color of the event" }),
|
|
104
|
-
(0, typeorm_1.Column)({ type: String }),
|
|
105
|
-
__metadata("design:type", String)
|
|
106
|
-
], EventCalendar.prototype, "color", void 0);
|
|
107
|
-
__decorate([
|
|
108
|
-
(0, swagger_1.ApiProperty)({
|
|
109
|
-
type: String,
|
|
110
|
-
description: "User availability during the event",
|
|
111
|
-
}),
|
|
112
|
-
(0, typeorm_1.Column)({ type: String }),
|
|
113
|
-
__metadata("design:type", String)
|
|
114
|
-
], EventCalendar.prototype, "availability", void 0);
|
|
115
|
-
__decorate([
|
|
116
|
-
(0, swagger_1.ApiProperty)({ type: Boolean, description: "¿Private?", default: false }),
|
|
117
|
-
(0, typeorm_1.Column)({ default: false }),
|
|
118
|
-
__metadata("design:type", Boolean)
|
|
119
|
-
], EventCalendar.prototype, "private", void 0);
|
|
120
|
-
__decorate([
|
|
121
|
-
(0, swagger_1.ApiProperty)({ type: Boolean, description: "Important?", default: false }),
|
|
122
|
-
(0, typeorm_1.Column)({ default: false }),
|
|
123
|
-
__metadata("design:type", Boolean)
|
|
124
|
-
], EventCalendar.prototype, "important", void 0);
|
|
125
|
-
__decorate([
|
|
126
|
-
(0, swagger_1.ApiProperty)({
|
|
127
|
-
type: Boolean,
|
|
128
|
-
description: "Event during all Day?",
|
|
129
|
-
default: false,
|
|
130
|
-
}),
|
|
131
|
-
(0, typeorm_1.Column)({ default: false }),
|
|
132
|
-
__metadata("design:type", Boolean)
|
|
133
|
-
], EventCalendar.prototype, "allDay", void 0);
|
|
134
|
-
__decorate([
|
|
135
|
-
(0, swagger_1.ApiProperty)({
|
|
136
|
-
type: String,
|
|
137
|
-
description: "Google event id",
|
|
138
|
-
required: false,
|
|
139
|
-
}),
|
|
140
|
-
(0, typeorm_1.Column)({ type: String, nullable: true }),
|
|
141
|
-
__metadata("design:type", String)
|
|
142
|
-
], EventCalendar.prototype, "googleId", void 0);
|
|
143
|
-
__decorate([
|
|
144
|
-
(0, swagger_1.ApiProperty)({
|
|
145
|
-
type: String,
|
|
146
|
-
description: "Calendar Id",
|
|
147
|
-
required: false,
|
|
148
|
-
}),
|
|
149
|
-
(0, typeorm_1.Column)({ type: String, nullable: true }),
|
|
150
|
-
__metadata("design:type", String)
|
|
151
|
-
], EventCalendar.prototype, "calendarId", void 0);
|
|
152
|
-
__decorate([
|
|
153
|
-
(0, swagger_1.ApiProperty)({
|
|
154
|
-
type: () => user_entity_1.User,
|
|
155
|
-
description: "User who created the event",
|
|
156
|
-
required: false,
|
|
157
|
-
}),
|
|
158
|
-
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
|
|
159
|
-
onDelete: "SET NULL",
|
|
160
|
-
onUpdate: "CASCADE",
|
|
161
|
-
nullable: true,
|
|
162
|
-
}),
|
|
163
|
-
(0, typeorm_1.JoinColumn)(),
|
|
164
|
-
__metadata("design:type", user_entity_1.User)
|
|
165
|
-
], EventCalendar.prototype, "createdBy", void 0);
|
|
166
|
-
__decorate([
|
|
167
|
-
(0, swagger_1.ApiProperty)({
|
|
168
|
-
type: () => user_entity_1.User,
|
|
169
|
-
description: "User who modified the event",
|
|
170
|
-
required: false,
|
|
171
|
-
}),
|
|
172
|
-
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
|
|
173
|
-
onDelete: "SET NULL",
|
|
174
|
-
onUpdate: "CASCADE",
|
|
175
|
-
nullable: true,
|
|
176
|
-
}),
|
|
177
|
-
(0, typeorm_1.JoinColumn)(),
|
|
178
|
-
__metadata("design:type", user_entity_1.User)
|
|
179
|
-
], EventCalendar.prototype, "modifiedBy", void 0);
|
|
180
|
-
__decorate([
|
|
181
|
-
(0, swagger_1.ApiProperty)({
|
|
182
|
-
type: () => [tools_1.EventCRM],
|
|
183
|
-
description: "CRM entries associated with the event",
|
|
184
|
-
required: false,
|
|
185
|
-
}),
|
|
186
|
-
(0, typeorm_1.OneToMany)(() => tools_1.EventCRM, (eventCRM) => eventCRM.event, {
|
|
187
|
-
onDelete: "CASCADE",
|
|
188
|
-
onUpdate: "CASCADE",
|
|
189
|
-
}),
|
|
190
|
-
__metadata("design:type", Array)
|
|
191
|
-
], EventCalendar.prototype, "crm", void 0);
|
|
192
|
-
__decorate([
|
|
193
|
-
(0, swagger_1.ApiProperty)({
|
|
194
|
-
type: String,
|
|
195
|
-
description: "Event time zone",
|
|
196
|
-
required: false,
|
|
197
|
-
}),
|
|
198
|
-
(0, typeorm_1.Column)({ type: String, nullable: true }),
|
|
199
|
-
__metadata("design:type", String)
|
|
200
|
-
], EventCalendar.prototype, "timeZone", void 0);
|
|
201
|
-
__decorate([
|
|
202
|
-
(0, swagger_1.ApiProperty)({
|
|
203
|
-
type: String,
|
|
204
|
-
description: "Event localization",
|
|
205
|
-
required: false,
|
|
206
|
-
}),
|
|
207
|
-
(0, typeorm_1.Column)({ type: String, nullable: true }),
|
|
208
|
-
__metadata("design:type", String)
|
|
209
|
-
], EventCalendar.prototype, "localization", void 0);
|
|
210
|
-
exports.EventCalendar = EventCalendar = __decorate([
|
|
211
|
-
(0, typeorm_1.Entity)()
|
|
212
|
-
], EventCalendar);
|
|
213
|
-
//# sourceMappingURL=event.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"event.entity.js","sourceRoot":"","sources":["../../../../src/entities/tools/calendar/event.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA4C;AAC5C,qCAQiB;AACjB,6CAA8C;AAC9C,sEAAkE;AAClE,4CAAkD;AAClD,mDAAyC;AACzC,+CAA+C;AAGxC,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,wBAAU;IAI3C,IAAI,CAAS;IAIb,WAAW,CAAS;IAQpB,SAAS,CAAO;IAQhB,OAAO,CAAO;IAYd,MAAM,CAAkB;IAYxB,YAAY,CAAU;IAItB,QAAQ,CAAO;IAIf,KAAK,CAAS;IAOd,YAAY,CAAS;IAIrB,OAAO,CAAU;IAIjB,SAAS,CAAU;IAQnB,MAAM,CAAU;IAQhB,QAAQ,CAAS;IAQjB,UAAU,CAAS;IAanB,SAAS,CAAQ;IAajB,UAAU,CAAQ;IAWlB,GAAG,CAAc;IAQjB,QAAQ,CAAS;IAQjB,YAAY,CAAS;CACtB,CAAA;AArJY,sCAAa;AAIxB;IAHC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,mBAAmB,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC;IAC7E,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;2CAC9B;AAIb;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAA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,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACxB;AAQjB;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,oBAAoB;QACjC,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACpB;wBApJV,aAAa;IADzB,IAAA,gBAAM,GAAE;GACI,aAAa,CAqJzB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './event.entity';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./event.entity"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/entities/tools/calendar/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./task-comment.entity"), exports);
|
|
18
|
-
__exportStar(require("./task.entity"), exports);
|
|
19
|
-
__exportStar(require("./task-list-field"), exports);
|
|
20
|
-
__exportStar(require("./calendar"), exports);
|
|
21
|
-
__exportStar(require("./task-time-track.entity"), exports);
|
|
22
|
-
__exportStar(require("./task-history.entity"), exports);
|
|
23
|
-
__exportStar(require("./task-objection.entity"), exports);
|
|
24
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/entities/tools/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,gDAA8B;AAC9B,oDAAkC;AAClC,6CAA2B;AAC3B,2DAAyC;AACzC,wDAAsC;AACtC,0DAAwC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Task } from "./task.entity";
|
|
2
|
-
import { CommentBase } from "../../common";
|
|
3
|
-
import { AttachedObjectInterface } from "../drive";
|
|
4
|
-
export declare class TaskComment extends CommentBase {
|
|
5
|
-
isSummary: boolean;
|
|
6
|
-
task: Task;
|
|
7
|
-
attachedObjects?: AttachedObjectInterface[];
|
|
8
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
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.TaskComment = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const task_entity_1 = require("./task.entity");
|
|
15
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
16
|
-
const common_1 = require("../../common");
|
|
17
|
-
let TaskComment = class TaskComment extends common_1.CommentBase {
|
|
18
|
-
isSummary;
|
|
19
|
-
task;
|
|
20
|
-
attachedObjects;
|
|
21
|
-
};
|
|
22
|
-
exports.TaskComment = TaskComment;
|
|
23
|
-
__decorate([
|
|
24
|
-
(0, swagger_1.ApiProperty)({ type: Boolean, description: 'Is this comment a summary?', default: false }),
|
|
25
|
-
(0, typeorm_1.Column)({ default: false }),
|
|
26
|
-
__metadata("design:type", Boolean)
|
|
27
|
-
], TaskComment.prototype, "isSummary", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, swagger_1.ApiProperty)({ type: () => task_entity_1.Task, description: 'Task associated with the comment' }),
|
|
30
|
-
(0, typeorm_1.ManyToOne)(() => task_entity_1.Task, {
|
|
31
|
-
onDelete: "CASCADE",
|
|
32
|
-
onUpdate: "CASCADE",
|
|
33
|
-
}),
|
|
34
|
-
__metadata("design:type", task_entity_1.Task)
|
|
35
|
-
], TaskComment.prototype, "task", void 0);
|
|
36
|
-
exports.TaskComment = TaskComment = __decorate([
|
|
37
|
-
(0, typeorm_1.Entity)()
|
|
38
|
-
], TaskComment);
|
|
39
|
-
//# sourceMappingURL=task-comment.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"task-comment.entity.js","sourceRoot":"","sources":["../../../src/entities/tools/task-comment.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAoD;AACpD,+CAAqC;AACrC,6CAA8C;AAC9C,yCAA2C;AAIpC,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,oBAAW;IAGxC,SAAS,CAAU;IAOnB,IAAI,CAAO;IAEX,eAAe,CAA6B;CAC/C,CAAA;AAbY,kCAAW;AAGpB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,4BAA4B,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;IACzF,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;8CACR;AAOnB;IALC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAI,EAAE,WAAW,EAAE,kCAAkC,EAAE,CAAC;IAClF,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE;QACnB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACtB,CAAC;8BACI,kBAAI;yCAAC;sBAVF,WAAW;IADvB,IAAA,gBAAM,GAAE;GACI,WAAW,CAavB"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { EntityBase, TaskHistoryActionType } from "../../common";
|
|
2
|
-
import { Task } from "./task.entity";
|
|
3
|
-
import { User } from "../user.entity";
|
|
4
|
-
export declare class TaskHistory extends EntityBase {
|
|
5
|
-
task: Task;
|
|
6
|
-
user: User;
|
|
7
|
-
timestamp: Date;
|
|
8
|
-
actionType: TaskHistoryActionType;
|
|
9
|
-
field: string;
|
|
10
|
-
oldValue: string;
|
|
11
|
-
newValue: string;
|
|
12
|
-
title: string;
|
|
13
|
-
description: string;
|
|
14
|
-
metadata: Record<string, any>;
|
|
15
|
-
}
|
|
@@ -1,131 +0,0 @@
|
|
|
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.TaskHistory = void 0;
|
|
13
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
-
const common_1 = require("../../common");
|
|
15
|
-
const typeorm_1 = require("typeorm");
|
|
16
|
-
const task_entity_1 = require("./task.entity");
|
|
17
|
-
const user_entity_1 = require("../user.entity");
|
|
18
|
-
let TaskHistory = class TaskHistory extends common_1.EntityBase {
|
|
19
|
-
task;
|
|
20
|
-
user;
|
|
21
|
-
timestamp;
|
|
22
|
-
actionType;
|
|
23
|
-
field;
|
|
24
|
-
oldValue;
|
|
25
|
-
newValue;
|
|
26
|
-
title;
|
|
27
|
-
description;
|
|
28
|
-
metadata;
|
|
29
|
-
};
|
|
30
|
-
exports.TaskHistory = TaskHistory;
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, swagger_1.ApiProperty)({
|
|
33
|
-
type: () => task_entity_1.Task,
|
|
34
|
-
description: "Tarea a la que pertenece este registro de historial",
|
|
35
|
-
}),
|
|
36
|
-
(0, typeorm_1.ManyToOne)(() => task_entity_1.Task, (task) => task.history, {
|
|
37
|
-
onDelete: "CASCADE",
|
|
38
|
-
onUpdate: "CASCADE",
|
|
39
|
-
}),
|
|
40
|
-
(0, typeorm_1.JoinColumn)(),
|
|
41
|
-
__metadata("design:type", task_entity_1.Task)
|
|
42
|
-
], TaskHistory.prototype, "task", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
(0, swagger_1.ApiProperty)({
|
|
45
|
-
type: () => user_entity_1.User,
|
|
46
|
-
description: "Usuario que realizó la acción",
|
|
47
|
-
}),
|
|
48
|
-
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
|
|
49
|
-
onDelete: "SET NULL",
|
|
50
|
-
onUpdate: "CASCADE",
|
|
51
|
-
nullable: true,
|
|
52
|
-
}),
|
|
53
|
-
(0, typeorm_1.JoinColumn)(),
|
|
54
|
-
__metadata("design:type", user_entity_1.User)
|
|
55
|
-
], TaskHistory.prototype, "user", void 0);
|
|
56
|
-
__decorate([
|
|
57
|
-
(0, swagger_1.ApiProperty)({
|
|
58
|
-
type: Date,
|
|
59
|
-
description: "Fecha y hora de la acción",
|
|
60
|
-
}),
|
|
61
|
-
(0, typeorm_1.CreateDateColumn)(),
|
|
62
|
-
__metadata("design:type", Date)
|
|
63
|
-
], TaskHistory.prototype, "timestamp", void 0);
|
|
64
|
-
__decorate([
|
|
65
|
-
(0, swagger_1.ApiProperty)({
|
|
66
|
-
enum: common_1.TaskHistoryActionType,
|
|
67
|
-
description: "Tipo de acción realizada",
|
|
68
|
-
}),
|
|
69
|
-
(0, typeorm_1.Column)({
|
|
70
|
-
type: "enum",
|
|
71
|
-
enum: common_1.TaskHistoryActionType,
|
|
72
|
-
}),
|
|
73
|
-
__metadata("design:type", String)
|
|
74
|
-
], TaskHistory.prototype, "actionType", void 0);
|
|
75
|
-
__decorate([
|
|
76
|
-
(0, swagger_1.ApiProperty)({
|
|
77
|
-
type: String,
|
|
78
|
-
description: "Campo o aspecto específico que fue modificado",
|
|
79
|
-
required: false,
|
|
80
|
-
}),
|
|
81
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
82
|
-
__metadata("design:type", String)
|
|
83
|
-
], TaskHistory.prototype, "field", void 0);
|
|
84
|
-
__decorate([
|
|
85
|
-
(0, swagger_1.ApiProperty)({
|
|
86
|
-
type: String,
|
|
87
|
-
description: "Valor anterior (si aplica)",
|
|
88
|
-
required: false,
|
|
89
|
-
}),
|
|
90
|
-
(0, typeorm_1.Column)({ type: "text", nullable: true }),
|
|
91
|
-
__metadata("design:type", String)
|
|
92
|
-
], TaskHistory.prototype, "oldValue", void 0);
|
|
93
|
-
__decorate([
|
|
94
|
-
(0, swagger_1.ApiProperty)({
|
|
95
|
-
type: String,
|
|
96
|
-
description: "Valor nuevo (si aplica)",
|
|
97
|
-
required: false,
|
|
98
|
-
}),
|
|
99
|
-
(0, typeorm_1.Column)({ type: "text", nullable: true }),
|
|
100
|
-
__metadata("design:type", String)
|
|
101
|
-
], TaskHistory.prototype, "newValue", void 0);
|
|
102
|
-
__decorate([
|
|
103
|
-
(0, swagger_1.ApiProperty)({
|
|
104
|
-
type: String,
|
|
105
|
-
description: "Título/Disposición de la actualización",
|
|
106
|
-
}),
|
|
107
|
-
(0, typeorm_1.Column)(),
|
|
108
|
-
__metadata("design:type", String)
|
|
109
|
-
], TaskHistory.prototype, "title", void 0);
|
|
110
|
-
__decorate([
|
|
111
|
-
(0, swagger_1.ApiProperty)({
|
|
112
|
-
type: String,
|
|
113
|
-
description: "Descripción completa de la actualización",
|
|
114
|
-
required: false,
|
|
115
|
-
}),
|
|
116
|
-
(0, typeorm_1.Column)({ type: "text", nullable: true }),
|
|
117
|
-
__metadata("design:type", String)
|
|
118
|
-
], TaskHistory.prototype, "description", void 0);
|
|
119
|
-
__decorate([
|
|
120
|
-
(0, swagger_1.ApiProperty)({
|
|
121
|
-
type: Object,
|
|
122
|
-
description: "Metadatos adicionales (en formato JSON)",
|
|
123
|
-
required: false,
|
|
124
|
-
}),
|
|
125
|
-
(0, typeorm_1.Column)({ type: "jsonb", nullable: true }),
|
|
126
|
-
__metadata("design:type", Object)
|
|
127
|
-
], TaskHistory.prototype, "metadata", void 0);
|
|
128
|
-
exports.TaskHistory = TaskHistory = __decorate([
|
|
129
|
-
(0, typeorm_1.Entity)()
|
|
130
|
-
], TaskHistory);
|
|
131
|
-
//# sourceMappingURL=task-history.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"task-history.entity.js","sourceRoot":"","sources":["../../../src/entities/tools/task-history.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,yCAAiE;AACjE,qCAMiB;AACjB,+CAAqC;AACrC,gDAAsC;AAG/B,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,mBAAU;IAUzC,IAAI,CAAO;IAYX,IAAI,CAAO;IAOX,SAAS,CAAO;IAUhB,UAAU,CAAwB;IAQlC,KAAK,CAAS;IAQd,QAAQ,CAAS;IAQjB,QAAQ,CAAS;IAOjB,KAAK,CAAS;IAQd,WAAW,CAAS;IAQpB,QAAQ,CAAsB;CAC/B,CAAA;AAvFY,kCAAW;AAUtB;IATC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAI;QAChB,WAAW,EAAE,qDAAqD;KACnE,CAAC;IACD,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,CAAC,IAAI,EAAE,EAAE,C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,yBAAyB;QACtC,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACxB;AAOjB;IALC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,wCAAwC;KACtD,CAAC;IACD,IAAA,gBAAM,GAAE;;0CACK;AAQd;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,0CAA0C;QACvD,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gDACrB;AAQpB;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,yCAAyC;QACtD,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACZ;sBAtFnB,WAAW;IADvB,IAAA,gBAAM,GAAE;GACI,WAAW,CAuFvB"}
|
|
@@ -1,39 +0,0 @@
|
|
|
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.TaskListField = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
16
|
-
class TaskListField {
|
|
17
|
-
text;
|
|
18
|
-
completed;
|
|
19
|
-
child;
|
|
20
|
-
}
|
|
21
|
-
exports.TaskListField = TaskListField;
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'Text of the task list field' }),
|
|
24
|
-
(0, class_validator_1.IsString)(),
|
|
25
|
-
__metadata("design:type", String)
|
|
26
|
-
], TaskListField.prototype, "text", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, swagger_1.ApiProperty)({ type: Boolean, description: 'Completion status of the task list field' }),
|
|
29
|
-
(0, class_validator_1.IsBoolean)(),
|
|
30
|
-
__metadata("design:type", Boolean)
|
|
31
|
-
], TaskListField.prototype, "completed", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
(0, swagger_1.ApiProperty)({ type: () => [TaskListField], description: 'Child task list fields', required: false }),
|
|
34
|
-
(0, class_validator_1.IsOptional)(),
|
|
35
|
-
(0, class_validator_1.ValidateNested)(),
|
|
36
|
-
(0, class_transformer_1.Type)(() => TaskListField),
|
|
37
|
-
__metadata("design:type", Array)
|
|
38
|
-
], TaskListField.prototype, "child", void 0);
|
|
39
|
-
//# sourceMappingURL=task-list-field.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"task-list-field.js","sourceRoot":"","sources":["../../../src/entities/tools/task-list-field.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,qDAAkF;AAClF,6CAA8C;AAE9C,MAAa,aAAa;IAGtB,IAAI,CAAS;IAIb,SAAS,CAAU;IAMnB,KAAK,CAAiB;CACzB;AAdD,sCAcC;AAXG;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,6BAA6B,EAAE,CAAC;IACzE,IAAA,0BAAQ,GAAE;;2CACE;AAIb;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,0CAA0C,EAAE,CAAC;IACvF,IAAA,2BAAS,GAAE;;gDACO;AAMnB;IAJC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC,aAAa,CAAC,EAAE,WAAW,EAAE,wBAAwB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACpG,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;IAChB,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,aAAa,CAAC;;4CACJ"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { EntityBase } from "../../common";
|
|
2
|
-
import { Task } from "./task.entity";
|
|
3
|
-
import { User } from "../user.entity";
|
|
4
|
-
export declare class TaskObjection extends EntityBase {
|
|
5
|
-
task: Task;
|
|
6
|
-
user: User;
|
|
7
|
-
timestamp: Date;
|
|
8
|
-
description: string;
|
|
9
|
-
metadata: Record<string, any>;
|
|
10
|
-
}
|
|
@@ -1,80 +0,0 @@
|
|
|
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.TaskObjection = void 0;
|
|
13
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
-
const common_1 = require("../../common");
|
|
15
|
-
const typeorm_1 = require("typeorm");
|
|
16
|
-
const task_entity_1 = require("./task.entity");
|
|
17
|
-
const user_entity_1 = require("../user.entity");
|
|
18
|
-
let TaskObjection = class TaskObjection extends common_1.EntityBase {
|
|
19
|
-
task;
|
|
20
|
-
user;
|
|
21
|
-
timestamp;
|
|
22
|
-
description;
|
|
23
|
-
metadata;
|
|
24
|
-
};
|
|
25
|
-
exports.TaskObjection = TaskObjection;
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, swagger_1.ApiProperty)({
|
|
28
|
-
type: () => task_entity_1.Task,
|
|
29
|
-
description: "Tarea a la que pertenece esta objeción",
|
|
30
|
-
}),
|
|
31
|
-
(0, typeorm_1.ManyToOne)(() => task_entity_1.Task, (task) => task.history, {
|
|
32
|
-
onDelete: "CASCADE",
|
|
33
|
-
onUpdate: "CASCADE",
|
|
34
|
-
}),
|
|
35
|
-
(0, typeorm_1.JoinColumn)(),
|
|
36
|
-
__metadata("design:type", task_entity_1.Task)
|
|
37
|
-
], TaskObjection.prototype, "task", void 0);
|
|
38
|
-
__decorate([
|
|
39
|
-
(0, swagger_1.ApiProperty)({
|
|
40
|
-
type: () => user_entity_1.User,
|
|
41
|
-
description: "Usuario que realizó la acción",
|
|
42
|
-
}),
|
|
43
|
-
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
|
|
44
|
-
onDelete: "SET NULL",
|
|
45
|
-
onUpdate: "CASCADE",
|
|
46
|
-
nullable: true,
|
|
47
|
-
}),
|
|
48
|
-
(0, typeorm_1.JoinColumn)(),
|
|
49
|
-
__metadata("design:type", user_entity_1.User)
|
|
50
|
-
], TaskObjection.prototype, "user", void 0);
|
|
51
|
-
__decorate([
|
|
52
|
-
(0, swagger_1.ApiProperty)({
|
|
53
|
-
type: Date,
|
|
54
|
-
description: "Fecha y hora de la acción",
|
|
55
|
-
}),
|
|
56
|
-
(0, typeorm_1.CreateDateColumn)(),
|
|
57
|
-
__metadata("design:type", Date)
|
|
58
|
-
], TaskObjection.prototype, "timestamp", void 0);
|
|
59
|
-
__decorate([
|
|
60
|
-
(0, swagger_1.ApiProperty)({
|
|
61
|
-
type: String,
|
|
62
|
-
description: "Descripción de la objeción",
|
|
63
|
-
required: false,
|
|
64
|
-
}),
|
|
65
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
66
|
-
__metadata("design:type", String)
|
|
67
|
-
], TaskObjection.prototype, "description", void 0);
|
|
68
|
-
__decorate([
|
|
69
|
-
(0, swagger_1.ApiProperty)({
|
|
70
|
-
type: Object,
|
|
71
|
-
description: "Metadatos adicionales (en formato JSON)",
|
|
72
|
-
required: false,
|
|
73
|
-
}),
|
|
74
|
-
(0, typeorm_1.Column)({ type: "jsonb", nullable: true }),
|
|
75
|
-
__metadata("design:type", Object)
|
|
76
|
-
], TaskObjection.prototype, "metadata", void 0);
|
|
77
|
-
exports.TaskObjection = TaskObjection = __decorate([
|
|
78
|
-
(0, typeorm_1.Entity)()
|
|
79
|
-
], TaskObjection);
|
|
80
|
-
//# sourceMappingURL=task-objection.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"task-objection.entity.js","sourceRoot":"","sources":["../../../src/entities/tools/task-objection.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,yCAA0C;AAC1C,qCAMiB;AACjB,+CAAqC;AACrC,gDAAsC;AAG/B,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,mBAAU;IAU3C,IAAI,CAAO;IAYX,IAAI,CAAO;IAOX,SAAS,CAAO;IAQhB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aAAa;IADzB,IAAA,gBAAM,GAAE;GACI,aAAa,CA+CzB"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { EntityBase } from "../../common/database/base.entity";
|
|
2
|
-
import { User } from "../user.entity";
|
|
3
|
-
import { Task } from "./task.entity";
|
|
4
|
-
import { TimeTrackRecordType } from "../../common/enums/tools.enum";
|
|
5
|
-
export declare class TaskTimeTrack extends EntityBase {
|
|
6
|
-
task: Task;
|
|
7
|
-
user: User;
|
|
8
|
-
startTime: Date;
|
|
9
|
-
endTime: Date;
|
|
10
|
-
duration: number;
|
|
11
|
-
comment: string;
|
|
12
|
-
recordType: TimeTrackRecordType;
|
|
13
|
-
modifiedBy: User;
|
|
14
|
-
lastModified: Date;
|
|
15
|
-
archived: boolean;
|
|
16
|
-
}
|