easywork-common-lib 1.0.948 → 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/.gitattributes +2 -2
- package/.github/workflows/npm-publish.yml +33 -33
- package/.vscode/settings.json +12 -12
- package/justfile +8 -8
- package/package.json +46 -46
- package/scripts/bump.sh +8 -8
- package/test.bat +15 -15
- package/tsconfig.build.json +4 -4
- package/tsconfig.json +25 -25
- 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/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.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/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/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.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 -280
- 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,296 +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.Policy = void 0;
|
|
13
|
-
const entities_1 = require("../../entities");
|
|
14
|
-
const base_entity_1 = require("../../common/database/base.entity");
|
|
15
|
-
const typeorm_1 = require("typeorm");
|
|
16
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
17
|
-
const enums_1 = require("../../common/enums");
|
|
18
|
-
const policy_version_entity_1 = require("./policy-version.entity");
|
|
19
|
-
let Policy = class Policy extends base_entity_1.EntityBaseWithUser {
|
|
20
|
-
poliza;
|
|
21
|
-
type;
|
|
22
|
-
insurance;
|
|
23
|
-
clientCode;
|
|
24
|
-
contact;
|
|
25
|
-
name;
|
|
26
|
-
status;
|
|
27
|
-
versions;
|
|
28
|
-
assignedBy;
|
|
29
|
-
observers;
|
|
30
|
-
partner;
|
|
31
|
-
gid;
|
|
32
|
-
agenteIntermediario;
|
|
33
|
-
reimbursements;
|
|
34
|
-
claims;
|
|
35
|
-
schedulings;
|
|
36
|
-
fundRecoveries;
|
|
37
|
-
searchVector;
|
|
38
|
-
tasks;
|
|
39
|
-
comments;
|
|
40
|
-
cancelReason;
|
|
41
|
-
settlement;
|
|
42
|
-
receipts;
|
|
43
|
-
};
|
|
44
|
-
exports.Policy = Policy;
|
|
45
|
-
__decorate([
|
|
46
|
-
(0, swagger_1.ApiProperty)({
|
|
47
|
-
example: "5014484784",
|
|
48
|
-
description: "Policy number (numeric or alphanumeric)",
|
|
49
|
-
}),
|
|
50
|
-
(0, typeorm_1.Column)({ type: "varchar", length: 100 }),
|
|
51
|
-
__metadata("design:type", String)
|
|
52
|
-
], Policy.prototype, "poliza", void 0);
|
|
53
|
-
__decorate([
|
|
54
|
-
(0, swagger_1.ApiProperty)({
|
|
55
|
-
type: () => entities_1.PolizaType,
|
|
56
|
-
description: "Type of the policy",
|
|
57
|
-
required: false,
|
|
58
|
-
}),
|
|
59
|
-
(0, typeorm_1.ManyToOne)(() => entities_1.PolizaType, {
|
|
60
|
-
onDelete: "SET NULL",
|
|
61
|
-
onUpdate: "CASCADE",
|
|
62
|
-
nullable: true,
|
|
63
|
-
}),
|
|
64
|
-
__metadata("design:type", entities_1.PolizaType)
|
|
65
|
-
], Policy.prototype, "type", void 0);
|
|
66
|
-
__decorate([
|
|
67
|
-
(0, swagger_1.ApiProperty)({
|
|
68
|
-
type: () => entities_1.PolizaInsurance,
|
|
69
|
-
description: "Insurance associated with the policy",
|
|
70
|
-
required: false,
|
|
71
|
-
}),
|
|
72
|
-
(0, typeorm_1.ManyToOne)(() => entities_1.PolizaInsurance, {
|
|
73
|
-
onDelete: "SET NULL",
|
|
74
|
-
onUpdate: "CASCADE",
|
|
75
|
-
nullable: true,
|
|
76
|
-
}),
|
|
77
|
-
__metadata("design:type", entities_1.PolizaInsurance)
|
|
78
|
-
], Policy.prototype, "insurance", void 0);
|
|
79
|
-
__decorate([
|
|
80
|
-
(0, swagger_1.ApiProperty)({ type: String, description: "Client code", required: false }),
|
|
81
|
-
(0, typeorm_1.Column)({ length: 75, nullable: true }),
|
|
82
|
-
__metadata("design:type", String)
|
|
83
|
-
], Policy.prototype, "clientCode", void 0);
|
|
84
|
-
__decorate([
|
|
85
|
-
(0, swagger_1.ApiProperty)({
|
|
86
|
-
type: () => entities_1.Contact,
|
|
87
|
-
description: "Contact associated with the policy",
|
|
88
|
-
required: false,
|
|
89
|
-
}),
|
|
90
|
-
(0, typeorm_1.ManyToOne)(() => entities_1.Contact, {
|
|
91
|
-
onDelete: "SET NULL",
|
|
92
|
-
onUpdate: "CASCADE",
|
|
93
|
-
nullable: true,
|
|
94
|
-
}),
|
|
95
|
-
__metadata("design:type", entities_1.Contact)
|
|
96
|
-
], Policy.prototype, "contact", void 0);
|
|
97
|
-
__decorate([
|
|
98
|
-
(0, swagger_1.ApiProperty)({
|
|
99
|
-
type: String,
|
|
100
|
-
description: "Name of the policy",
|
|
101
|
-
required: false,
|
|
102
|
-
}),
|
|
103
|
-
(0, typeorm_1.Column)({ length: 255, nullable: true }),
|
|
104
|
-
__metadata("design:type", String)
|
|
105
|
-
], Policy.prototype, "name", void 0);
|
|
106
|
-
__decorate([
|
|
107
|
-
(0, swagger_1.ApiProperty)({
|
|
108
|
-
enum: enums_1.PolicyStatus,
|
|
109
|
-
description: "Status of the policy",
|
|
110
|
-
required: false,
|
|
111
|
-
}),
|
|
112
|
-
(0, typeorm_1.Column)({
|
|
113
|
-
type: "enum",
|
|
114
|
-
enum: enums_1.PolicyStatus,
|
|
115
|
-
nullable: true,
|
|
116
|
-
}),
|
|
117
|
-
__metadata("design:type", String)
|
|
118
|
-
], Policy.prototype, "status", void 0);
|
|
119
|
-
__decorate([
|
|
120
|
-
(0, swagger_1.ApiProperty)({
|
|
121
|
-
type: () => [policy_version_entity_1.PolicyVersion],
|
|
122
|
-
description: "Versions of the policy",
|
|
123
|
-
required: false,
|
|
124
|
-
}),
|
|
125
|
-
(0, typeorm_1.OneToMany)(() => policy_version_entity_1.PolicyVersion, (versions) => versions.policy, {
|
|
126
|
-
onDelete: "CASCADE",
|
|
127
|
-
onUpdate: "CASCADE",
|
|
128
|
-
}),
|
|
129
|
-
__metadata("design:type", Array)
|
|
130
|
-
], Policy.prototype, "versions", void 0);
|
|
131
|
-
__decorate([
|
|
132
|
-
(0, swagger_1.ApiProperty)({
|
|
133
|
-
type: () => entities_1.User,
|
|
134
|
-
description: "User responsible for the policy.",
|
|
135
|
-
required: false,
|
|
136
|
-
}),
|
|
137
|
-
(0, typeorm_1.ManyToOne)(() => entities_1.User, {
|
|
138
|
-
onDelete: "SET NULL",
|
|
139
|
-
onUpdate: "CASCADE",
|
|
140
|
-
nullable: true,
|
|
141
|
-
}),
|
|
142
|
-
__metadata("design:type", entities_1.User)
|
|
143
|
-
], Policy.prototype, "assignedBy", void 0);
|
|
144
|
-
__decorate([
|
|
145
|
-
(0, swagger_1.ApiProperty)({
|
|
146
|
-
type: () => [entities_1.User],
|
|
147
|
-
description: "Observers of the Poliza",
|
|
148
|
-
required: false,
|
|
149
|
-
}),
|
|
150
|
-
(0, typeorm_1.ManyToMany)(() => entities_1.User, {
|
|
151
|
-
onDelete: "CASCADE",
|
|
152
|
-
onUpdate: "CASCADE",
|
|
153
|
-
}),
|
|
154
|
-
(0, typeorm_1.JoinTable)(),
|
|
155
|
-
__metadata("design:type", Array)
|
|
156
|
-
], Policy.prototype, "observers", void 0);
|
|
157
|
-
__decorate([
|
|
158
|
-
(0, swagger_1.ApiProperty)({
|
|
159
|
-
type: () => entities_1.Agent,
|
|
160
|
-
description: "Partner associated with the poliza",
|
|
161
|
-
required: false,
|
|
162
|
-
}),
|
|
163
|
-
(0, typeorm_1.ManyToOne)(() => entities_1.Agent, {
|
|
164
|
-
onDelete: "SET NULL",
|
|
165
|
-
onUpdate: "CASCADE",
|
|
166
|
-
nullable: true,
|
|
167
|
-
}),
|
|
168
|
-
__metadata("design:type", entities_1.Agent)
|
|
169
|
-
], Policy.prototype, "partner", void 0);
|
|
170
|
-
__decorate([
|
|
171
|
-
(0, swagger_1.ApiProperty)({
|
|
172
|
-
type: String,
|
|
173
|
-
description: "Receipt GID",
|
|
174
|
-
required: false,
|
|
175
|
-
}),
|
|
176
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
177
|
-
__metadata("design:type", String)
|
|
178
|
-
], Policy.prototype, "gid", void 0);
|
|
179
|
-
__decorate([
|
|
180
|
-
(0, swagger_1.ApiProperty)({
|
|
181
|
-
type: () => entities_1.AgenteIntermediario,
|
|
182
|
-
description: "Agente Intermediary associated with the policy",
|
|
183
|
-
required: false,
|
|
184
|
-
}),
|
|
185
|
-
(0, typeorm_1.ManyToOne)(() => entities_1.AgenteIntermediario, {
|
|
186
|
-
onDelete: "SET NULL",
|
|
187
|
-
onUpdate: "CASCADE",
|
|
188
|
-
nullable: true,
|
|
189
|
-
}),
|
|
190
|
-
__metadata("design:type", entities_1.AgenteIntermediario)
|
|
191
|
-
], Policy.prototype, "agenteIntermediario", void 0);
|
|
192
|
-
__decorate([
|
|
193
|
-
(0, swagger_1.ApiProperty)({
|
|
194
|
-
type: () => [entities_1.PolizaReimbursement],
|
|
195
|
-
description: "Reembolsos",
|
|
196
|
-
isArray: true,
|
|
197
|
-
}),
|
|
198
|
-
(0, typeorm_1.OneToMany)(() => entities_1.PolizaReimbursement, (polizaReimbursement) => polizaReimbursement.policy, {
|
|
199
|
-
cascade: false,
|
|
200
|
-
}),
|
|
201
|
-
__metadata("design:type", Array)
|
|
202
|
-
], Policy.prototype, "reimbursements", void 0);
|
|
203
|
-
__decorate([
|
|
204
|
-
(0, swagger_1.ApiProperty)({
|
|
205
|
-
type: () => [entities_1.PolizaClaim],
|
|
206
|
-
description: "Siniestros",
|
|
207
|
-
isArray: true,
|
|
208
|
-
}),
|
|
209
|
-
(0, typeorm_1.OneToMany)(() => entities_1.PolizaClaim, (polizaClaim) => polizaClaim.policy, {
|
|
210
|
-
cascade: false,
|
|
211
|
-
}),
|
|
212
|
-
__metadata("design:type", Array)
|
|
213
|
-
], Policy.prototype, "claims", void 0);
|
|
214
|
-
__decorate([
|
|
215
|
-
(0, swagger_1.ApiProperty)({
|
|
216
|
-
type: () => [entities_1.PolizaScheduling],
|
|
217
|
-
description: "Programaciones",
|
|
218
|
-
isArray: true,
|
|
219
|
-
}),
|
|
220
|
-
(0, typeorm_1.OneToMany)(() => entities_1.PolizaScheduling, (polizaScheduling) => polizaScheduling.policy, {
|
|
221
|
-
cascade: false,
|
|
222
|
-
}),
|
|
223
|
-
__metadata("design:type", Array)
|
|
224
|
-
], Policy.prototype, "schedulings", void 0);
|
|
225
|
-
__decorate([
|
|
226
|
-
(0, swagger_1.ApiProperty)({
|
|
227
|
-
type: () => [entities_1.PolizaFundRecovery],
|
|
228
|
-
description: "Rescates de fondos",
|
|
229
|
-
isArray: true,
|
|
230
|
-
}),
|
|
231
|
-
(0, typeorm_1.OneToMany)(() => entities_1.PolizaFundRecovery, (polizaFundRecovery) => polizaFundRecovery.policy, {
|
|
232
|
-
cascade: false,
|
|
233
|
-
}),
|
|
234
|
-
__metadata("design:type", Array)
|
|
235
|
-
], Policy.prototype, "fundRecoveries", void 0);
|
|
236
|
-
__decorate([
|
|
237
|
-
(0, typeorm_1.Column)({ type: "tsvector", nullable: true }),
|
|
238
|
-
__metadata("design:type", String)
|
|
239
|
-
], Policy.prototype, "searchVector", void 0);
|
|
240
|
-
__decorate([
|
|
241
|
-
(0, swagger_1.ApiProperty)({
|
|
242
|
-
type: () => [entities_1.TaskCRM],
|
|
243
|
-
description: "Tasks associated with the poliza",
|
|
244
|
-
}),
|
|
245
|
-
(0, typeorm_1.OneToMany)(() => entities_1.TaskCRM, (task) => task.policy, {
|
|
246
|
-
cascade: true,
|
|
247
|
-
onDelete: "CASCADE",
|
|
248
|
-
}),
|
|
249
|
-
__metadata("design:type", Array)
|
|
250
|
-
], Policy.prototype, "tasks", void 0);
|
|
251
|
-
__decorate([
|
|
252
|
-
(0, swagger_1.ApiProperty)({
|
|
253
|
-
type: () => [entities_1.PolicyComment],
|
|
254
|
-
description: "Comments on the policy",
|
|
255
|
-
}),
|
|
256
|
-
(0, typeorm_1.OneToMany)(() => entities_1.PolicyComment, (policyComment) => policyComment.policy),
|
|
257
|
-
(0, typeorm_1.JoinColumn)(),
|
|
258
|
-
__metadata("design:type", Array)
|
|
259
|
-
], Policy.prototype, "comments", void 0);
|
|
260
|
-
__decorate([
|
|
261
|
-
(0, swagger_1.ApiProperty)({
|
|
262
|
-
type: () => entities_1.PolizaCancelReason,
|
|
263
|
-
description: "Cancel Reason",
|
|
264
|
-
required: false,
|
|
265
|
-
}),
|
|
266
|
-
(0, typeorm_1.ManyToOne)(() => entities_1.PolizaCancelReason, {
|
|
267
|
-
onDelete: "SET NULL",
|
|
268
|
-
onUpdate: "CASCADE",
|
|
269
|
-
}),
|
|
270
|
-
__metadata("design:type", entities_1.PolizaCancelReason)
|
|
271
|
-
], Policy.prototype, "cancelReason", void 0);
|
|
272
|
-
__decorate([
|
|
273
|
-
(0, swagger_1.ApiProperty)({
|
|
274
|
-
type: () => entities_1.PolizaSettlement,
|
|
275
|
-
description: "Settlement",
|
|
276
|
-
required: false,
|
|
277
|
-
}),
|
|
278
|
-
(0, typeorm_1.ManyToOne)(() => entities_1.PolizaSettlement, {
|
|
279
|
-
onDelete: "SET NULL",
|
|
280
|
-
onUpdate: "CASCADE",
|
|
281
|
-
}),
|
|
282
|
-
__metadata("design:type", entities_1.PolizaSettlement)
|
|
283
|
-
], Policy.prototype, "settlement", void 0);
|
|
284
|
-
__decorate([
|
|
285
|
-
(0, swagger_1.ApiProperty)({ type: () => [entities_1.Receipt], description: "Receipts" }),
|
|
286
|
-
(0, typeorm_1.OneToMany)(() => entities_1.Receipt, (receipts) => receipts.policy, {
|
|
287
|
-
onDelete: "CASCADE",
|
|
288
|
-
onUpdate: "CASCADE",
|
|
289
|
-
eager: true,
|
|
290
|
-
}),
|
|
291
|
-
__metadata("design:type", Array)
|
|
292
|
-
], Policy.prototype, "receipts", void 0);
|
|
293
|
-
exports.Policy = Policy = __decorate([
|
|
294
|
-
(0, typeorm_1.Entity)()
|
|
295
|
-
], Policy);
|
|
296
|
-
//# sourceMappingURL=policy.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"policy.entity.js","sourceRoot":"","sources":["../../../src/entities/policy/policy.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAgBwB;AACxB,mEAAuE;AACvE,qCAQiB;AACjB,6CAA8C;AAC9C,8CAAkD;AAClD,mEAAwD;AAcjD,IAAM,MAAM,GAAZ,MAAM,MAAO,SAAQ,gCAAkB;IAU5C,MAAM,CAAS;IAYf,IAAI,CAAa;IAajB,SAAS,CAAkB;IAI3B,UAAU,CAAS;IAYnB,OAAO,CAAU;IAQjB,IAAI,CAAS;IAYb,MAAM,CAAe;IAWrB,QAAQ,CAA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C,QAAQ,EAAE,UAAU;QACpB,QAAQ,EAAE,SAAS;KACpB,CAAC;8BACU,2BAAgB;0CAAC;AAQ7B;IANC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC,kBAAO,CAAC,EAAE,WAAW,EAAE,UAAU,EAAE,CAAC;IAC/D,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAO,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,MAAM,EAAE;QACvD,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,KAAK,EAAE,IAAI;KACZ,CAAC;;wCACmB;iBAjPV,MAAM;IADlB,IAAA,gBAAM,GAAE;GACI,MAAM,CAkPlB"}
|
|
@@ -1,35 +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.PolicyVersionComment = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const policy_version_entity_1 = require("./policy-version.entity");
|
|
15
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
16
|
-
const common_1 = require("../../common");
|
|
17
|
-
let PolicyVersionComment = class PolicyVersionComment extends common_1.CommentBase {
|
|
18
|
-
policyVersion;
|
|
19
|
-
};
|
|
20
|
-
exports.PolicyVersionComment = PolicyVersionComment;
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, swagger_1.ApiProperty)({
|
|
23
|
-
type: () => policy_version_entity_1.PolicyVersion,
|
|
24
|
-
description: "Policy version associated with the comment",
|
|
25
|
-
}),
|
|
26
|
-
(0, typeorm_1.ManyToOne)(() => policy_version_entity_1.PolicyVersion, {
|
|
27
|
-
onDelete: "CASCADE",
|
|
28
|
-
onUpdate: "CASCADE",
|
|
29
|
-
}),
|
|
30
|
-
__metadata("design:type", policy_version_entity_1.PolicyVersion)
|
|
31
|
-
], PolicyVersionComment.prototype, "policyVersion", void 0);
|
|
32
|
-
exports.PolicyVersionComment = PolicyVersionComment = __decorate([
|
|
33
|
-
(0, typeorm_1.Entity)()
|
|
34
|
-
], PolicyVersionComment);
|
|
35
|
-
//# sourceMappingURL=version-comment.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"version-comment.entity.js","sourceRoot":"","sources":["../../../src/entities/policy/version-comment.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA4C;AAC5C,mEAAwD;AACxD,6CAA8C;AAC9C,yCAA2C;AAGpC,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,oBAAW;IASnD,aAAa,CAAgB;CAC9B,CAAA;AAVY,oDAAoB;AAS/B;IARC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,GAAG,EAAE,CAAC,qCAAa;QACzB,WAAW,EAAE,4CAA4C;KAC1D,CAAC;IACD,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,qCAAa,EAAE;QAC9B,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;8BACa,qCAAa;2DAAC;+BATlB,oBAAoB;IADhC,IAAA,gBAAM,GAAE;GACI,oBAAoB,CAUhC"}
|
|
@@ -1,56 +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.Profile = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const user_entity_1 = require("./user.entity");
|
|
15
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
16
|
-
const base_entity_1 = require("../common/database/base.entity");
|
|
17
|
-
let Profile = class Profile extends base_entity_1.EntityBase {
|
|
18
|
-
firstName;
|
|
19
|
-
lastName;
|
|
20
|
-
idcard;
|
|
21
|
-
birthday;
|
|
22
|
-
user;
|
|
23
|
-
};
|
|
24
|
-
exports.Profile = Profile;
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'First name of the user', required: false }),
|
|
27
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
28
|
-
__metadata("design:type", String)
|
|
29
|
-
], Profile.prototype, "firstName", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'Last name of the user', required: false }),
|
|
32
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
33
|
-
__metadata("design:type", String)
|
|
34
|
-
], Profile.prototype, "lastName", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'ID card of the user', required: false }),
|
|
37
|
-
(0, typeorm_1.Column)({ unique: true, nullable: true }),
|
|
38
|
-
__metadata("design:type", String)
|
|
39
|
-
], Profile.prototype, "idcard", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, swagger_1.ApiProperty)({ type: Date, description: 'Birthday of the user', required: false }),
|
|
42
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
43
|
-
__metadata("design:type", Date)
|
|
44
|
-
], Profile.prototype, "birthday", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
(0, swagger_1.ApiProperty)({ type: () => user_entity_1.User, description: 'User associated with the profile' }),
|
|
47
|
-
(0, typeorm_1.OneToOne)(() => user_entity_1.User, user => user.profile, {
|
|
48
|
-
onDelete: "CASCADE",
|
|
49
|
-
onUpdate: "CASCADE",
|
|
50
|
-
}),
|
|
51
|
-
__metadata("design:type", user_entity_1.User)
|
|
52
|
-
], Profile.prototype, "user", void 0);
|
|
53
|
-
exports.Profile = Profile = __decorate([
|
|
54
|
-
(0, typeorm_1.Entity)("user_profile")
|
|
55
|
-
], Profile);
|
|
56
|
-
//# sourceMappingURL=profile.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"profile.entity.js","sourceRoot":"","sources":["../../src/entities/profile.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAmD;AACnD,+CAAqC;AACrC,6CAA8C;AAC9C,gEAA4D;AAGrD,IAAM,OAAO,GAAb,MAAM,OAAQ,SAAQ,wBAAU;IAGrC,SAAS,CAAS;IAIlB,QAAQ,CAAS;IAIjB,MAAM,CAAS;IAIf,QAAQ,CAAO;IAOf,IAAI,CAAO;CACZ,CAAA;AAvBY,0BAAO;AAGlB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,M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ginAttemptInterval: number;
|
|
4
|
-
loginIntervalUnit: string;
|
|
5
|
-
loginMaxRetry: number;
|
|
6
|
-
otpExpiryInMinutes: number;
|
|
7
|
-
constructor(partial?: Partial<Protocol>);
|
|
8
|
-
}
|
|
@@ -1,46 +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.Protocol = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const base_entity_1 = require("../common/database/base.entity");
|
|
15
|
-
let Protocol = class Protocol extends base_entity_1.EntityBase {
|
|
16
|
-
loginAttemptInterval;
|
|
17
|
-
loginIntervalUnit;
|
|
18
|
-
loginMaxRetry;
|
|
19
|
-
otpExpiryInMinutes;
|
|
20
|
-
constructor(partial) {
|
|
21
|
-
super();
|
|
22
|
-
Object.assign(this, partial);
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
exports.Protocol = Protocol;
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, typeorm_1.Column)(),
|
|
28
|
-
__metadata("design:type", Number)
|
|
29
|
-
], Protocol.prototype, "loginAttemptInterval", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, typeorm_1.Column)(),
|
|
32
|
-
__metadata("design:type", String)
|
|
33
|
-
], Protocol.prototype, "loginIntervalUnit", void 0);
|
|
34
|
-
__decorate([
|
|
35
|
-
(0, typeorm_1.Column)(),
|
|
36
|
-
__metadata("design:type", Number)
|
|
37
|
-
], Protocol.prototype, "loginMaxRetry", void 0);
|
|
38
|
-
__decorate([
|
|
39
|
-
(0, typeorm_1.Column)(),
|
|
40
|
-
__metadata("design:type", Number)
|
|
41
|
-
], Protocol.prototype, "otpExpiryInMinutes", void 0);
|
|
42
|
-
exports.Protocol = Protocol = __decorate([
|
|
43
|
-
(0, typeorm_1.Entity)(),
|
|
44
|
-
__metadata("design:paramtypes", [Object])
|
|
45
|
-
], Protocol);
|
|
46
|
-
//# sourceMappingURL=protocol.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"protocol.entity.js","sourceRoot":"","sources":["../../src/entities/protocol.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAyC;AACzC,gEAA4D;AAKrD,IAAM,QAAQ,GAAd,MAAM,QAAS,SAAQ,wBAAU;IAEtC,oBAAoB,CAAU;IAG9B,iBAAiB,CAAU;IAG3B,aAAa,CAAU;IAGvB,kBAAkB,CAAU;IAE5B,YAAY,OAA2B;QACrC,KAAK,EAAE,CAAC;QACR,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC/B,CAAC;CACF,CAAA;AAjBY,4BAAQ;AAEnB;IADC,IAAA,gBAAM,GAAE;;sDACqB;AAG9B;IADC,IAAA,gBAAM,GAAE;;mDACkB;AAG3B;IADC,IAAA,gBAAM,GAAE;;+CACc;AAGvB;IADC,IAAA,gBAAM,GAAE;;oDACmB;mBAXjB,QAAQ;IADpB,IAAA,gBAAM,GAAE;;GACI,QAAQ,CAiBpB"}
|
|
@@ -1,46 +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.RefreshToken = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const base_entity_1 = require("../common/database/base.entity");
|
|
15
|
-
const user_entity_1 = require("./user.entity");
|
|
16
|
-
let RefreshToken = class RefreshToken extends base_entity_1.EntityBase {
|
|
17
|
-
expiresIn;
|
|
18
|
-
user;
|
|
19
|
-
isRevoked;
|
|
20
|
-
constructor(partial) {
|
|
21
|
-
super();
|
|
22
|
-
Object.assign(this, partial);
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
exports.RefreshToken = RefreshToken;
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, typeorm_1.Column)(),
|
|
28
|
-
__metadata("design:type", Date)
|
|
29
|
-
], RefreshToken.prototype, "expiresIn", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
|
|
32
|
-
eager: false,
|
|
33
|
-
onDelete: "CASCADE",
|
|
34
|
-
onUpdate: "CASCADE",
|
|
35
|
-
}),
|
|
36
|
-
__metadata("design:type", user_entity_1.User)
|
|
37
|
-
], RefreshToken.prototype, "user", void 0);
|
|
38
|
-
__decorate([
|
|
39
|
-
(0, typeorm_1.Column)({ default: false }),
|
|
40
|
-
__metadata("design:type", Boolean)
|
|
41
|
-
], RefreshToken.prototype, "isRevoked", void 0);
|
|
42
|
-
exports.RefreshToken = RefreshToken = __decorate([
|
|
43
|
-
(0, typeorm_1.Entity)(),
|
|
44
|
-
__metadata("design:paramtypes", [Object])
|
|
45
|
-
], RefreshToken);
|
|
46
|
-
//# sourceMappingURL=refresh-token.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"refresh-token.entity.js","sourceRoot":"","sources":["../../src/entities/refresh-token.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAoD;AACpD,gEAA4D;AAC5D,+CAAqC;AAG9B,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,wBAAU;IAE1C,SAAS,CAAQ;IAOjB,IAAI,CAAQ;IAGZ,SAAS,CAAW;IAEpB,YAAY,OAA+B;QACzC,KAAK,EAAE,CAAC;QACR,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC/B,CAAC;CACF,CAAA;AAlBY,oCAAY;AAEvB;IADC,IAAA,gBAAM,GAAE;8BACG,IAAI;+CAAC;AAOjB;IALC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE;QACrB,KAAK,EAAE,KAAK;QACZ,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;8BACK,kBAAI;0CAAC;AAGZ;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;+CACP;uBAZT,YAAY;IADxB,IAAA,gBAAM,GAAE;;GACI,YAAY,CAkBxB"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { EntityBase } from "../common/database/base.entity";
|
|
2
|
-
export declare class Role extends EntityBase {
|
|
3
|
-
name: string;
|
|
4
|
-
description: string;
|
|
5
|
-
displayName?: string;
|
|
6
|
-
isDefault: boolean;
|
|
7
|
-
defaultMenuPermissions: string[];
|
|
8
|
-
allowedMenuPermissions: string[];
|
|
9
|
-
forbiddenMenuPermissions: string[];
|
|
10
|
-
parentRole: Role;
|
|
11
|
-
level: number;
|
|
12
|
-
getEffectivePermissions(): string[];
|
|
13
|
-
}
|