easywork-common-lib 1.0.949 → 1.0.950
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 -225
- 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 -31
- package/dist/common/database/base.entity.js +0 -165
- 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 -12
- package/dist/common/dtos/send-notification.dto.js +0 -66
- 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 -56
- package/dist/common/enums/notification.enum.js +0 -63
- package/dist/common/enums/notification.enum.js.map +0 -1
- package/dist/common/enums/sales.enum.d.ts +0 -120
- package/dist/common/enums/sales.enum.js +0 -144
- package/dist/common/enums/sales.enum.js.map +0 -1
- package/dist/common/enums/tools.enum.d.ts +0 -64
- package/dist/common/enums/tools.enum.js +0 -75
- 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/audit.entity.d.ts +0 -7
- package/dist/entities/audit.entity.js +0 -56
- package/dist/entities/audit.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 -20
- package/dist/entities/drive/file.entity.js +0 -178
- package/dist/entities/drive/file.entity.js.map +0 -1
- package/dist/entities/drive/folder.entity.d.ts +0 -19
- package/dist/entities/drive/folder.entity.js +0 -173
- 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 -18
- package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment.entity.js +0 -150
- 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 -89
- 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 -89
- 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 -12
- package/dist/entities/helpers/sales/poliza/index.js +0 -29
- 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/sales/poliza/poliza_settlement.entity.d.ts +0 -4
- package/dist/entities/helpers/sales/poliza/poliza_settlement.entity.js +0 -28
- package/dist/entities/helpers/sales/poliza/poliza_settlement.entity.js.map +0 -1
- package/dist/entities/helpers/tools/event_crm.entity.d.ts +0 -35
- package/dist/entities/helpers/tools/event_crm.entity.js +0 -251
- 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 -37
- package/dist/entities/helpers/tools/task_crm.entity.js +0 -258
- 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 -37
- package/dist/entities/index.js +0 -54
- package/dist/entities/index.js.map +0 -1
- package/dist/entities/login-history.entity.d.ts +0 -7
- package/dist/entities/login-history.entity.js +0 -53
- package/dist/entities/login-history.entity.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/policy/index.d.ts +0 -3
- package/dist/entities/policy/index.js +0 -20
- package/dist/entities/policy/index.js.map +0 -1
- package/dist/entities/policy/policy-version.entity.d.ts +0 -46
- package/dist/entities/policy/policy-version.entity.js +0 -427
- package/dist/entities/policy/policy-version.entity.js.map +0 -1
- package/dist/entities/policy/policy.entity.d.ts +0 -29
- package/dist/entities/policy/policy.entity.js +0 -296
- package/dist/entities/policy/policy.entity.js.map +0 -1
- package/dist/entities/policy/version-comment.entity.d.ts +0 -5
- package/dist/entities/policy/version-comment.entity.js +0 -35
- package/dist/entities/policy/version-comment.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 -13
- package/dist/entities/role.entity.js +0 -108
- 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 -34
- package/dist/entities/sales/agent.entity.js +0 -274
- 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 -60
- package/dist/entities/sales/contact.entity.js +0 -527
- 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 -63
- package/dist/entities/sales/lead.entity.js +0 -610
- package/dist/entities/sales/lead.entity.js.map +0 -1
- package/dist/entities/sales/policy-comment.entity.d.ts +0 -5
- package/dist/entities/sales/policy-comment.entity.js +0 -35
- package/dist/entities/sales/policy-comment.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 -36
- package/dist/entities/sales/poliza/poliza_claim.entity.js +0 -298
- 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 -33
- package/dist/entities/sales/poliza/poliza_fund-recovery.entity.js +0 -272
- 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 -36
- package/dist/entities/sales/poliza/poliza_reimbursement.entity.js +0 -290
- 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 -39
- package/dist/entities/sales/poliza/poliza_scheduling.entity.js +0 -312
- 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 -110
- package/dist/entities/sales/poliza.entity.js +0 -1051
- package/dist/entities/sales/poliza.entity.js.map +0 -1
- package/dist/entities/sales/poliza_pdf.entity.d.ts +0 -96
- package/dist/entities/sales/poliza_pdf.entity.js +0 -946
- package/dist/entities/sales/poliza_pdf.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 -37
- package/dist/entities/sales/receipt.entity.js +0 -297
- 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/diio-integration.entity.d.ts +0 -16
- package/dist/entities/thirdparty/diio-integration.entity.js +0 -74
- package/dist/entities/thirdparty/diio-integration.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/google-gmail-watch-record.entity.d.ts +0 -14
- package/dist/entities/thirdparty/google-gmail-watch-record.entity.js +0 -113
- package/dist/entities/thirdparty/google-gmail-watch-record.entity.js.map +0 -1
- package/dist/entities/thirdparty/google-webhooks-config.entity.d.ts +0 -19
- package/dist/entities/thirdparty/google-webhooks-config.entity.js +0 -82
- package/dist/entities/thirdparty/google-webhooks-config.entity.js.map +0 -1
- package/dist/entities/thirdparty/oauth.entity.d.ts +0 -24
- package/dist/entities/thirdparty/oauth.entity.js +0 -81
- 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/calendar-event-comment.entity.d.ts +0 -8
- package/dist/entities/tools/calendar/calendar-event-comment.entity.js +0 -39
- package/dist/entities/tools/calendar/calendar-event-comment.entity.js.map +0 -1
- package/dist/entities/tools/calendar/calendar-event-invitations.entity.d.ts +0 -13
- package/dist/entities/tools/calendar/calendar-event-invitations.entity.js +0 -48
- package/dist/entities/tools/calendar/calendar-event-invitations.entity.js.map +0 -1
- package/dist/entities/tools/calendar/calendar-general-config.entity.d.ts +0 -20
- package/dist/entities/tools/calendar/calendar-general-config.entity.js +0 -118
- package/dist/entities/tools/calendar/calendar-general-config.entity.js.map +0 -1
- package/dist/entities/tools/calendar/calendar-item.entity.d.ts +0 -17
- package/dist/entities/tools/calendar/calendar-item.entity.js +0 -60
- package/dist/entities/tools/calendar/calendar-item.entity.js.map +0 -1
- package/dist/entities/tools/calendar/calendar-reminder.entity.d.ts +0 -7
- package/dist/entities/tools/calendar/calendar-reminder.entity.js +0 -38
- package/dist/entities/tools/calendar/calendar-reminder.entity.js.map +0 -1
- package/dist/entities/tools/calendar/calendar-sub-item.entity.d.ts +0 -32
- package/dist/entities/tools/calendar/calendar-sub-item.entity.js +0 -104
- package/dist/entities/tools/calendar/calendar-sub-item.entity.js.map +0 -1
- package/dist/entities/tools/calendar/calendar-user-access.entity.d.ts +0 -13
- package/dist/entities/tools/calendar/calendar-user-access.entity.js +0 -46
- package/dist/entities/tools/calendar/calendar-user-access.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 -33
- package/dist/entities/tools/calendar/event.entity.js +0 -230
- package/dist/entities/tools/calendar/event.entity.js.map +0 -1
- package/dist/entities/tools/calendar/index.d.ts +0 -8
- package/dist/entities/tools/calendar/index.js +0 -25
- 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/mail/email-signature.entity.d.ts +0 -10
- package/dist/entities/tools/mail/email-signature.entity.js +0 -60
- package/dist/entities/tools/mail/email-signature.entity.js.map +0 -1
- package/dist/entities/tools/mail/mail.entity.d.ts +0 -50
- package/dist/entities/tools/mail/mail.entity.js +0 -120
- package/dist/entities/tools/mail/mail.entity.js.map +0 -1
- package/dist/entities/tools/mail/mailbox-user-access.entity.d.ts +0 -13
- package/dist/entities/tools/mail/mailbox-user-access.entity.js +0 -46
- package/dist/entities/tools/mail/mailbox-user-access.entity.js.map +0 -1
- package/dist/entities/tools/mail/mailbox.entity.d.ts +0 -57
- package/dist/entities/tools/mail/mailbox.entity.js +0 -104
- package/dist/entities/tools/mail/mailbox.entity.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 -52
- package/dist/entities/tools/task.entity.js +0 -451
- package/dist/entities/tools/task.entity.js.map +0 -1
- package/dist/entities/user-change-log.entity.d.ts +0 -22
- package/dist/entities/user-change-log.entity.js +0 -77
- package/dist/entities/user-change-log.entity.js.map +0 -1
- package/dist/entities/user-invitations.entity.d.ts +0 -16
- package/dist/entities/user-invitations.entity.js +0 -143
- package/dist/entities/user-invitations.entity.js.map +0 -1
- package/dist/entities/user.entity.d.ts +0 -37
- package/dist/entities/user.entity.js +0 -260
- 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 -290
- 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,61 +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.EntityFile = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const file_entity_1 = require("../drive/file.entity");
|
|
15
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
16
|
-
let EntityFile = class EntityFile extends typeorm_1.BaseEntity {
|
|
17
|
-
id;
|
|
18
|
-
entityId;
|
|
19
|
-
entityType;
|
|
20
|
-
fileId;
|
|
21
|
-
relation;
|
|
22
|
-
file;
|
|
23
|
-
};
|
|
24
|
-
exports.EntityFile = EntityFile;
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'UUID of the entity file', format: 'uuid' }),
|
|
27
|
-
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
|
28
|
-
__metadata("design:type", String)
|
|
29
|
-
], EntityFile.prototype, "id", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'ID of the associated entity', format: 'uuid' }),
|
|
32
|
-
(0, typeorm_1.Column)("uuid"),
|
|
33
|
-
__metadata("design:type", String)
|
|
34
|
-
], EntityFile.prototype, "entityId", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'Type of the associated entity' }),
|
|
37
|
-
(0, typeorm_1.Column)(),
|
|
38
|
-
__metadata("design:type", String)
|
|
39
|
-
], EntityFile.prototype, "entityType", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'ID of the associated file' }),
|
|
42
|
-
(0, typeorm_1.Column)(),
|
|
43
|
-
__metadata("design:type", String)
|
|
44
|
-
], EntityFile.prototype, "fileId", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'Relation description or type', required: false }),
|
|
47
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
48
|
-
__metadata("design:type", String)
|
|
49
|
-
], EntityFile.prototype, "relation", void 0);
|
|
50
|
-
__decorate([
|
|
51
|
-
(0, swagger_1.ApiProperty)({ type: () => file_entity_1.File, description: 'File entity associated' }),
|
|
52
|
-
(0, typeorm_1.ManyToOne)(() => file_entity_1.File, file => file.owners, {
|
|
53
|
-
onDelete: "CASCADE",
|
|
54
|
-
onUpdate: "CASCADE",
|
|
55
|
-
}),
|
|
56
|
-
__metadata("design:type", file_entity_1.File)
|
|
57
|
-
], EntityFile.prototype, "file", void 0);
|
|
58
|
-
exports.EntityFile = EntityFile = __decorate([
|
|
59
|
-
(0, typeorm_1.Entity)()
|
|
60
|
-
], EntityFile);
|
|
61
|
-
//# sourceMappingURL=entity_file.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
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mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE;QAC1C,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;8BACW,kBAAI;wCAAC;qBA1BP,UAAU;IADtB,IAAA,gBAAM,GAAE;GACI,UAAU,CA2BtB"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { BaseEntity } from "typeorm";
|
|
2
|
-
import { Folder } from "../drive/folder.entity";
|
|
3
|
-
export declare class EntityFolder extends BaseEntity {
|
|
4
|
-
id: string;
|
|
5
|
-
entityId: string;
|
|
6
|
-
entityType: string;
|
|
7
|
-
folderId: string;
|
|
8
|
-
relation: string;
|
|
9
|
-
folder: Folder;
|
|
10
|
-
}
|
|
@@ -1,61 +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.EntityFolder = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const folder_entity_1 = require("../drive/folder.entity");
|
|
15
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
16
|
-
let EntityFolder = class EntityFolder extends typeorm_1.BaseEntity {
|
|
17
|
-
id;
|
|
18
|
-
entityId;
|
|
19
|
-
entityType;
|
|
20
|
-
folderId;
|
|
21
|
-
relation;
|
|
22
|
-
folder;
|
|
23
|
-
};
|
|
24
|
-
exports.EntityFolder = EntityFolder;
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'UUID of the entity folder', format: 'uuid' }),
|
|
27
|
-
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
|
28
|
-
__metadata("design:type", String)
|
|
29
|
-
], EntityFolder.prototype, "id", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'ID of the associated entity', format: 'uuid' }),
|
|
32
|
-
(0, typeorm_1.Column)("uuid"),
|
|
33
|
-
__metadata("design:type", String)
|
|
34
|
-
], EntityFolder.prototype, "entityId", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'Type of the associated entity' }),
|
|
37
|
-
(0, typeorm_1.Column)(),
|
|
38
|
-
__metadata("design:type", String)
|
|
39
|
-
], EntityFolder.prototype, "entityType", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'ID of the associated folder', format: 'uuid' }),
|
|
42
|
-
(0, typeorm_1.Column)("uuid"),
|
|
43
|
-
__metadata("design:type", String)
|
|
44
|
-
], EntityFolder.prototype, "folderId", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'Relation description or type', required: false }),
|
|
47
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
48
|
-
__metadata("design:type", String)
|
|
49
|
-
], EntityFolder.prototype, "relation", void 0);
|
|
50
|
-
__decorate([
|
|
51
|
-
(0, swagger_1.ApiProperty)({ type: () => folder_entity_1.Folder, description: 'Folder entity associated' }),
|
|
52
|
-
(0, typeorm_1.ManyToOne)(() => folder_entity_1.Folder, folder => folder.owners, {
|
|
53
|
-
onDelete: "CASCADE",
|
|
54
|
-
onUpdate: "CASCADE",
|
|
55
|
-
}),
|
|
56
|
-
__metadata("design:type", folder_entity_1.Folder)
|
|
57
|
-
], EntityFolder.prototype, "folder", void 0);
|
|
58
|
-
exports.EntityFolder = EntityFolder = __decorate([
|
|
59
|
-
(0, typeorm_1.Entity)()
|
|
60
|
-
], EntityFolder);
|
|
61
|
-
//# sourceMappingURL=entity_folder.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"entity_folder.entity.js","sourceRoot":"","sources":["../../../src/entities/helpers/entity_folder.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAwF;AACxF,0DAAgD;AAChD,6CAA8C;AAGvC,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,oBAAU;IAG1C,EAAE,CAAS;IAIX,QAAQ,CAAS;IAIjB,UAAU,CAAS;IAInB,QAAQ,CAAS;IAIjB,QAAQ,CAAS;IAOV,MAAM,CAAS;CACvB,CAAA;AA3BY,oCAAY;AAGvB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,2BAA2B,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IACvF,IAAA,gCAAsB,EAAC,MAAM,CAAC;;wCACpB;AAIX;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,6BAA6B,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IACzF,IAAA,gBAAM,EAAC,MAAM,CAAC;;8CACE;AAIjB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,+BAA+B,EAAE,CAAC;IAC3E,IAAA,gBAAM,GAAE;;gDACU;AAInB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,6BAA6B,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IACzF,IAAA,gBAAM,EAAC,MAAM,CAAC;;8CACE;AAIjB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,8BAA8B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC3F,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CACV;AAOV;IALN,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,sBAAM,EAAE,WAAW,EAAE,0BAA0B,EAAE,CAAC;IAC5E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,sBAAM,EAAE,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,MAAM,EAAE;QAChD,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;8BACa,sBAAM;4CAAC;uBA1BX,YAAY;IADxB,IAAA,gBAAM,GAAE;GACI,YAAY,CA2BxB"}
|
|
@@ -1,22 +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("./entity_file.entity"), exports);
|
|
18
|
-
__exportStar(require("./entity_folder.entity"), exports);
|
|
19
|
-
__exportStar(require("./sales"), exports);
|
|
20
|
-
__exportStar(require("./tools"), exports);
|
|
21
|
-
__exportStar(require("./meeting_crm.entity"), exports);
|
|
22
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/entities/helpers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,yDAAuC;AACvC,0CAAwB;AACxB,0CAAwB;AACxB,uDAAqC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { BaseEntity } from "typeorm";
|
|
2
|
-
import { Meeting } from "../../entities";
|
|
3
|
-
import { MeetingCRMType } from "../../common";
|
|
4
|
-
import { Agent, Contact, Lead, Poliza, Receipt } from "../../entities/sales";
|
|
5
|
-
export declare class MeetingCRM extends BaseEntity {
|
|
6
|
-
id?: string;
|
|
7
|
-
type: MeetingCRMType;
|
|
8
|
-
meetingId: string;
|
|
9
|
-
meeting: Meeting;
|
|
10
|
-
contactId?: string;
|
|
11
|
-
contact?: Contact;
|
|
12
|
-
polizaId?: string;
|
|
13
|
-
poliza?: Poliza;
|
|
14
|
-
renewalId?: string;
|
|
15
|
-
renewal?: Poliza;
|
|
16
|
-
leadId?: string;
|
|
17
|
-
lead?: Lead;
|
|
18
|
-
receiptId?: string;
|
|
19
|
-
receipt?: Receipt;
|
|
20
|
-
agentId?: string;
|
|
21
|
-
agent?: Agent;
|
|
22
|
-
get crmEntity(): Contact | Poliza | Lead | Receipt | Agent | undefined;
|
|
23
|
-
}
|
|
@@ -1,166 +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.MeetingCRM = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const class_transformer_1 = require("class-transformer");
|
|
15
|
-
const entities_1 = require("../../entities");
|
|
16
|
-
const common_1 = require("../../common");
|
|
17
|
-
const sales_1 = require("../../entities/sales");
|
|
18
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
19
|
-
let MeetingCRM = class MeetingCRM extends typeorm_1.BaseEntity {
|
|
20
|
-
id;
|
|
21
|
-
type;
|
|
22
|
-
meetingId;
|
|
23
|
-
meeting;
|
|
24
|
-
contactId;
|
|
25
|
-
contact;
|
|
26
|
-
polizaId;
|
|
27
|
-
poliza;
|
|
28
|
-
renewalId;
|
|
29
|
-
renewal;
|
|
30
|
-
leadId;
|
|
31
|
-
lead;
|
|
32
|
-
receiptId;
|
|
33
|
-
receipt;
|
|
34
|
-
agentId;
|
|
35
|
-
agent;
|
|
36
|
-
get crmEntity() {
|
|
37
|
-
switch (this.type) {
|
|
38
|
-
case common_1.MeetingCRMType.CONTACT:
|
|
39
|
-
return this.contact;
|
|
40
|
-
case common_1.MeetingCRMType.POLIZA:
|
|
41
|
-
return this.poliza;
|
|
42
|
-
case common_1.MeetingCRMType.RENEWAL:
|
|
43
|
-
return this.renewal;
|
|
44
|
-
case common_1.MeetingCRMType.LEAD:
|
|
45
|
-
return this.lead;
|
|
46
|
-
case common_1.MeetingCRMType.RECEIPT:
|
|
47
|
-
return this.receipt;
|
|
48
|
-
case common_1.MeetingCRMType.AGENT:
|
|
49
|
-
return this.agent;
|
|
50
|
-
default:
|
|
51
|
-
return undefined;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
};
|
|
55
|
-
exports.MeetingCRM = MeetingCRM;
|
|
56
|
-
__decorate([
|
|
57
|
-
(0, swagger_1.ApiProperty)({
|
|
58
|
-
type: String,
|
|
59
|
-
description: "UUID del MeetingCRM",
|
|
60
|
-
format: "uuid",
|
|
61
|
-
}),
|
|
62
|
-
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
|
63
|
-
__metadata("design:type", String)
|
|
64
|
-
], MeetingCRM.prototype, "id", void 0);
|
|
65
|
-
__decorate([
|
|
66
|
-
(0, swagger_1.ApiProperty)({
|
|
67
|
-
enum: common_1.MeetingCRMType,
|
|
68
|
-
description: "Tipo de la entidad CRM relacionada",
|
|
69
|
-
}),
|
|
70
|
-
(0, typeorm_1.Column)({
|
|
71
|
-
type: "enum",
|
|
72
|
-
enum: common_1.MeetingCRMType,
|
|
73
|
-
}),
|
|
74
|
-
__metadata("design:type", String)
|
|
75
|
-
], MeetingCRM.prototype, "type", void 0);
|
|
76
|
-
__decorate([
|
|
77
|
-
(0, swagger_1.ApiProperty)({
|
|
78
|
-
type: String,
|
|
79
|
-
description: "ID del meeting asociado",
|
|
80
|
-
}),
|
|
81
|
-
(0, typeorm_1.Column)(),
|
|
82
|
-
__metadata("design:type", String)
|
|
83
|
-
], MeetingCRM.prototype, "meetingId", void 0);
|
|
84
|
-
__decorate([
|
|
85
|
-
(0, typeorm_1.ManyToOne)(() => entities_1.Meeting, (meeting) => meeting.crm, {
|
|
86
|
-
onDelete: "CASCADE",
|
|
87
|
-
onUpdate: "CASCADE",
|
|
88
|
-
}),
|
|
89
|
-
(0, typeorm_1.JoinColumn)({ name: "meetingId" }),
|
|
90
|
-
__metadata("design:type", entities_1.Meeting)
|
|
91
|
-
], MeetingCRM.prototype, "meeting", void 0);
|
|
92
|
-
__decorate([
|
|
93
|
-
(0, class_transformer_1.Exclude)(),
|
|
94
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
95
|
-
__metadata("design:type", String)
|
|
96
|
-
], MeetingCRM.prototype, "contactId", void 0);
|
|
97
|
-
__decorate([
|
|
98
|
-
(0, class_transformer_1.Exclude)(),
|
|
99
|
-
(0, typeorm_1.ManyToOne)(() => sales_1.Contact, { nullable: true, onDelete: "CASCADE" }),
|
|
100
|
-
(0, typeorm_1.JoinColumn)({ name: "contactId" }),
|
|
101
|
-
__metadata("design:type", sales_1.Contact)
|
|
102
|
-
], MeetingCRM.prototype, "contact", void 0);
|
|
103
|
-
__decorate([
|
|
104
|
-
(0, class_transformer_1.Exclude)(),
|
|
105
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
106
|
-
__metadata("design:type", String)
|
|
107
|
-
], MeetingCRM.prototype, "polizaId", void 0);
|
|
108
|
-
__decorate([
|
|
109
|
-
(0, class_transformer_1.Exclude)(),
|
|
110
|
-
(0, typeorm_1.ManyToOne)(() => sales_1.Poliza, { nullable: true, onDelete: "CASCADE" }),
|
|
111
|
-
(0, typeorm_1.JoinColumn)({ name: "polizaId" }),
|
|
112
|
-
__metadata("design:type", sales_1.Poliza)
|
|
113
|
-
], MeetingCRM.prototype, "poliza", void 0);
|
|
114
|
-
__decorate([
|
|
115
|
-
(0, class_transformer_1.Exclude)(),
|
|
116
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
117
|
-
__metadata("design:type", String)
|
|
118
|
-
], MeetingCRM.prototype, "renewalId", void 0);
|
|
119
|
-
__decorate([
|
|
120
|
-
(0, class_transformer_1.Exclude)(),
|
|
121
|
-
(0, typeorm_1.ManyToOne)(() => sales_1.Poliza, { nullable: true, onDelete: "CASCADE" }),
|
|
122
|
-
(0, typeorm_1.JoinColumn)({ name: "renewalId" }),
|
|
123
|
-
__metadata("design:type", sales_1.Poliza)
|
|
124
|
-
], MeetingCRM.prototype, "renewal", void 0);
|
|
125
|
-
__decorate([
|
|
126
|
-
(0, class_transformer_1.Exclude)(),
|
|
127
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
128
|
-
__metadata("design:type", String)
|
|
129
|
-
], MeetingCRM.prototype, "leadId", void 0);
|
|
130
|
-
__decorate([
|
|
131
|
-
(0, class_transformer_1.Exclude)(),
|
|
132
|
-
(0, typeorm_1.ManyToOne)(() => sales_1.Lead, { nullable: true, onDelete: "CASCADE" }),
|
|
133
|
-
(0, typeorm_1.JoinColumn)({ name: "leadId" }),
|
|
134
|
-
__metadata("design:type", sales_1.Lead)
|
|
135
|
-
], MeetingCRM.prototype, "lead", void 0);
|
|
136
|
-
__decorate([
|
|
137
|
-
(0, class_transformer_1.Exclude)(),
|
|
138
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
139
|
-
__metadata("design:type", String)
|
|
140
|
-
], MeetingCRM.prototype, "receiptId", void 0);
|
|
141
|
-
__decorate([
|
|
142
|
-
(0, class_transformer_1.Exclude)(),
|
|
143
|
-
(0, typeorm_1.ManyToOne)(() => sales_1.Receipt, { nullable: true, onDelete: "CASCADE" }),
|
|
144
|
-
(0, typeorm_1.JoinColumn)({ name: "receiptId" }),
|
|
145
|
-
__metadata("design:type", sales_1.Receipt)
|
|
146
|
-
], MeetingCRM.prototype, "receipt", void 0);
|
|
147
|
-
__decorate([
|
|
148
|
-
(0, class_transformer_1.Exclude)(),
|
|
149
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
150
|
-
__metadata("design:type", String)
|
|
151
|
-
], MeetingCRM.prototype, "agentId", void 0);
|
|
152
|
-
__decorate([
|
|
153
|
-
(0, class_transformer_1.Exclude)(),
|
|
154
|
-
(0, typeorm_1.ManyToOne)(() => sales_1.Agent, { nullable: true, onDelete: "CASCADE" }),
|
|
155
|
-
(0, typeorm_1.JoinColumn)({ name: "agentId" }),
|
|
156
|
-
__metadata("design:type", sales_1.Agent)
|
|
157
|
-
], MeetingCRM.prototype, "agent", void 0);
|
|
158
|
-
__decorate([
|
|
159
|
-
(0, class_transformer_1.Expose)(),
|
|
160
|
-
__metadata("design:type", Object),
|
|
161
|
-
__metadata("design:paramtypes", [])
|
|
162
|
-
], MeetingCRM.prototype, "crmEntity", null);
|
|
163
|
-
exports.MeetingCRM = MeetingCRM = __decorate([
|
|
164
|
-
(0, typeorm_1.Entity)()
|
|
165
|
-
], MeetingCRM);
|
|
166
|
-
//# sourceMappingURL=meeting_crm.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"meeting_crm.entity.js","sourceRoot":"","sources":["../../../src/entities/helpers/meeting_crm.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAOiB;AACjB,yDAAoD;AACpD,6CAAyC;AACzC,yCAA8C;AAC9C,gDAA6E;AAC7E,6CAA8C;AAGvC,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,oBAAU;IAOxC,EAAE,CAAU;IAUZ,IAAI,CAAiB;IAOrB,SAAS,CAAS;IAOlB,OAAO,CAAU;IAKjB,SAAS,CAAU;IAKnB,OAAO,CAAW;IAIlB,QAAQ,CAAU;IAKlB,MAAM,CAAU;IAIhB,SAAS,CAAU;IAKnB,OAAO,CAAU;IAIjB,MAAM,CAAU;IAKhB,IAAI,CAAQ;IAIZ,SAAS,CAAU;IAKnB,OAAO,CAAW;IAIlB,OAAO,CAAU;IAKjB,KAAK,CAAS;IAEd,IACI,SAAS;QACX,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;YAClB,KAAK,uBAAc,CAAC,OAAO;gBACzB,OAAO,IAAI,CAAC,OAAO,CAAC;YACtB,KAAK,uBAAc,CAAC,MAAM;gBACxB,OAAO,IAAI,CAAC,MAAM,CAAC;YACrB,KAAK,uBAAc,CAAC,OAAO;gBACzB,OAAO,IAAI,CAAC,OAAO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AHC,IAAA,2BAAO,GAAE;IACT,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,eAAO,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IACjE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;8BACxB,eAAO;2CAAC;AAIlB;IAFC,IAAA,2BAAO,GAAE;IACT,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2CACV;AAKjB;IAHC,IAAA,2BAAO,GAAE;IACT,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,aAAK,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IAC/D,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;8BACxB,aAAK;yCAAC;AAEd;IAAC,IAAA,0BAAM,GAAE;;;2CAkBR;qBA1GU,UAAU;IADtB,IAAA,gBAAM,GAAE;GACI,UAAU,CA2GtB"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Agent } from "../../../../sales";
|
|
2
|
-
import { AgentConnectionStage } from "../connection/h_agent_connection_stage.entity";
|
|
3
|
-
import { BaseEntitySimple } from "../../../../../common";
|
|
4
|
-
import { User } from "../../../../user.entity";
|
|
5
|
-
import { AgentSource } from "../h_agent_source.entity";
|
|
6
|
-
export declare class AgentConnection extends BaseEntitySimple {
|
|
7
|
-
agentId: string;
|
|
8
|
-
agentConnectionStageId: string;
|
|
9
|
-
idcardNumber: string;
|
|
10
|
-
effectiveDateIdcard: Date;
|
|
11
|
-
effectiveDateCua: Date;
|
|
12
|
-
startDate: Date;
|
|
13
|
-
endDate: Date;
|
|
14
|
-
cnsfDate: Date;
|
|
15
|
-
closed: boolean;
|
|
16
|
-
assignedBy: User;
|
|
17
|
-
source: AgentSource;
|
|
18
|
-
agent: Agent;
|
|
19
|
-
agentConnectionStage: AgentConnectionStage;
|
|
20
|
-
}
|
|
@@ -1,160 +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.AgentConnection = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
15
|
-
const sales_1 = require("../../../../sales");
|
|
16
|
-
const h_agent_connection_stage_entity_1 = require("../connection/h_agent_connection_stage.entity");
|
|
17
|
-
const common_1 = require("../../../../../common");
|
|
18
|
-
const user_entity_1 = require("../../../../user.entity");
|
|
19
|
-
const h_agent_source_entity_1 = require("../h_agent_source.entity");
|
|
20
|
-
const class_transformer_1 = require("class-transformer");
|
|
21
|
-
let AgentConnection = class AgentConnection extends common_1.BaseEntitySimple {
|
|
22
|
-
agentId;
|
|
23
|
-
agentConnectionStageId;
|
|
24
|
-
idcardNumber;
|
|
25
|
-
effectiveDateIdcard;
|
|
26
|
-
effectiveDateCua;
|
|
27
|
-
startDate;
|
|
28
|
-
endDate;
|
|
29
|
-
cnsfDate;
|
|
30
|
-
closed;
|
|
31
|
-
assignedBy;
|
|
32
|
-
source;
|
|
33
|
-
agent;
|
|
34
|
-
agentConnectionStage;
|
|
35
|
-
};
|
|
36
|
-
exports.AgentConnection = AgentConnection;
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, class_transformer_1.Exclude)(),
|
|
39
|
-
(0, swagger_1.ApiProperty)({
|
|
40
|
-
type: String,
|
|
41
|
-
description: "ID of the associated agent",
|
|
42
|
-
format: "uuid",
|
|
43
|
-
}),
|
|
44
|
-
(0, typeorm_1.Column)({ type: "uuid" }),
|
|
45
|
-
__metadata("design:type", String)
|
|
46
|
-
], AgentConnection.prototype, "agentId", void 0);
|
|
47
|
-
__decorate([
|
|
48
|
-
(0, swagger_1.ApiProperty)({
|
|
49
|
-
type: String,
|
|
50
|
-
description: "ID of the associated agentConnectionStage",
|
|
51
|
-
format: "uuid",
|
|
52
|
-
}),
|
|
53
|
-
(0, typeorm_1.Column)({ type: "uuid" }),
|
|
54
|
-
__metadata("design:type", String)
|
|
55
|
-
], AgentConnection.prototype, "agentConnectionStageId", void 0);
|
|
56
|
-
__decorate([
|
|
57
|
-
(0, swagger_1.ApiProperty)({
|
|
58
|
-
type: String,
|
|
59
|
-
description: "Numero cédula Provisional/Definitiva",
|
|
60
|
-
required: false,
|
|
61
|
-
}),
|
|
62
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
63
|
-
__metadata("design:type", String)
|
|
64
|
-
], AgentConnection.prototype, "idcardNumber", void 0);
|
|
65
|
-
__decorate([
|
|
66
|
-
(0, swagger_1.ApiProperty)({
|
|
67
|
-
type: Date,
|
|
68
|
-
description: "Fecha de vigencia cedula",
|
|
69
|
-
required: false,
|
|
70
|
-
}),
|
|
71
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
72
|
-
__metadata("design:type", Date)
|
|
73
|
-
], AgentConnection.prototype, "effectiveDateIdcard", void 0);
|
|
74
|
-
__decorate([
|
|
75
|
-
(0, swagger_1.ApiProperty)({
|
|
76
|
-
type: Date,
|
|
77
|
-
description: "Fecha de vigencia cedula",
|
|
78
|
-
required: false,
|
|
79
|
-
}),
|
|
80
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
81
|
-
__metadata("design:type", Date)
|
|
82
|
-
], AgentConnection.prototype, "effectiveDateCua", void 0);
|
|
83
|
-
__decorate([
|
|
84
|
-
(0, swagger_1.ApiProperty)({
|
|
85
|
-
type: Date,
|
|
86
|
-
description: "Start date of the process",
|
|
87
|
-
required: false,
|
|
88
|
-
}),
|
|
89
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
90
|
-
__metadata("design:type", Date)
|
|
91
|
-
], AgentConnection.prototype, "startDate", void 0);
|
|
92
|
-
__decorate([
|
|
93
|
-
(0, swagger_1.ApiProperty)({
|
|
94
|
-
type: Date,
|
|
95
|
-
description: "End date of the process",
|
|
96
|
-
required: false,
|
|
97
|
-
}),
|
|
98
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
99
|
-
__metadata("design:type", Date)
|
|
100
|
-
], AgentConnection.prototype, "endDate", void 0);
|
|
101
|
-
__decorate([
|
|
102
|
-
(0, swagger_1.ApiProperty)({
|
|
103
|
-
type: Date,
|
|
104
|
-
description: "Date of CNFS",
|
|
105
|
-
required: false,
|
|
106
|
-
}),
|
|
107
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
108
|
-
__metadata("design:type", Date)
|
|
109
|
-
], AgentConnection.prototype, "cnsfDate", void 0);
|
|
110
|
-
__decorate([
|
|
111
|
-
(0, swagger_1.ApiProperty)({
|
|
112
|
-
type: Boolean,
|
|
113
|
-
description: "Is the process closed?",
|
|
114
|
-
required: false,
|
|
115
|
-
}),
|
|
116
|
-
(0, typeorm_1.Column)({ default: false }),
|
|
117
|
-
__metadata("design:type", Boolean)
|
|
118
|
-
], AgentConnection.prototype, "closed", void 0);
|
|
119
|
-
__decorate([
|
|
120
|
-
(0, swagger_1.ApiProperty)({
|
|
121
|
-
type: () => user_entity_1.User,
|
|
122
|
-
description: "Responsible (User)",
|
|
123
|
-
}),
|
|
124
|
-
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, { nullable: true, onDelete: "SET NULL" }),
|
|
125
|
-
(0, typeorm_1.JoinColumn)(),
|
|
126
|
-
__metadata("design:type", user_entity_1.User)
|
|
127
|
-
], AgentConnection.prototype, "assignedBy", void 0);
|
|
128
|
-
__decorate([
|
|
129
|
-
(0, swagger_1.ApiProperty)({
|
|
130
|
-
type: () => h_agent_source_entity_1.AgentSource,
|
|
131
|
-
description: "Agent Source",
|
|
132
|
-
}),
|
|
133
|
-
(0, typeorm_1.ManyToOne)(() => h_agent_source_entity_1.AgentSource, { nullable: true, onDelete: "SET NULL" }),
|
|
134
|
-
(0, typeorm_1.JoinColumn)(),
|
|
135
|
-
__metadata("design:type", h_agent_source_entity_1.AgentSource)
|
|
136
|
-
], AgentConnection.prototype, "source", void 0);
|
|
137
|
-
__decorate([
|
|
138
|
-
(0, swagger_1.ApiProperty)({ type: () => sales_1.Agent, description: "Agent entity associated" }),
|
|
139
|
-
(0, typeorm_1.ManyToOne)(() => sales_1.Agent, (agent) => agent.connections, {
|
|
140
|
-
onDelete: "CASCADE",
|
|
141
|
-
onUpdate: "CASCADE",
|
|
142
|
-
}),
|
|
143
|
-
__metadata("design:type", sales_1.Agent)
|
|
144
|
-
], AgentConnection.prototype, "agent", void 0);
|
|
145
|
-
__decorate([
|
|
146
|
-
(0, swagger_1.ApiProperty)({
|
|
147
|
-
type: () => h_agent_connection_stage_entity_1.AgentConnectionStage,
|
|
148
|
-
description: "AgentConnectionStage entity associated",
|
|
149
|
-
}),
|
|
150
|
-
(0, typeorm_1.ManyToOne)(() => h_agent_connection_stage_entity_1.AgentConnectionStage, {
|
|
151
|
-
onDelete: "CASCADE",
|
|
152
|
-
onUpdate: "CASCADE",
|
|
153
|
-
eager: true,
|
|
154
|
-
}),
|
|
155
|
-
__metadata("design:type", h_agent_connection_stage_entity_1.AgentConnectionStage)
|
|
156
|
-
], AgentConnection.prototype, "agentConnectionStage", void 0);
|
|
157
|
-
exports.AgentConnection = AgentConnection = __decorate([
|
|
158
|
-
(0, typeorm_1.Entity)()
|
|
159
|
-
], AgentConnection);
|
|
160
|
-
//# sourceMappingURL=h_agent_connection.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"h_agent_connection.entity.js","sourceRoot":"","sources":["../../../../../../src/entities/helpers/sales/agent/connection/h_agent_connection.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,6CAA8C;AAC9C,6CAA0C;AAC1C,mGAAqF;AACrF,kDAAyD;AACzD,yDAA+C;AAC/C,oEAAuD;AACvD,yDAA4C;AAGrC,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,yBAAgB;IAQnD,OAAO,CAAS;IAQhB,sBAAsB,CAAS;IAQ/B,YAAY,CAAS;IAQrB,mBAAmB,CAAO;IAQ1B,gBAAgB,CAAO;IASvB,SAAS,CAAO;IAShB,OAAO,CAAO;IASd,QAAQ,CAAO;IASf,MAAM,CAAU;IAShB,UAAU,CAAO;IAQjB,MAAM,CAAc;IAOb,KAAK,CAAQ;IAWb,oBAAoB,CAAuB;CACnD,CAAA;AAhHY,0CAAe;AAQ1B;IAPC,IAAA,2BAAO,GAAE;IACT,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,4BAA4B;QACzC,MAAM,EAAE,MAAM;KACf,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;gDACT;AAQhB;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,2CAA2C;QACxD,MAAM,EAAE,MAAM;KACf,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;+DACM;AAQ/B;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,sCAAsC;QACnD,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,I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"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.AgentConnectionStage = void 0;
|
|
13
|
-
const base_entity_1 = require("../../../../../common/database/base.entity");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
const typeorm_1 = require("typeorm");
|
|
16
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
17
|
-
let AgentConnectionStage = class AgentConnectionStage extends base_entity_1.BaseEntitySimple {
|
|
18
|
-
name;
|
|
19
|
-
idx;
|
|
20
|
-
};
|
|
21
|
-
exports.AgentConnectionStage = AgentConnectionStage;
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, swagger_1.ApiProperty)({
|
|
24
|
-
type: String,
|
|
25
|
-
description: "Name of the Agent Connection stage",
|
|
26
|
-
minLength: 1,
|
|
27
|
-
}),
|
|
28
|
-
(0, class_validator_1.MinLength)(1),
|
|
29
|
-
(0, typeorm_1.Column)({ unique: true }),
|
|
30
|
-
__metadata("design:type", String)
|
|
31
|
-
], AgentConnectionStage.prototype, "name", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
(0, swagger_1.ApiProperty)({
|
|
34
|
-
type: Number,
|
|
35
|
-
description: "Index of the agent connection stage",
|
|
36
|
-
}),
|
|
37
|
-
(0, typeorm_1.Column)(),
|
|
38
|
-
__metadata("design:type", Number)
|
|
39
|
-
], AgentConnectionStage.prototype, "idx", void 0);
|
|
40
|
-
exports.AgentConnectionStage = AgentConnectionStage = __decorate([
|
|
41
|
-
(0, typeorm_1.Entity)()
|
|
42
|
-
], AgentConnectionStage);
|
|
43
|
-
//# sourceMappingURL=h_agent_connection_stage.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"h_agent_connection_stage.entity.js","sourceRoot":"","sources":["../../../../../../src/entities/helpers/sales/agent/connection/h_agent_connection_stage.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4EAA8E;AAC9E,qDAA4C;AAC5C,qCAAyC;AACzC,6CAA8C;AAGvC,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,8BAAgB;IAQxD,IAAI,CAAS;IAOb,GAAG,CAAS;CACb,CAAA;AAhBY,oDAAoB;AAQ/B;IAPC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,oCAAoC;QACjD,SAAS,EAAE,CAAC;KACb,CAAC;IACD,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;kDACZ;AAOb;IALC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,qCAAqC;KACnD,CAAC;IACD,IAAA,gBAAM,GAAE;;iDACG;+BAfD,oBAAoB;IADhC,IAAA,gBAAM,GAAE;GACI,oBAAoB,CAgBhC"}
|