easywork-common-lib 1.0.377 → 1.0.379
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/tsconfig.json +1 -1
- package/tsconfig.tsbuildinfo +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 -5
- package/dist/common/@types/interfaces/index.js +0 -22
- package/dist/common/@types/interfaces/index.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 -16
- package/dist/common/constants/app.contants.js +0 -78
- package/dist/common/constants/app.contants.js.map +0 -1
- package/dist/common/constants/index.d.ts +0 -2
- package/dist/common/constants/index.js +0 -19
- 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/database/base.entity.d.ts +0 -27
- package/dist/common/database/base.entity.js +0 -142
- package/dist/common/database/base.entity.js.map +0 -1
- package/dist/common/database/index.d.ts +0 -1
- package/dist/common/database/index.js +0 -18
- package/dist/common/database/index.js.map +0 -1
- package/dist/common/dtos/index.d.ts +0 -1
- package/dist/common/dtos/index.js +0 -18
- package/dist/common/dtos/index.js.map +0 -1
- package/dist/common/dtos/send-notification.dto.d.ts +0 -11
- package/dist/common/dtos/send-notification.dto.js +0 -60
- package/dist/common/dtos/send-notification.dto.js.map +0 -1
- package/dist/common/enums/drive.enum.d.ts +0 -20
- package/dist/common/enums/drive.enum.js +0 -26
- package/dist/common/enums/drive.enum.js.map +0 -1
- package/dist/common/enums/index.d.ts +0 -4
- package/dist/common/enums/index.js +0 -21
- package/dist/common/enums/index.js.map +0 -1
- package/dist/common/enums/notification.enum.d.ts +0 -32
- package/dist/common/enums/notification.enum.js +0 -39
- package/dist/common/enums/notification.enum.js.map +0 -1
- package/dist/common/enums/sales.enum.d.ts +0 -31
- package/dist/common/enums/sales.enum.js +0 -41
- package/dist/common/enums/sales.enum.js.map +0 -1
- package/dist/common/enums/tools.enum.d.ts +0 -19
- package/dist/common/enums/tools.enum.js +0 -26
- 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 -2
- package/dist/common/functions/image.js +0 -14
- 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/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 -17
- package/dist/entities/drive/attached_object.entity.js +0 -125
- package/dist/entities/drive/attached_object.entity.js.map +0 -1
- package/dist/entities/drive/file.entity.d.ts +0 -14
- package/dist/entities/drive/file.entity.js +0 -88
- package/dist/entities/drive/file.entity.js.map +0 -1
- package/dist/entities/drive/folder.entity.d.ts +0 -14
- package/dist/entities/drive/folder.entity.js +0 -108
- 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 -5
- package/dist/entities/group.entity.js +0 -33
- 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 -4
- package/dist/entities/helpers/index.js +0 -21
- package/dist/entities/helpers/index.js.map +0 -1
- package/dist/entities/helpers/sales/common/client_sources.entity.d.ts +0 -5
- package/dist/entities/helpers/sales/common/client_sources.entity.js +0 -36
- package/dist/entities/helpers/sales/common/client_sources.entity.js.map +0 -1
- package/dist/entities/helpers/sales/common/client_types.entity.d.ts +0 -5
- package/dist/entities/helpers/sales/common/client_types.entity.js +0 -36
- package/dist/entities/helpers/sales/common/client_types.entity.js.map +0 -1
- package/dist/entities/helpers/sales/contact/contact_email.entity.d.ts +0 -11
- package/dist/entities/helpers/sales/contact/contact_email.entity.js +0 -68
- package/dist/entities/helpers/sales/contact/contact_email.entity.js.map +0 -1
- package/dist/entities/helpers/sales/contact/contact_insurance.entity.d.ts +0 -11
- package/dist/entities/helpers/sales/contact/contact_insurance.entity.js +0 -68
- package/dist/entities/helpers/sales/contact/contact_insurance.entity.js.map +0 -1
- package/dist/entities/helpers/sales/contact/contact_phone.entity.d.ts +0 -11
- package/dist/entities/helpers/sales/contact/contact_phone.entity.js +0 -68
- package/dist/entities/helpers/sales/contact/contact_phone.entity.js.map +0 -1
- package/dist/entities/helpers/sales/contact/contact_sources.entity.d.ts +0 -5
- package/dist/entities/helpers/sales/contact/contact_sources.entity.js +0 -36
- package/dist/entities/helpers/sales/contact/contact_sources.entity.js.map +0 -1
- package/dist/entities/helpers/sales/contact/contact_types.entity.d.ts +0 -5
- package/dist/entities/helpers/sales/contact/contact_types.entity.js +0 -36
- package/dist/entities/helpers/sales/contact/contact_types.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 -6
- package/dist/entities/helpers/sales/index.js +0 -23
- 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_company.entity.d.ts +0 -5
- package/dist/entities/helpers/sales/poliza/h_poliza_company.entity.js +0 -30
- package/dist/entities/helpers/sales/poliza/h_poliza_company.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_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/index.d.ts +0 -9
- package/dist/entities/helpers/sales/poliza/index.js +0 -26
- package/dist/entities/helpers/sales/poliza/index.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/poliza_beneficiary.entity.d.ts +0 -12
- package/dist/entities/helpers/sales/poliza/poliza_beneficiary.entity.js +0 -73
- package/dist/entities/helpers/sales/poliza/poliza_beneficiary.entity.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/poliza_file.entity.d.ts +0 -11
- package/dist/entities/helpers/sales/poliza/poliza_file.entity.js +0 -68
- package/dist/entities/helpers/sales/poliza/poliza_file.entity.js.map +0 -1
- package/dist/entities/helpers/tools/index.d.ts +0 -1
- package/dist/entities/helpers/tools/index.js +0 -18
- package/dist/entities/helpers/tools/index.js.map +0 -1
- package/dist/entities/helpers/tools/task_crm.entity.d.ts +0 -17
- package/dist/entities/helpers/tools/task_crm.entity.js +0 -121
- 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/imap-folder.entity.d.ts +0 -7
- package/dist/entities/imap-folder.entity.js +0 -41
- package/dist/entities/imap-folder.entity.js.map +0 -1
- package/dist/entities/index.d.ts +0 -26
- package/dist/entities/index.js +0 -43
- package/dist/entities/index.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/oauth.entity.d.ts +0 -16
- package/dist/entities/oauth.entity.js +0 -83
- package/dist/entities/oauth.entity.js.map +0 -1
- package/dist/entities/otp-log.entity.d.ts +0 -8
- package/dist/entities/otp-log.entity.js +0 -49
- package/dist/entities/otp-log.entity.js.map +0 -1
- package/dist/entities/permission.entity.d.ts +0 -7
- package/dist/entities/permission.entity.js +0 -46
- package/dist/entities/permission.entity.js.map +0 -1
- package/dist/entities/phone.entity.d.ts +0 -5
- package/dist/entities/phone.entity.js +0 -36
- package/dist/entities/phone.entity.js.map +0 -1
- package/dist/entities/profile.entity.d.ts +0 -8
- package/dist/entities/profile.entity.js +0 -55
- 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 -5
- package/dist/entities/role.entity.js +0 -36
- package/dist/entities/role.entity.js.map +0 -1
- package/dist/entities/sales/agente-intermediario.entity.d.ts +0 -5
- package/dist/entities/sales/agente-intermediario.entity.js +0 -34
- package/dist/entities/sales/agente-intermediario.entity.js.map +0 -1
- package/dist/entities/sales/beneficiarios/person.entity.d.ts +0 -10
- package/dist/entities/sales/beneficiarios/person.entity.js +0 -64
- package/dist/entities/sales/beneficiarios/person.entity.js.map +0 -1
- package/dist/entities/sales/beneficiarios/vehicle.entity.d.ts +0 -13
- package/dist/entities/sales/beneficiarios/vehicle.entity.js +0 -83
- package/dist/entities/sales/beneficiarios/vehicle.entity.js.map +0 -1
- package/dist/entities/sales/contact-comment.entity.d.ts +0 -7
- package/dist/entities/sales/contact-comment.entity.js +0 -46
- package/dist/entities/sales/contact-comment.entity.js.map +0 -1
- package/dist/entities/sales/contact.entity.d.ts +0 -44
- package/dist/entities/sales/contact.entity.js +0 -267
- package/dist/entities/sales/contact.entity.js.map +0 -1
- package/dist/entities/sales/index.d.ts +0 -13
- package/dist/entities/sales/index.js +0 -30
- package/dist/entities/sales/index.js.map +0 -1
- package/dist/entities/sales/lead-comment.entity.d.ts +0 -7
- package/dist/entities/sales/lead-comment.entity.js +0 -46
- package/dist/entities/sales/lead-comment.entity.js.map +0 -1
- package/dist/entities/sales/lead.entity.d.ts +0 -43
- package/dist/entities/sales/lead.entity.js +0 -291
- package/dist/entities/sales/lead.entity.js.map +0 -1
- package/dist/entities/sales/poliza-comment.entity.d.ts +0 -7
- package/dist/entities/sales/poliza-comment.entity.js +0 -46
- package/dist/entities/sales/poliza-comment.entity.js.map +0 -1
- package/dist/entities/sales/poliza.entity.d.ts +0 -105
- package/dist/entities/sales/poliza.entity.js +0 -723
- package/dist/entities/sales/poliza.entity.js.map +0 -1
- package/dist/entities/sales/poliza_siniestro.entity.d.ts +0 -12
- package/dist/entities/sales/poliza_siniestro.entity.js +0 -72
- package/dist/entities/sales/poliza_siniestro.entity.js.map +0 -1
- package/dist/entities/sales/receipt-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 -27
- package/dist/entities/sales/receipt.entity.js +0 -172
- package/dist/entities/sales/receipt.entity.js.map +0 -1
- package/dist/entities/tag.entity.d.ts +0 -8
- package/dist/entities/tag.entity.js +0 -53
- package/dist/entities/tag.entity.js.map +0 -1
- package/dist/entities/thirdparty/email-config.d.ts +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-config.js +0 -3
- package/dist/entities/thirdparty/email-config.js.map +0 -1
- package/dist/entities/thirdparty/email.entity.d.ts +0 -17
- package/dist/entities/thirdparty/email.entity.js +0 -79
- package/dist/entities/thirdparty/email.entity.js.map +0 -1
- package/dist/entities/thirdparty/oauth.entity.d.ts +0 -17
- package/dist/entities/thirdparty/oauth.entity.js +0 -88
- package/dist/entities/thirdparty/oauth.entity.js.map +0 -1
- package/dist/entities/thirdparty/service.entity.d.ts +0 -6
- package/dist/entities/thirdparty/service.entity.js +0 -32
- package/dist/entities/thirdparty/service.entity.js.map +0 -1
- package/dist/entities/thirdparty/user-email-relation.entity.d.ts +0 -7
- package/dist/entities/thirdparty/user-email-relation.entity.js +0 -35
- package/dist/entities/thirdparty/user-email-relation.entity.js.map +0 -1
- package/dist/entities/tools/calendar/event.entity.d.ts +0 -16
- package/dist/entities/tools/calendar/event.entity.js +0 -109
- package/dist/entities/tools/calendar/event.entity.js.map +0 -1
- package/dist/entities/tools/calendar/index.d.ts +0 -1
- package/dist/entities/tools/calendar/index.js +0 -18
- package/dist/entities/tools/calendar/index.js.map +0 -1
- package/dist/entities/tools/index.d.ts +0 -4
- package/dist/entities/tools/index.js +0 -21
- package/dist/entities/tools/index.js.map +0 -1
- package/dist/entities/tools/task-comment.entity.d.ts +0 -9
- package/dist/entities/tools/task-comment.entity.js +0 -57
- package/dist/entities/tools/task-comment.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.entity.d.ts +0 -34
- package/dist/entities/tools/task.entity.js +0 -221
- package/dist/entities/tools/task.entity.js.map +0 -1
- package/dist/entities/user/group.entity.d.ts +0 -5
- package/dist/entities/user/group.entity.js +0 -33
- package/dist/entities/user/group.entity.js.map +0 -1
- package/dist/entities/user/index.d.ts +0 -6
- package/dist/entities/user/index.js +0 -23
- package/dist/entities/user/index.js.map +0 -1
- package/dist/entities/user/menu-permissions.entity.d.ts +0 -7
- package/dist/entities/user/menu-permissions.entity.js +0 -42
- package/dist/entities/user/menu-permissions.entity.js.map +0 -1
- package/dist/entities/user/profile.entity.d.ts +0 -9
- package/dist/entities/user/profile.entity.js +0 -56
- package/dist/entities/user/profile.entity.js.map +0 -1
- package/dist/entities/user/role.entity.d.ts +0 -5
- package/dist/entities/user/role.entity.js +0 -36
- package/dist/entities/user/role.entity.js.map +0 -1
- package/dist/entities/user/user.entity.d.ts +0 -28
- package/dist/entities/user/user.entity.js +0 -160
- package/dist/entities/user/user.entity.js.map +0 -1
- package/dist/entities/user.entity.d.ts +0 -28
- package/dist/entities/user.entity.js +0 -160
- package/dist/entities/user.entity.js.map +0 -1
- package/dist/entities/user_entity/group.entity.d.ts +0 -5
- package/dist/entities/user_entity/group.entity.js +0 -33
- package/dist/entities/user_entity/group.entity.js.map +0 -1
- package/dist/entities/user_entity/index.d.ts +0 -6
- package/dist/entities/user_entity/index.js +0 -23
- package/dist/entities/user_entity/index.js.map +0 -1
- package/dist/entities/user_entity/menu-permissions.entity.d.ts +0 -7
- package/dist/entities/user_entity/menu-permissions.entity.js +0 -42
- package/dist/entities/user_entity/menu-permissions.entity.js.map +0 -1
- package/dist/entities/user_entity/profile.entity.d.ts +0 -9
- package/dist/entities/user_entity/profile.entity.js +0 -56
- package/dist/entities/user_entity/profile.entity.js.map +0 -1
- package/dist/entities/user_entity/role.entity.d.ts +0 -5
- package/dist/entities/user_entity/role.entity.js +0 -36
- package/dist/entities/user_entity/role.entity.js.map +0 -1
- package/dist/entities/user_entity/user.entity.d.ts +0 -28
- package/dist/entities/user_entity/user.entity.js +0 -160
- package/dist/entities/user_entity/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 -74
- 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 -3
- package/dist/modules/index.js +0 -20
- package/dist/modules/index.js.map +0 -1
- package/dist/modules/notifier/notifier.module.d.ts +0 -4
- package/dist/modules/notifier/notifier.module.js +0 -52
- package/dist/modules/notifier/notifier.module.js.map +0 -1
- package/dist/modules/notifier/notifier.service.d.ts +0 -19
- package/dist/modules/notifier/notifier.service.js +0 -231
- package/dist/modules/notifier/notifier.service.js.map +0 -1
- package/dist/modules/notifier/scheduler.service.d.ts +0 -9
- package/dist/modules/notifier/scheduler.service.js +0 -40
- package/dist/modules/notifier/scheduler.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 -2
- package/dist/modules/queue/notifiers/calendar.notifier.js +0 -17
- 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 -49
- 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 -49
- 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 -130
- 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 -55
- package/dist/modules/queue/queue.module.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/dist/modules/queue/subservices/calendar.service.d.ts +0 -2
- package/dist/modules/queue/subservices/calendar.service.js +0 -17
- package/dist/modules/queue/subservices/calendar.service.js.map +0 -1
- package/dist/modules/queue/subservices/contact.service.d.ts +0 -7
- package/dist/modules/queue/subservices/contact.service.js +0 -49
- package/dist/modules/queue/subservices/contact.service.js.map +0 -1
- package/dist/modules/queue/subservices/index.d.ts +0 -3
- package/dist/modules/queue/subservices/index.js +0 -20
- package/dist/modules/queue/subservices/index.js.map +0 -1
- package/dist/modules/queue/subservices/task.service.d.ts +0 -12
- package/dist/modules/queue/subservices/task.service.js +0 -173
- package/dist/modules/queue/subservices/task.service.js.map +0 -1
|
@@ -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 database_1 = require("../common/database");
|
|
15
|
-
let Protocol = class Protocol extends database_1.BaseEntity {
|
|
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,iDAAgD;AAKzC,IAAM,QAAQ,GAAd,MAAM,QAAS,SAAQ,qBAAU;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 database_1 = require("../common/database");
|
|
15
|
-
const user_entity_1 = require("./user.entity");
|
|
16
|
-
let RefreshToken = class RefreshToken extends database_1.BaseEntity {
|
|
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,iDAAgD;AAChD,+CAAqC;AAG9B,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,qBAAU;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,36 +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.Role = void 0;
|
|
13
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
-
const database_1 = require("../common/database");
|
|
15
|
-
const class_validator_1 = require("class-validator");
|
|
16
|
-
const typeorm_1 = require("typeorm");
|
|
17
|
-
let Role = class Role extends database_1.BaseEntity {
|
|
18
|
-
name;
|
|
19
|
-
isDefault;
|
|
20
|
-
};
|
|
21
|
-
exports.Role = Role;
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'Name of the role', minLength: 3 }),
|
|
24
|
-
(0, class_validator_1.MinLength)(3),
|
|
25
|
-
(0, typeorm_1.Column)({ unique: true }),
|
|
26
|
-
__metadata("design:type", String)
|
|
27
|
-
], Role.prototype, "name", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, swagger_1.ApiProperty)({ type: Boolean, description: '¿Is this the default role?' }),
|
|
30
|
-
(0, typeorm_1.Column)({ default: false }),
|
|
31
|
-
__metadata("design:type", Boolean)
|
|
32
|
-
], Role.prototype, "isDefault", void 0);
|
|
33
|
-
exports.Role = Role = __decorate([
|
|
34
|
-
(0, typeorm_1.Entity)()
|
|
35
|
-
], Role);
|
|
36
|
-
//# sourceMappingURL=role.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"role.entity.js","sourceRoot":"","sources":["../../src/entities/role.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,iDAAgD;AAChD,qDAA4C;AAC5C,qCAAyC;AAGlC,IAAM,IAAI,GAAV,MAAM,IAAK,SAAQ,qBAAU;IAIlC,IAAI,CAAS;IAIb,SAAS,CAAU;CACpB,CAAA;AATY,oBAAI;AAIf;IAHC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,kBAAkB,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC;IAC5E,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;kCACZ;AAIb;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,4BAA4B,EAAE,CAAC;IACzE,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;uCACR;eARR,IAAI;IADhB,IAAA,gBAAM,GAAE;GACI,IAAI,CAShB"}
|
|
@@ -1,34 +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.AgenteIntermediario = void 0;
|
|
13
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
-
const database_1 = require("../../common/database");
|
|
15
|
-
const typeorm_1 = require("typeorm");
|
|
16
|
-
let AgenteIntermediario = class AgenteIntermediario extends database_1.BaseEntitySimple {
|
|
17
|
-
name;
|
|
18
|
-
cua;
|
|
19
|
-
};
|
|
20
|
-
exports.AgenteIntermediario = AgenteIntermediario;
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'name of the intermediary agent' }),
|
|
23
|
-
(0, typeorm_1.Column)({ length: 255 }),
|
|
24
|
-
__metadata("design:type", String)
|
|
25
|
-
], AgenteIntermediario.prototype, "name", void 0);
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'CUA of the intermediary agent', required: false }),
|
|
28
|
-
(0, typeorm_1.Column)({ length: 50, unique: true, nullable: true }),
|
|
29
|
-
__metadata("design:type", String)
|
|
30
|
-
], AgenteIntermediario.prototype, "cua", void 0);
|
|
31
|
-
exports.AgenteIntermediario = AgenteIntermediario = __decorate([
|
|
32
|
-
(0, typeorm_1.Entity)()
|
|
33
|
-
], AgenteIntermediario);
|
|
34
|
-
//# sourceMappingURL=agente-intermediario.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"agente-intermediario.entity.js","sourceRoot":"","sources":["../../../src/entities/sales/agente-intermediario.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,oDAAyD;AACzD,qCAAyC;AAGlC,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,2BAAgB;IAGvD,IAAI,CAAS;IAIb,GAAG,CAAS;CACb,CAAA;AARY,kDAAmB;AAG9B;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,gCAAgC,EAAC,CAAC;IAC3E,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;iDACX;AAIb;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,+BAA+B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC5F,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gDACzC;8BAPD,mBAAmB;IAD/B,IAAA,gBAAM,GAAE;GACI,mBAAmB,CAQ/B"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { BaseEntityWithUser } from "../../../common/database";
|
|
2
|
-
export declare class BeneficiaryPerson extends BaseEntityWithUser {
|
|
3
|
-
codigo?: number;
|
|
4
|
-
fullName?: string;
|
|
5
|
-
firstName?: string;
|
|
6
|
-
lastName?: string;
|
|
7
|
-
seniorityDate: Date;
|
|
8
|
-
policyPlan?: string;
|
|
9
|
-
movementDescription?: string;
|
|
10
|
-
}
|
|
@@ -1,64 +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.BeneficiaryPerson = void 0;
|
|
13
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
-
const database_1 = require("../../../common/database");
|
|
15
|
-
const typeorm_1 = require("typeorm");
|
|
16
|
-
let BeneficiaryPerson = class BeneficiaryPerson extends database_1.BaseEntityWithUser {
|
|
17
|
-
codigo;
|
|
18
|
-
fullName;
|
|
19
|
-
firstName;
|
|
20
|
-
lastName;
|
|
21
|
-
seniorityDate;
|
|
22
|
-
policyPlan;
|
|
23
|
-
movementDescription;
|
|
24
|
-
};
|
|
25
|
-
exports.BeneficiaryPerson = BeneficiaryPerson;
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, swagger_1.ApiProperty)({ type: Number, description: 'Codigo de cliente', required: false }),
|
|
28
|
-
(0, typeorm_1.Column)({ name: "codigo", nullable: true }),
|
|
29
|
-
__metadata("design:type", Number)
|
|
30
|
-
], BeneficiaryPerson.prototype, "codigo", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'Full name of the contact', required: false }),
|
|
33
|
-
(0, typeorm_1.Column)({ length: 100, nullable: true }),
|
|
34
|
-
__metadata("design:type", String)
|
|
35
|
-
], BeneficiaryPerson.prototype, "fullName", void 0);
|
|
36
|
-
__decorate([
|
|
37
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'First name of the contact', required: false }),
|
|
38
|
-
(0, typeorm_1.Column)({ length: 50, nullable: true }),
|
|
39
|
-
__metadata("design:type", String)
|
|
40
|
-
], BeneficiaryPerson.prototype, "firstName", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'Last name of the contact', required: false }),
|
|
43
|
-
(0, typeorm_1.Column)({ length: 50, nullable: true }),
|
|
44
|
-
__metadata("design:type", String)
|
|
45
|
-
], BeneficiaryPerson.prototype, "lastName", void 0);
|
|
46
|
-
__decorate([
|
|
47
|
-
(0, swagger_1.ApiProperty)({ type: Date, description: 'Seniority date', required: false }),
|
|
48
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
49
|
-
__metadata("design:type", Date)
|
|
50
|
-
], BeneficiaryPerson.prototype, "seniorityDate", void 0);
|
|
51
|
-
__decorate([
|
|
52
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'Policy plan', required: false }),
|
|
53
|
-
(0, typeorm_1.Column)({ length: 50, nullable: true }),
|
|
54
|
-
__metadata("design:type", String)
|
|
55
|
-
], BeneficiaryPerson.prototype, "policyPlan", void 0);
|
|
56
|
-
__decorate([
|
|
57
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'Description of the movement', required: false }),
|
|
58
|
-
(0, typeorm_1.Column)({ length: 50, nullable: true }),
|
|
59
|
-
__metadata("design:type", String)
|
|
60
|
-
], BeneficiaryPerson.prototype, "movementDescription", void 0);
|
|
61
|
-
exports.BeneficiaryPerson = BeneficiaryPerson = __decorate([
|
|
62
|
-
(0, typeorm_1.Entity)()
|
|
63
|
-
], BeneficiaryPerson);
|
|
64
|
-
//# sourceMappingURL=person.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"person.entity.js","sourceRoot":"","sources":["../../../../src/entities/sales/beneficiarios/person.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,uDAA8D;AAC9D,qCAAyC;AAGlC,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,6BAAkB;IAGvD,MAAM,CAAU;IAKhB,QAAQ,CAAU;IAIlB,SAAS,CAAU;IAInB,QAAQ,CAAU;IAKlB,aAAa,CAAO;IAIpB,UAAU,CAAU;IAIpB,mBAAmB,CAAU;CAC9B,CAAA;AA9BY,8CAAiB;AAG5B;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,mBAAmB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAChF,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDAC3B;AAKhB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,0BAA0B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACvF,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACtB;AAIlB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,2BAA2B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACxF,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDACpB;AAInB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,0BAA0B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACvF,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACrB;AAKlB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE,gBAAgB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC3E,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACZ,IAAI;wDAAC;AAIpB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC1E,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACnB;AAIpB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,6BAA6B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC1F,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8DACV;4BA7BlB,iBAAiB;IAD7B,IAAA,gBAAM,GAAE;GACI,iBAAiB,CA8B7B"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { BaseEntityWithUser } from "../../../common/database";
|
|
2
|
-
export declare class BeneficiaryVehicle extends BaseEntityWithUser {
|
|
3
|
-
description: string;
|
|
4
|
-
serial?: string;
|
|
5
|
-
model?: string;
|
|
6
|
-
motor?: string;
|
|
7
|
-
plates?: string;
|
|
8
|
-
usage?: string;
|
|
9
|
-
circulatesIn?: string;
|
|
10
|
-
regularDriver?: string;
|
|
11
|
-
regularDriverAge?: number;
|
|
12
|
-
preferredBeneficiary?: string;
|
|
13
|
-
}
|
|
@@ -1,83 +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.BeneficiaryVehicle = void 0;
|
|
13
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
-
const database_1 = require("../../../common/database");
|
|
15
|
-
const typeorm_1 = require("typeorm");
|
|
16
|
-
let BeneficiaryVehicle = class BeneficiaryVehicle extends database_1.BaseEntityWithUser {
|
|
17
|
-
description;
|
|
18
|
-
serial;
|
|
19
|
-
model;
|
|
20
|
-
motor;
|
|
21
|
-
plates;
|
|
22
|
-
usage;
|
|
23
|
-
circulatesIn;
|
|
24
|
-
regularDriver;
|
|
25
|
-
regularDriverAge;
|
|
26
|
-
preferredBeneficiary;
|
|
27
|
-
};
|
|
28
|
-
exports.BeneficiaryVehicle = BeneficiaryVehicle;
|
|
29
|
-
__decorate([
|
|
30
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'Description of the vehicle', required: false, nullable: true }),
|
|
31
|
-
(0, typeorm_1.Column)({ type: "text" }),
|
|
32
|
-
__metadata("design:type", String)
|
|
33
|
-
], BeneficiaryVehicle.prototype, "description", void 0);
|
|
34
|
-
__decorate([
|
|
35
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'Serial', required: false }),
|
|
36
|
-
(0, typeorm_1.Column)({ length: 55, nullable: true }),
|
|
37
|
-
__metadata("design:type", String)
|
|
38
|
-
], BeneficiaryVehicle.prototype, "serial", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'Modelo del vehículo', required: false }),
|
|
41
|
-
(0, typeorm_1.Column)({ length: 55, nullable: true }),
|
|
42
|
-
__metadata("design:type", String)
|
|
43
|
-
], BeneficiaryVehicle.prototype, "model", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'Motor del vehículo', required: false }),
|
|
46
|
-
(0, typeorm_1.Column)({ length: 55, nullable: true }),
|
|
47
|
-
__metadata("design:type", String)
|
|
48
|
-
], BeneficiaryVehicle.prototype, "motor", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'Placas del vehículo', required: false }),
|
|
51
|
-
(0, typeorm_1.Column)({ length: 20, nullable: true }),
|
|
52
|
-
__metadata("design:type", String)
|
|
53
|
-
], BeneficiaryVehicle.prototype, "plates", void 0);
|
|
54
|
-
__decorate([
|
|
55
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'Uso', required: false }),
|
|
56
|
-
(0, typeorm_1.Column)({ length: 50, nullable: true }),
|
|
57
|
-
__metadata("design:type", String)
|
|
58
|
-
], BeneficiaryVehicle.prototype, "usage", void 0);
|
|
59
|
-
__decorate([
|
|
60
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'Circula En', required: false }),
|
|
61
|
-
(0, typeorm_1.Column)({ length: 150, nullable: true }),
|
|
62
|
-
__metadata("design:type", String)
|
|
63
|
-
], BeneficiaryVehicle.prototype, "circulatesIn", void 0);
|
|
64
|
-
__decorate([
|
|
65
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'Conductor Habitual', required: false }),
|
|
66
|
-
(0, typeorm_1.Column)({ length: 255, nullable: true }),
|
|
67
|
-
__metadata("design:type", String)
|
|
68
|
-
], BeneficiaryVehicle.prototype, "regularDriver", void 0);
|
|
69
|
-
__decorate([
|
|
70
|
-
(0, swagger_1.ApiProperty)({ type: Number, description: 'Edad del Conductor Habitual', required: false }),
|
|
71
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
72
|
-
__metadata("design:type", Number)
|
|
73
|
-
], BeneficiaryVehicle.prototype, "regularDriverAge", void 0);
|
|
74
|
-
__decorate([
|
|
75
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'Beneficiario Preferente', required: false }),
|
|
76
|
-
(0, typeorm_1.Column)({ length: 255, nullable: true }),
|
|
77
|
-
__metadata("design:type", String)
|
|
78
|
-
], BeneficiaryVehicle.prototype, "preferredBeneficiary", void 0);
|
|
79
|
-
exports.BeneficiaryVehicle = BeneficiaryVehicle = __decorate([
|
|
80
|
-
(0, typeorm_1.Entity)(),
|
|
81
|
-
(0, typeorm_1.Index)(["serial", "model", "plates"], { unique: true })
|
|
82
|
-
], BeneficiaryVehicle);
|
|
83
|
-
//# sourceMappingURL=vehicle.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"vehicle.entity.js","sourceRoot":"","sources":["../../../../src/entities/sales/beneficiarios/vehicle.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,uDAA8D;AAC9D,qCAAgD;AAIzC,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,6BAAkB;IAGxD,WAAW,CAAS;IAIpB,MAAM,CAAU;IAIhB,KAAK,CAAU;IAIf,KAAK,CAAU;IAIf,MAAM,CAAU;IAIhB,KAAK,CAAU;IAIf,YAAY,CAAU;IAItB,aAAa,CAAU;IAIvB,gBAAgB,CAAU;IAI1B,oBAAoB,CAAU;CAC/B,CAAA;AAxCY,gDAAkB;AAG7B;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,4BAA4B,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACzG,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;uDACL;AAIpB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACrE,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACvB;AAIhB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,qBAAqB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAClF,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACxB;AAIf;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,oBAAoB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACjF,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACxB;AAIf;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,qBAAqB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAClF,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACvB;AAIhB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAClE,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACxB;AAIf;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,YAAY,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACzE,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wDAClB;AAItB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,oBAAoB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACjF,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yDACjB;AAIvB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,6BAA6B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC1F,IAAA,gBAAM,EAAC,EAAG,QAAQ,EAAE,IAAI,EAAE,CAAC;;4DACF;AAI1B;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,yBAAyB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACtF,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gEACV;6BAvCnB,kBAAkB;IAF9B,IAAA,gBAAM,GAAE;IACR,IAAA,eAAK,EAAC,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;GAC1C,kBAAkB,CAwC9B"}
|
|
@@ -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.ContactComment = void 0;
|
|
13
|
-
const common_1 = require("../../common");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
const typeorm_1 = require("typeorm");
|
|
16
|
-
const contact_entity_1 = require("./contact.entity");
|
|
17
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
18
|
-
let ContactComment = class ContactComment extends common_1.BaseEntityWithUser {
|
|
19
|
-
comment;
|
|
20
|
-
pinned;
|
|
21
|
-
contact;
|
|
22
|
-
};
|
|
23
|
-
exports.ContactComment = ContactComment;
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'Comment text', minLength: 1 }),
|
|
26
|
-
(0, class_validator_1.MinLength)(1),
|
|
27
|
-
(0, typeorm_1.Column)({ type: "text" }),
|
|
28
|
-
__metadata("design:type", String)
|
|
29
|
-
], ContactComment.prototype, "comment", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, swagger_1.ApiProperty)({ type: Boolean, description: 'Pinned comment', default: false }),
|
|
32
|
-
(0, typeorm_1.Column)({ default: false }),
|
|
33
|
-
__metadata("design:type", Boolean)
|
|
34
|
-
], ContactComment.prototype, "pinned", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, swagger_1.ApiProperty)({ type: () => contact_entity_1.Contact, description: 'Contact associated with the comment' }),
|
|
37
|
-
(0, typeorm_1.ManyToOne)(() => contact_entity_1.Contact, {
|
|
38
|
-
onDelete: "CASCADE",
|
|
39
|
-
onUpdate: "CASCADE",
|
|
40
|
-
}),
|
|
41
|
-
__metadata("design:type", contact_entity_1.Contact)
|
|
42
|
-
], ContactComment.prototype, "contact", void 0);
|
|
43
|
-
exports.ContactComment = ContactComment = __decorate([
|
|
44
|
-
(0, typeorm_1.Entity)()
|
|
45
|
-
], ContactComment);
|
|
46
|
-
//# sourceMappingURL=contact-comment.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"contact-comment.entity.js","sourceRoot":"","sources":["../../../src/entities/sales/contact-comment.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAAkD;AAClD,qDAA4C;AAC5C,qCAAoD;AACpD,qDAA2C;AAC3C,6CAA8C;AAGvC,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,2BAAkB;IAIlD,OAAO,CAAS;IAIhB,MAAM,CAAU;IAOhB,OAAO,CAAU;CACpB,CAAA;AAhBY,wCAAc;AAIvB;IAHC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC;IACxE,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;+CACT;AAIhB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;IAC7E,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;8CACX;AAOhB;IALC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,wBAAO,EAAE,WAAW,EAAE,qCAAqC,EAAE,CAAC;IACxF,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,wBAAO,EAAE;QACtB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACtB,CAAC;8BACO,wBAAO;+CAAC;yBAfR,cAAc;IAD1B,IAAA,gBAAM,GAAE;GACI,cAAc,CAgB1B"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { BaseEntityWithUser } from "../../common/database";
|
|
2
|
-
import { ContactEmail } from "../helpers/sales/contact/contact_email.entity";
|
|
3
|
-
import { ContactPhone } from "../helpers/sales/contact/contact_phone.entity";
|
|
4
|
-
import { ClientSource } from "../helpers/sales/common/client_sources.entity";
|
|
5
|
-
import { ClientType } from "../helpers/sales/common/client_types.entity";
|
|
6
|
-
import { User } from "../user.entity";
|
|
7
|
-
import { Poliza } from "./poliza.entity";
|
|
8
|
-
import { Lead } from "./lead.entity";
|
|
9
|
-
import { PersonType } from "../../common";
|
|
10
|
-
import { ContactInsurance } from "../helpers/sales/contact/contact_insurance.entity";
|
|
11
|
-
import { TaskCRM } from "../helpers";
|
|
12
|
-
export declare class Contact extends BaseEntityWithUser {
|
|
13
|
-
idBitrix?: number;
|
|
14
|
-
typePerson: PersonType;
|
|
15
|
-
codigo?: string;
|
|
16
|
-
fullName?: string;
|
|
17
|
-
name?: string;
|
|
18
|
-
lastName?: string;
|
|
19
|
-
secondName?: string;
|
|
20
|
-
codigos?: ContactInsurance[];
|
|
21
|
-
rfc?: string;
|
|
22
|
-
address?: string;
|
|
23
|
-
phones?: ContactPhone[];
|
|
24
|
-
emails?: ContactEmail[];
|
|
25
|
-
cargo?: string;
|
|
26
|
-
birthdate?: Date;
|
|
27
|
-
gender?: string;
|
|
28
|
-
type?: ClientType;
|
|
29
|
-
source?: ClientSource;
|
|
30
|
-
assignedBy?: User;
|
|
31
|
-
tasks: TaskCRM[];
|
|
32
|
-
observador?: User;
|
|
33
|
-
lead?: Lead;
|
|
34
|
-
relations?: Contact[];
|
|
35
|
-
curp?: string;
|
|
36
|
-
cua?: string;
|
|
37
|
-
photo?: string;
|
|
38
|
-
post?: string;
|
|
39
|
-
comments?: string;
|
|
40
|
-
company?: string;
|
|
41
|
-
export?: boolean;
|
|
42
|
-
sourceDescription?: string;
|
|
43
|
-
polizas?: Poliza[];
|
|
44
|
-
}
|