easywork-common-lib 1.0.461 → 1.0.463
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 +45 -44
- 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 -16
- 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 -31
- package/dist/common/constants/app.contants.js +0 -185
- 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 -15
- package/dist/common/database/base.entity.js +0 -76
- package/dist/common/database/base.entity.js.map +0 -1
- package/dist/common/database/comment.base.entity.d.ts +0 -11
- package/dist/common/database/comment.base.entity.js +0 -83
- package/dist/common/database/comment.base.entity.js.map +0 -1
- package/dist/common/database/index.d.ts +0 -2
- package/dist/common/database/index.js +0 -19
- package/dist/common/database/index.js.map +0 -1
- package/dist/common/dtos/index.d.ts +0 -1
- package/dist/common/dtos/index.js +0 -18
- package/dist/common/dtos/index.js.map +0 -1
- package/dist/common/dtos/send-notification.dto.d.ts +0 -11
- package/dist/common/dtos/send-notification.dto.js +0 -60
- package/dist/common/dtos/send-notification.dto.js.map +0 -1
- package/dist/common/enums/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 -41
- package/dist/common/enums/sales.enum.js +0 -53
- 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 -9
- 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 -15
- 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 -21
- package/dist/entities/drive/attached_object.entity.js +0 -154
- package/dist/entities/drive/attached_object.entity.js.map +0 -1
- package/dist/entities/drive/file.entity.d.ts +0 -19
- package/dist/entities/drive/file.entity.js +0 -130
- package/dist/entities/drive/file.entity.js.map +0 -1
- package/dist/entities/drive/folder.entity.d.ts +0 -18
- package/dist/entities/drive/folder.entity.js +0 -137
- package/dist/entities/drive/folder.entity.js.map +0 -1
- package/dist/entities/drive/index.d.ts +0 -3
- package/dist/entities/drive/index.js +0 -20
- package/dist/entities/drive/index.js.map +0 -1
- package/dist/entities/easyapp/filter-view.entity.d.ts +0 -7
- package/dist/entities/easyapp/filter-view.entity.js +0 -41
- package/dist/entities/easyapp/filter-view.entity.js.map +0 -1
- package/dist/entities/email.entity.d.ts +0 -5
- package/dist/entities/email.entity.js +0 -36
- package/dist/entities/email.entity.js.map +0 -1
- package/dist/entities/group.entity.d.ts +0 -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/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_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/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 -10
- package/dist/entities/helpers/sales/poliza/index.js +0 -27
- 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/sales/poliza/poliza_insured.entity.d.ts +0 -11
- package/dist/entities/helpers/sales/poliza/poliza_insured.entity.js +0 -86
- package/dist/entities/helpers/sales/poliza/poliza_insured.entity.js.map +0 -1
- package/dist/entities/helpers/tools/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 -19
- package/dist/entities/helpers/tools/task_crm.entity.js +0 -136
- package/dist/entities/helpers/tools/task_crm.entity.js.map +0 -1
- package/dist/entities/helpers/user/access_history.entity.d.ts +0 -9
- package/dist/entities/helpers/user/access_history.entity.js +0 -58
- package/dist/entities/helpers/user/access_history.entity.js.map +0 -1
- package/dist/entities/imap-config.entity.d.ts +0 -11
- package/dist/entities/imap-config.entity.js +0 -61
- package/dist/entities/imap-config.entity.js.map +0 -1
- package/dist/entities/index.d.ts +0 -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/otp-log.entity.d.ts +0 -8
- package/dist/entities/otp-log.entity.js +0 -49
- package/dist/entities/otp-log.entity.js.map +0 -1
- package/dist/entities/permission.entity.d.ts +0 -7
- package/dist/entities/permission.entity.js +0 -46
- package/dist/entities/permission.entity.js.map +0 -1
- package/dist/entities/phone.entity.d.ts +0 -5
- package/dist/entities/phone.entity.js +0 -36
- package/dist/entities/phone.entity.js.map +0 -1
- package/dist/entities/profile.entity.d.ts +0 -9
- package/dist/entities/profile.entity.js +0 -56
- package/dist/entities/profile.entity.js.map +0 -1
- package/dist/entities/protocol.entity.d.ts +0 -8
- package/dist/entities/protocol.entity.js +0 -46
- package/dist/entities/protocol.entity.js.map +0 -1
- package/dist/entities/refresh-token.entity.d.ts +0 -8
- package/dist/entities/refresh-token.entity.js +0 -46
- package/dist/entities/refresh-token.entity.js.map +0 -1
- package/dist/entities/role.entity.d.ts +0 -6
- package/dist/entities/role.entity.js +0 -42
- 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/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 -49
- package/dist/entities/sales/contact.entity.js +0 -303
- package/dist/entities/sales/contact.entity.js.map +0 -1
- package/dist/entities/sales/index.d.ts +0 -12
- package/dist/entities/sales/index.js +0 -29
- 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 -51
- package/dist/entities/sales/lead.entity.js +0 -344
- package/dist/entities/sales/lead.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 -112
- package/dist/entities/sales/poliza.entity.js +0 -1103
- 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-comment.entity.d.ts +0 -5
- package/dist/entities/sales/receipt-comment.entity.js +0 -32
- package/dist/entities/sales/receipt-comment.entity.js.map +0 -1
- package/dist/entities/sales/receipt-sub-agente.entity.d.ts +0 -5
- package/dist/entities/sales/receipt-sub-agente.entity.js +0 -35
- package/dist/entities/sales/receipt-sub-agente.entity.js.map +0 -1
- package/dist/entities/sales/receipt.entity.d.ts +0 -31
- package/dist/entities/sales/receipt.entity.js +0 -203
- 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 -18
- package/dist/entities/thirdparty/oauth.entity.js +0 -93
- 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 -19
- package/dist/entities/tools/calendar/event.entity.js +0 -132
- 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 -6
- package/dist/entities/tools/task-comment.entity.js +0 -38
- 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.entity.d.ts +0 -29
- package/dist/entities/user.entity.js +0 -168
- package/dist/entities/user.entity.js.map +0 -1
- package/dist/eslint.config.d.ts +0 -2
- package/dist/eslint.config.js +0 -47
- package/dist/eslint.config.js.map +0 -1
- package/dist/grpc/drive/drive.proto +0 -179
- 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 -4
- package/dist/modules/index.js +0 -21
- package/dist/modules/index.js.map +0 -1
- package/dist/modules/queue/event.service.d.ts +0 -9
- package/dist/modules/queue/event.service.js +0 -40
- 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 -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 -57
- 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/tsconfig.tsbuildinfo +0 -1
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.PolizaFrecuenciaPago = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
15
|
-
let PolizaFrecuenciaPago = class PolizaFrecuenciaPago extends typeorm_1.BaseEntity {
|
|
16
|
-
id;
|
|
17
|
-
name;
|
|
18
|
-
cobrosEsperados;
|
|
19
|
-
};
|
|
20
|
-
exports.PolizaFrecuenciaPago = PolizaFrecuenciaPago;
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'UUID of the payment frequency', format: 'uuid' }),
|
|
23
|
-
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
|
24
|
-
__metadata("design:type", String)
|
|
25
|
-
], PolizaFrecuenciaPago.prototype, "id", void 0);
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'Name of the payment frequency' }),
|
|
28
|
-
(0, typeorm_1.Column)({ unique: true }),
|
|
29
|
-
__metadata("design:type", String)
|
|
30
|
-
], PolizaFrecuenciaPago.prototype, "name", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, swagger_1.ApiProperty)({ type: Number, description: 'Expected number of payments' }),
|
|
33
|
-
(0, typeorm_1.Column)(),
|
|
34
|
-
__metadata("design:type", Number)
|
|
35
|
-
], PolizaFrecuenciaPago.prototype, "cobrosEsperados", void 0);
|
|
36
|
-
exports.PolizaFrecuenciaPago = PolizaFrecuenciaPago = __decorate([
|
|
37
|
-
(0, typeorm_1.Entity)()
|
|
38
|
-
], PolizaFrecuenciaPago);
|
|
39
|
-
//# sourceMappingURL=h_poliza_frecuencia_pago.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"h_poliza_frecuencia_pago.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/poliza/h_poliza_frecuencia_pago.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA6E;AAC7E,6CAA8C;AAGvC,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,oBAAU;IAGlD,EAAE,CAAU;IAIZ,IAAI,CAAS;IAIb,eAAe,CAAS;CACzB,CAAA;AAZY,oDAAoB;AAG/B;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,+BAA+B,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC3F,IAAA,gCAAsB,EAAC,MAAM,CAAC;;gDACnB;AAIZ;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,+BAA+B,EAAE,CAAC;IAC3E,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;kDACZ;AAIb;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,6BAA6B,EAAE,CAAC;IACzE,IAAA,gBAAM,GAAE;;6DACe;+BAXb,oBAAoB;IADhC,IAAA,gBAAM,GAAE;GACI,oBAAoB,CAYhC"}
|
|
@@ -1,30 +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.PolizaInsurance = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
let PolizaInsurance = class PolizaInsurance extends typeorm_1.BaseEntity {
|
|
15
|
-
id;
|
|
16
|
-
name;
|
|
17
|
-
};
|
|
18
|
-
exports.PolizaInsurance = PolizaInsurance;
|
|
19
|
-
__decorate([
|
|
20
|
-
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
|
21
|
-
__metadata("design:type", String)
|
|
22
|
-
], PolizaInsurance.prototype, "id", void 0);
|
|
23
|
-
__decorate([
|
|
24
|
-
(0, typeorm_1.Column)({ unique: true }),
|
|
25
|
-
__metadata("design:type", String)
|
|
26
|
-
], PolizaInsurance.prototype, "name", void 0);
|
|
27
|
-
exports.PolizaInsurance = PolizaInsurance = __decorate([
|
|
28
|
-
(0, typeorm_1.Entity)()
|
|
29
|
-
], PolizaInsurance);
|
|
30
|
-
//# sourceMappingURL=h_poliza_insurance.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"h_poliza_insurance.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/poliza/h_poliza_insurance.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA8E;AAGvE,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,oBAAU;IAE3C,EAAE,CAAU;IAGZ,IAAI,CAAS;CAChB,CAAA;AANY,0CAAe;AAExB;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;2CACnB;AAGZ;IADC,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;6CACZ;0BALJ,eAAe;IAD3B,IAAA,gBAAM,GAAE;GACI,eAAe,CAM3B"}
|
|
@@ -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.PolizaSubramo = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
let PolizaSubramo = class PolizaSubramo extends typeorm_1.BaseEntity {
|
|
15
|
-
id;
|
|
16
|
-
name;
|
|
17
|
-
salud;
|
|
18
|
-
};
|
|
19
|
-
exports.PolizaSubramo = PolizaSubramo;
|
|
20
|
-
__decorate([
|
|
21
|
-
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
|
22
|
-
__metadata("design:type", String)
|
|
23
|
-
], PolizaSubramo.prototype, "id", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, typeorm_1.Column)({ length: 100 }),
|
|
26
|
-
__metadata("design:type", String)
|
|
27
|
-
], PolizaSubramo.prototype, "name", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, typeorm_1.Column)({ default: false }),
|
|
30
|
-
__metadata("design:type", Boolean)
|
|
31
|
-
], PolizaSubramo.prototype, "salud", void 0);
|
|
32
|
-
exports.PolizaSubramo = PolizaSubramo = __decorate([
|
|
33
|
-
(0, typeorm_1.Entity)(),
|
|
34
|
-
(0, typeorm_1.Index)(["name", "salud"], { unique: true })
|
|
35
|
-
], PolizaSubramo);
|
|
36
|
-
//# sourceMappingURL=h_poliza_subramo.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"h_poliza_subramo.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/poliza/h_poliza_subramo.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAqF;AAI9E,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,oBAAU;IAEzC,EAAE,CAAU;IAGZ,IAAI,CAAS;IAGb,KAAK,CAAU;CAClB,CAAA;AATY,sCAAa;AAEtB;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;yCACnB;AAGZ;IADC,IAAA,gBAAM,EAAC,EAAC,MAAM,EAAE,GAAG,EAAC,CAAC;;2CACT;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;4CACZ;wBARN,aAAa;IAFzB,IAAA,gBAAM,GAAE;IACR,IAAA,eAAK,EAAC,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;GAC9B,aAAa,CASzB"}
|
|
@@ -1,33 +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.PolizaType = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
15
|
-
let PolizaType = class PolizaType extends typeorm_1.BaseEntity {
|
|
16
|
-
id;
|
|
17
|
-
name;
|
|
18
|
-
};
|
|
19
|
-
exports.PolizaType = PolizaType;
|
|
20
|
-
__decorate([
|
|
21
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'UUID of the policy type', format: 'uuid' }),
|
|
22
|
-
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
|
23
|
-
__metadata("design:type", String)
|
|
24
|
-
], PolizaType.prototype, "id", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'Name of the policy type' }),
|
|
27
|
-
(0, typeorm_1.Column)({ unique: true }),
|
|
28
|
-
__metadata("design:type", String)
|
|
29
|
-
], PolizaType.prototype, "name", void 0);
|
|
30
|
-
exports.PolizaType = PolizaType = __decorate([
|
|
31
|
-
(0, typeorm_1.Entity)()
|
|
32
|
-
], PolizaType);
|
|
33
|
-
//# sourceMappingURL=h_poliza_type.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"h_poliza_type.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/poliza/h_poliza_type.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA6E;AAC7E,6CAA8C;AAGvC,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,oBAAU;IAGxC,EAAE,CAAU;IAIZ,IAAI,CAAS;CACd,CAAA;AARY,gCAAU;AAGrB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,yBAAyB,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IACrF,IAAA,gCAAsB,EAAC,MAAM,CAAC;;sCACnB;AAIZ;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,yBAAyB,EAAE,CAAC;IACrE,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;wCACZ;qBAPF,UAAU;IADtB,IAAA,gBAAM,GAAE;GACI,UAAU,CAQtB"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { BaseEntitySimple } from "../../../../common/database/base.entity";
|
|
2
|
-
import { ReceiptStageStatus } from "../../../../common";
|
|
3
|
-
export declare class ReceiptStage extends BaseEntitySimple {
|
|
4
|
-
name: string;
|
|
5
|
-
idx: number;
|
|
6
|
-
status: ReceiptStageStatus;
|
|
7
|
-
day: number;
|
|
8
|
-
}
|
|
@@ -1,53 +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.ReceiptStage = void 0;
|
|
13
|
-
const base_entity_1 = require("../../../../common/database/base.entity");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
const typeorm_1 = require("typeorm");
|
|
16
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
17
|
-
const common_1 = require("../../../../common");
|
|
18
|
-
let ReceiptStage = class ReceiptStage extends base_entity_1.BaseEntitySimple {
|
|
19
|
-
name;
|
|
20
|
-
idx;
|
|
21
|
-
status;
|
|
22
|
-
day;
|
|
23
|
-
};
|
|
24
|
-
exports.ReceiptStage = ReceiptStage;
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'Name of the receipt stage', minLength: 1 }),
|
|
27
|
-
(0, class_validator_1.MinLength)(1),
|
|
28
|
-
(0, typeorm_1.Column)({ unique: true }),
|
|
29
|
-
__metadata("design:type", String)
|
|
30
|
-
], ReceiptStage.prototype, "name", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, swagger_1.ApiProperty)({ type: Number, description: 'Index of the receipt stage' }),
|
|
33
|
-
(0, typeorm_1.Column)(),
|
|
34
|
-
__metadata("design:type", Number)
|
|
35
|
-
], ReceiptStage.prototype, "idx", void 0);
|
|
36
|
-
__decorate([
|
|
37
|
-
(0, swagger_1.ApiProperty)({ enum: common_1.ReceiptStageStatus, description: 'Status of the Stage', }),
|
|
38
|
-
(0, typeorm_1.Column)({
|
|
39
|
-
type: "enum",
|
|
40
|
-
enum: common_1.ReceiptStageStatus,
|
|
41
|
-
nullable: true,
|
|
42
|
-
}),
|
|
43
|
-
__metadata("design:type", String)
|
|
44
|
-
], ReceiptStage.prototype, "status", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
(0, swagger_1.ApiProperty)({ type: Number, description: 'Day to apply the stage', required: false }),
|
|
47
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
48
|
-
__metadata("design:type", Number)
|
|
49
|
-
], ReceiptStage.prototype, "day", void 0);
|
|
50
|
-
exports.ReceiptStage = ReceiptStage = __decorate([
|
|
51
|
-
(0, typeorm_1.Entity)()
|
|
52
|
-
], ReceiptStage);
|
|
53
|
-
//# sourceMappingURL=h_receipt_stage.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"h_receipt_stage.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/poliza/h_receipt_stage.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yEAA2E;AAC3E,qDAA4C;AAC5C,qCAAyC;AACzC,6CAA8C;AAC9C,+CAAwD;AAGjD,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,8BAAgB;IAIhD,IAAI,CAAS;IAIb,GAAG,CAAS;IAQZ,MAAM,CAAqB;IAI3B,GAAG,CAAS;CAEb,CAAA;AAtBY,oCAAY;AAIvB;IAHC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,2BAA2B,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC;IACrF,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;0CACZ;AAIb;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,4BAA4B,EAAE,CAAC;IACxE,IAAA,gBAAM,GAAE;;yCACG;AAQZ;IANC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,2BAAkB,EAAE,WAAW,EAAE,qBAAqB,GAAG,CAAC;IAC9E,IAAA,gBAAM,EAAC;QACN,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,2BAAkB;QACxB,QAAQ,EAAE,IAAI;KACf,CAAC;;4CACyB;AAI3B;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,wBAAwB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACrF,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yCACf;uBApBD,YAAY;IADxB,IAAA,gBAAM,GAAE;GACI,YAAY,CAsBxB"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export * from "./h_poliza_forma_cobro.entity";
|
|
2
|
-
export * from "./h_poliza_frecuencia_pago.entity";
|
|
3
|
-
export * from "./h_poliza_type.entity";
|
|
4
|
-
export * from "./poliza_file.entity";
|
|
5
|
-
export * from "./h_poliza_insurance.entity";
|
|
6
|
-
export * from "./h_poliza_category.entity";
|
|
7
|
-
export * from "./h_poliza_subramo.entity";
|
|
8
|
-
export * from "./poliza_insured.entity";
|
|
9
|
-
export * from "./h_poliza_conducto_pago.entity";
|
|
10
|
-
export * from "./h_receipt_stage.entity";
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./h_poliza_forma_cobro.entity"), exports);
|
|
18
|
-
__exportStar(require("./h_poliza_frecuencia_pago.entity"), exports);
|
|
19
|
-
__exportStar(require("./h_poliza_type.entity"), exports);
|
|
20
|
-
__exportStar(require("./poliza_file.entity"), exports);
|
|
21
|
-
__exportStar(require("./h_poliza_insurance.entity"), exports);
|
|
22
|
-
__exportStar(require("./h_poliza_category.entity"), exports);
|
|
23
|
-
__exportStar(require("./h_poliza_subramo.entity"), exports);
|
|
24
|
-
__exportStar(require("./poliza_insured.entity"), exports);
|
|
25
|
-
__exportStar(require("./h_poliza_conducto_pago.entity"), exports);
|
|
26
|
-
__exportStar(require("./h_receipt_stage.entity"), exports);
|
|
27
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/poliza/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gEAA8C;AAC9C,oEAAkD;AAClD,yDAAuC;AACvC,uDAAqC;AACrC,8DAA4C;AAC5C,6DAA2C;AAC3C,4DAA0C;AAC1C,0DAAwC;AACxC,kEAAgD;AAChD,2DAAyC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { BaseEntity } from "typeorm";
|
|
2
|
-
import { Poliza } from "../../../sales/poliza.entity";
|
|
3
|
-
import { BeneficiaryPerson } from "../../../sales/beneficiarios/person.entity";
|
|
4
|
-
export declare class PolizaBeneficiary extends BaseEntity {
|
|
5
|
-
id?: string;
|
|
6
|
-
polizaId: string;
|
|
7
|
-
beneficiaryId: string;
|
|
8
|
-
relation: string;
|
|
9
|
-
percentage: number;
|
|
10
|
-
poliza: Poliza;
|
|
11
|
-
beneficiary: BeneficiaryPerson;
|
|
12
|
-
}
|
|
@@ -1,73 +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.PolizaBeneficiary = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const class_transformer_1 = require("class-transformer");
|
|
15
|
-
const poliza_entity_1 = require("../../../sales/poliza.entity");
|
|
16
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
17
|
-
const person_entity_1 = require("../../../sales/beneficiarios/person.entity");
|
|
18
|
-
let PolizaBeneficiary = class PolizaBeneficiary extends typeorm_1.BaseEntity {
|
|
19
|
-
id;
|
|
20
|
-
polizaId;
|
|
21
|
-
beneficiaryId;
|
|
22
|
-
relation;
|
|
23
|
-
percentage;
|
|
24
|
-
poliza;
|
|
25
|
-
beneficiary;
|
|
26
|
-
};
|
|
27
|
-
exports.PolizaBeneficiary = PolizaBeneficiary;
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'UUID of the policy beneficiary', format: 'uuid' }),
|
|
30
|
-
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
|
31
|
-
__metadata("design:type", String)
|
|
32
|
-
], PolizaBeneficiary.prototype, "id", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'ID of the associated policy' }),
|
|
35
|
-
(0, typeorm_1.Column)(),
|
|
36
|
-
__metadata("design:type", String)
|
|
37
|
-
], PolizaBeneficiary.prototype, "polizaId", void 0);
|
|
38
|
-
__decorate([
|
|
39
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'ID of the associated beneficiary', format: 'uuid' }),
|
|
40
|
-
(0, typeorm_1.Column)({ type: "uuid" }),
|
|
41
|
-
__metadata("design:type", String)
|
|
42
|
-
], PolizaBeneficiary.prototype, "beneficiaryId", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'Relation description or type', required: false }),
|
|
45
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
46
|
-
__metadata("design:type", String)
|
|
47
|
-
], PolizaBeneficiary.prototype, "relation", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
(0, swagger_1.ApiProperty)({ type: Number, description: 'Distribution percentage', required: false }),
|
|
50
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
51
|
-
__metadata("design:type", Number)
|
|
52
|
-
], PolizaBeneficiary.prototype, "percentage", void 0);
|
|
53
|
-
__decorate([
|
|
54
|
-
(0, class_transformer_1.Exclude)(),
|
|
55
|
-
(0, swagger_1.ApiProperty)({ type: () => poliza_entity_1.Poliza, description: 'Policy entity associated' }),
|
|
56
|
-
(0, typeorm_1.ManyToOne)(() => poliza_entity_1.Poliza, poliza => poliza.beneficiaries, {
|
|
57
|
-
onDelete: "CASCADE",
|
|
58
|
-
onUpdate: "CASCADE",
|
|
59
|
-
}),
|
|
60
|
-
__metadata("design:type", poliza_entity_1.Poliza)
|
|
61
|
-
], PolizaBeneficiary.prototype, "poliza", void 0);
|
|
62
|
-
__decorate([
|
|
63
|
-
(0, swagger_1.ApiProperty)({ type: () => person_entity_1.BeneficiaryPerson, description: 'Beneficiary person associated' }),
|
|
64
|
-
(0, typeorm_1.ManyToOne)(() => person_entity_1.BeneficiaryPerson, {
|
|
65
|
-
onDelete: "CASCADE",
|
|
66
|
-
onUpdate: "CASCADE",
|
|
67
|
-
}),
|
|
68
|
-
__metadata("design:type", person_entity_1.BeneficiaryPerson)
|
|
69
|
-
], PolizaBeneficiary.prototype, "beneficiary", void 0);
|
|
70
|
-
exports.PolizaBeneficiary = PolizaBeneficiary = __decorate([
|
|
71
|
-
(0, typeorm_1.Entity)()
|
|
72
|
-
], PolizaBeneficiary);
|
|
73
|
-
//# sourceMappingURL=poliza_beneficiary.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"poliza_beneficiary.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/poliza/poliza_beneficiary.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAwF;AACxF,yDAA4C;AAC5C,gEAAsD;AACtD,6CAA8C;AAC9C,8EAA+E;AAGxE,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,oBAAU;IAG/C,EAAE,CAAU;IAIZ,QAAQ,CAAS;IAIjB,aAAa,CAAS;IAItB,QAAQ,CAAS;IAIjB,UAAU,CAAS;IAQZ,MAAM,CAAS;IAOf,WAAW,CAAoB;CACvC,CAAA;AAnCY,8CAAiB;AAG5B;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,gCAAgC,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC5F,IAAA,gCAAsB,EAAC,MAAM,CAAC;;6CACnB;AAIZ;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,6BAA6B,EAAE,CAAC;IACzE,IAAA,gBAAM,GAAE;;mDACQ;AAIjB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,kCAAkC,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC9F,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;wDACH;AAItB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,8BAA8B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC3F,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACV;AAIjB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,yBAAyB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACtF,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACR;AAQZ;IANN,IAAA,2BAAO,GAAE;IACT,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,sBAAM,EAAE,WAAW,EAAE,0BAA0B,EAAE,CAAC;IAC5E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,sBAAM,EAAE,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,aAAa,EAAE;QACvD,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;8BACa,sBAAM;iDAAC;AAOf;IALN,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,iCAAiB,EAAE,WAAW,EAAE,+BAA+B,EAAE,CAAC;IAC5F,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,iCAAiB,EAAE;QAClC,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;8BACkB,iCAAiB;sDAAC;4BAlC3B,iBAAiB;IAD7B,IAAA,gBAAM,GAAE;GACI,iBAAiB,CAmC7B"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { BaseEntity } from "typeorm";
|
|
2
|
-
import { Poliza } from "../../../sales/poliza.entity";
|
|
3
|
-
import { File } from "../../../drive";
|
|
4
|
-
export declare class PolizaFile extends BaseEntity {
|
|
5
|
-
id?: string;
|
|
6
|
-
polizaId: string;
|
|
7
|
-
fileId: string;
|
|
8
|
-
relation: string;
|
|
9
|
-
poliza: Poliza;
|
|
10
|
-
file: File;
|
|
11
|
-
}
|
|
@@ -1,68 +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.PolizaFile = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const class_transformer_1 = require("class-transformer");
|
|
15
|
-
const poliza_entity_1 = require("../../../sales/poliza.entity");
|
|
16
|
-
const drive_1 = require("../../../drive");
|
|
17
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
18
|
-
let PolizaFile = class PolizaFile extends typeorm_1.BaseEntity {
|
|
19
|
-
id;
|
|
20
|
-
polizaId;
|
|
21
|
-
fileId;
|
|
22
|
-
relation;
|
|
23
|
-
poliza;
|
|
24
|
-
file;
|
|
25
|
-
};
|
|
26
|
-
exports.PolizaFile = PolizaFile;
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'UUID of the policy file', format: 'uuid' }),
|
|
29
|
-
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
|
30
|
-
__metadata("design:type", String)
|
|
31
|
-
], PolizaFile.prototype, "id", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'ID of the associated policy' }),
|
|
34
|
-
(0, typeorm_1.Column)(),
|
|
35
|
-
__metadata("design:type", String)
|
|
36
|
-
], PolizaFile.prototype, "polizaId", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'ID of the associated file', format: 'uuid' }),
|
|
39
|
-
(0, typeorm_1.Column)({ type: "uuid" }),
|
|
40
|
-
__metadata("design:type", String)
|
|
41
|
-
], PolizaFile.prototype, "fileId", void 0);
|
|
42
|
-
__decorate([
|
|
43
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'Relation description or type', required: false }),
|
|
44
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
45
|
-
__metadata("design:type", String)
|
|
46
|
-
], PolizaFile.prototype, "relation", void 0);
|
|
47
|
-
__decorate([
|
|
48
|
-
(0, class_transformer_1.Exclude)(),
|
|
49
|
-
(0, swagger_1.ApiProperty)({ type: () => poliza_entity_1.Poliza, description: 'Policy entity associated' }),
|
|
50
|
-
(0, typeorm_1.ManyToOne)(() => poliza_entity_1.Poliza, poliza => poliza.files, {
|
|
51
|
-
onDelete: "CASCADE",
|
|
52
|
-
onUpdate: "CASCADE",
|
|
53
|
-
}),
|
|
54
|
-
__metadata("design:type", poliza_entity_1.Poliza)
|
|
55
|
-
], PolizaFile.prototype, "poliza", void 0);
|
|
56
|
-
__decorate([
|
|
57
|
-
(0, swagger_1.ApiProperty)({ type: () => drive_1.File, description: 'File entity associated' }),
|
|
58
|
-
(0, typeorm_1.ManyToOne)(() => drive_1.File, {
|
|
59
|
-
onDelete: "CASCADE",
|
|
60
|
-
onUpdate: "CASCADE",
|
|
61
|
-
eager: true,
|
|
62
|
-
}),
|
|
63
|
-
__metadata("design:type", drive_1.File)
|
|
64
|
-
], PolizaFile.prototype, "file", void 0);
|
|
65
|
-
exports.PolizaFile = PolizaFile = __decorate([
|
|
66
|
-
(0, typeorm_1.Entity)()
|
|
67
|
-
], PolizaFile);
|
|
68
|
-
//# sourceMappingURL=poliza_file.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"poliza_file.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/poliza/poliza_file.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAwF;AACxF,yDAA4C;AAC5C,gEAAsD;AACtD,0CAAsC;AACtC,6CAA8C;AAGvC,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,oBAAU;IAGxC,EAAE,CAAU;IAIZ,QAAQ,CAAS;IAIjB,MAAM,CAAS;IAIf,QAAQ,CAAS;IAQV,MAAM,CAAS;IAQf,IAAI,CAAO;CACnB,CAAA;AAhCY,gCAAU;AAGrB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,yBAAyB,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IACrF,IAAA,gCAAsB,EAAC,MAAM,CAAC;;sCACnB;AAIZ;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,6BAA6B,EAAE,CAAC;IACzE,IAAA,gBAAM,GAAE;;4CACQ;AAIjB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,2BAA2B,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IACvF,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;0CACV;AAIf;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,8BAA8B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC3F,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CACV;AAQV;IANN,IAAA,2BAAO,GAAE;IACT,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,sBAAM,EAAE,WAAW,EAAE,0BAA0B,EAAE,CAAC;IAC5E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,sBAAM,EAAE,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,KAAK,EAAE;QAC/C,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;8BACa,sBAAM;0CAAC;AAQf;IANN,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,YAAI,EAAE,WAAW,EAAE,wBAAwB,EAAE,CAAC;IACxE,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,YAAI,EAAE;QACrB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,KAAK,EAAE,IAAI;KACZ,CAAC;8BACW,YAAI;wCAAC;qBA/BP,UAAU;IADtB,IAAA,gBAAM,GAAE;GACI,UAAU,CAgCtB"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { BaseEntity } from "typeorm";
|
|
2
|
-
import { Poliza } from "../../../sales/poliza.entity";
|
|
3
|
-
import { InsuredPerson } from "../../../sales/beneficiarios/person.entity";
|
|
4
|
-
export declare class PolizaInsured extends BaseEntity {
|
|
5
|
-
id?: string;
|
|
6
|
-
metadata: Record<string, any>;
|
|
7
|
-
polizaId: string;
|
|
8
|
-
poliza: Poliza;
|
|
9
|
-
insuredId: string;
|
|
10
|
-
insured: InsuredPerson;
|
|
11
|
-
}
|
|
@@ -1,86 +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.PolizaInsured = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const class_transformer_1 = require("class-transformer");
|
|
15
|
-
const poliza_entity_1 = require("../../../sales/poliza.entity");
|
|
16
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
17
|
-
const person_entity_1 = require("../../../sales/beneficiarios/person.entity");
|
|
18
|
-
let PolizaInsured = class PolizaInsured extends typeorm_1.BaseEntity {
|
|
19
|
-
id;
|
|
20
|
-
metadata;
|
|
21
|
-
polizaId;
|
|
22
|
-
poliza;
|
|
23
|
-
insuredId;
|
|
24
|
-
insured;
|
|
25
|
-
};
|
|
26
|
-
exports.PolizaInsured = PolizaInsured;
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, swagger_1.ApiProperty)({
|
|
29
|
-
type: String,
|
|
30
|
-
description: "UUID of the policy insured person",
|
|
31
|
-
format: "uuid",
|
|
32
|
-
}),
|
|
33
|
-
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
|
34
|
-
__metadata("design:type", String)
|
|
35
|
-
], PolizaInsured.prototype, "id", void 0);
|
|
36
|
-
__decorate([
|
|
37
|
-
(0, swagger_1.ApiProperty)({
|
|
38
|
-
type: Object,
|
|
39
|
-
description: "Additional metadata for the insured person",
|
|
40
|
-
required: false,
|
|
41
|
-
}),
|
|
42
|
-
(0, typeorm_1.Column)({
|
|
43
|
-
type: "json",
|
|
44
|
-
nullable: true,
|
|
45
|
-
}),
|
|
46
|
-
__metadata("design:type", Object)
|
|
47
|
-
], PolizaInsured.prototype, "metadata", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
(0, swagger_1.ApiProperty)({ type: String, description: "ID of the associated policy" }),
|
|
50
|
-
(0, typeorm_1.Column)(),
|
|
51
|
-
__metadata("design:type", String)
|
|
52
|
-
], PolizaInsured.prototype, "polizaId", void 0);
|
|
53
|
-
__decorate([
|
|
54
|
-
(0, class_transformer_1.Exclude)(),
|
|
55
|
-
(0, swagger_1.ApiProperty)({ type: () => poliza_entity_1.Poliza, description: "Policy entity associated" }),
|
|
56
|
-
(0, typeorm_1.ManyToOne)(() => poliza_entity_1.Poliza, (poliza) => poliza.insured, {
|
|
57
|
-
onDelete: "CASCADE",
|
|
58
|
-
onUpdate: "CASCADE",
|
|
59
|
-
}),
|
|
60
|
-
__metadata("design:type", poliza_entity_1.Poliza)
|
|
61
|
-
], PolizaInsured.prototype, "poliza", void 0);
|
|
62
|
-
__decorate([
|
|
63
|
-
(0, swagger_1.ApiProperty)({
|
|
64
|
-
type: String,
|
|
65
|
-
description: "ID of the associated insured person",
|
|
66
|
-
format: "uuid",
|
|
67
|
-
}),
|
|
68
|
-
(0, typeorm_1.Column)({ type: "uuid" }),
|
|
69
|
-
__metadata("design:type", String)
|
|
70
|
-
], PolizaInsured.prototype, "insuredId", void 0);
|
|
71
|
-
__decorate([
|
|
72
|
-
(0, swagger_1.ApiProperty)({
|
|
73
|
-
type: () => person_entity_1.InsuredPerson,
|
|
74
|
-
description: "Insured person associated",
|
|
75
|
-
}),
|
|
76
|
-
(0, typeorm_1.ManyToOne)(() => person_entity_1.InsuredPerson, {
|
|
77
|
-
onDelete: "CASCADE",
|
|
78
|
-
onUpdate: "CASCADE",
|
|
79
|
-
}),
|
|
80
|
-
__metadata("design:type", person_entity_1.InsuredPerson)
|
|
81
|
-
], PolizaInsured.prototype, "insured", void 0);
|
|
82
|
-
exports.PolizaInsured = PolizaInsured = __decorate([
|
|
83
|
-
(0, typeorm_1.Index)(["polizaId", "insuredId"], { unique: true }),
|
|
84
|
-
(0, typeorm_1.Entity)()
|
|
85
|
-
], PolizaInsured);
|
|
86
|
-
//# sourceMappingURL=poliza_insured.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"poliza_insured.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/poliza/poliza_insured.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAOiB;AACjB,yDAA4C;AAC5C,gEAAsD;AACtD,6CAA8C;AAC9C,8EAA2E;AAIpE,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,oBAAU;IAO3C,EAAE,CAAU;IAWZ,QAAQ,CAAsB;IAI9B,QAAQ,CAAS;IAQV,MAAM,CAAS;IAQtB,SAAS,CAAS;IAUX,OAAO,CAAgB;CAC/B,CAAA;AAjDY,sCAAa;AAOxB;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,mCAAmC;QAChD,MAAM,EAAE,MAAM;KACf,CAAC;IACD,IAAA,gCAAsB,EAAC,MAAM,CAAC;;yCACnB;AAWZ;IATC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,4CAA4C;QACzD,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,gBAAM,EAAC;QACN,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;KACf,CAAC;;+CAC4B;AAI9B;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,6BAA6B,EAAE,CAAC;IACzE,IAAA,gBAAM,GAAE;;+CACQ;AAQV;IANN,IAAA,2BAAO,GAAE;IACT,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,sBAAM,EAAE,WAAW,EAAE,0BAA0B,EAAE,CAAC;IAC5E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,sBAAM,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE;QACnD,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;8BACa,sBAAM;6CAAC;AAQtB;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,qCAAqC;QAClD,MAAM,EAAE,MAAM;KACf,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;gDACP;AAUX;IARN,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,GAAG,EAAE,CAAC,6BAAa;QACzB,WAAW,EAAE,2BAA2B;KACzC,CAAC;IACD,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6BAAa,EAAE;QAC9B,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;8BACc,6BAAa;8CAAC;wBAhDnB,aAAa;IAFzB,IAAA,eAAK,EAAC,CAAC,UAAU,EAAE,WAAW,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IAClD,IAAA,gBAAM,GAAE;GACI,aAAa,CAiDzB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './task_crm.entity';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./task_crm.entity"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/entities/helpers/tools/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { BaseEntity } from "typeorm";
|
|
2
|
-
import { Task } from "../../../entities/tools";
|
|
3
|
-
import { TaskCRMType } from "../../../common";
|
|
4
|
-
import { Contact, Lead, Poliza, Receipt } from "../../../entities/sales";
|
|
5
|
-
export declare class TaskCRM extends BaseEntity {
|
|
6
|
-
id?: string;
|
|
7
|
-
type: TaskCRMType;
|
|
8
|
-
taskId: string;
|
|
9
|
-
task: Task;
|
|
10
|
-
contactId?: string;
|
|
11
|
-
contact?: Contact;
|
|
12
|
-
polizaId?: string;
|
|
13
|
-
poliza?: Poliza;
|
|
14
|
-
leadId?: string;
|
|
15
|
-
lead?: Lead;
|
|
16
|
-
receiptId?: string;
|
|
17
|
-
receipt?: Receipt;
|
|
18
|
-
get crmEntity(): Contact | Poliza | Lead | Receipt | undefined;
|
|
19
|
-
}
|