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,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,9 +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_beneficiary.entity";
|
|
9
|
-
export * from "./h_poliza_conducto_pago.entity";
|
|
@@ -1,26 +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_beneficiary.entity"), exports);
|
|
25
|
-
__exportStar(require("./h_poliza_conducto_pago.entity"), exports);
|
|
26
|
-
//# 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,8DAA2C;AAC3C,kEAAgD"}
|
|
@@ -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 +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,17 +0,0 @@
|
|
|
1
|
-
import { BaseEntity } from "typeorm";
|
|
2
|
-
import { Task } from "../../../entities/tools";
|
|
3
|
-
import { TaskCRMType } from "../../../common";
|
|
4
|
-
import { Contact, Lead, Poliza } 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
|
-
get crmEntity(): Contact | Poliza | Lead | undefined;
|
|
17
|
-
}
|
|
@@ -1,121 +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.TaskCRM = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const class_transformer_1 = require("class-transformer");
|
|
15
|
-
const tools_1 = require("../../../entities/tools");
|
|
16
|
-
const common_1 = require("../../../common");
|
|
17
|
-
const sales_1 = require("../../../entities/sales");
|
|
18
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
19
|
-
let TaskCRM = class TaskCRM extends typeorm_1.BaseEntity {
|
|
20
|
-
id;
|
|
21
|
-
type;
|
|
22
|
-
taskId;
|
|
23
|
-
task;
|
|
24
|
-
contactId;
|
|
25
|
-
contact;
|
|
26
|
-
polizaId;
|
|
27
|
-
poliza;
|
|
28
|
-
leadId;
|
|
29
|
-
lead;
|
|
30
|
-
get crmEntity() {
|
|
31
|
-
switch (this.type) {
|
|
32
|
-
case common_1.TaskCRMType.CONTACT:
|
|
33
|
-
return this.contact;
|
|
34
|
-
case common_1.TaskCRMType.POLIZA:
|
|
35
|
-
return this.poliza;
|
|
36
|
-
case common_1.TaskCRMType.LEAD:
|
|
37
|
-
return this.lead;
|
|
38
|
-
default:
|
|
39
|
-
return undefined;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
exports.TaskCRM = TaskCRM;
|
|
44
|
-
__decorate([
|
|
45
|
-
(0, swagger_1.ApiProperty)({
|
|
46
|
-
type: String,
|
|
47
|
-
description: "UUID del TaskCRM",
|
|
48
|
-
format: "uuid",
|
|
49
|
-
}),
|
|
50
|
-
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
|
51
|
-
__metadata("design:type", String)
|
|
52
|
-
], TaskCRM.prototype, "id", void 0);
|
|
53
|
-
__decorate([
|
|
54
|
-
(0, swagger_1.ApiProperty)({
|
|
55
|
-
enum: common_1.TaskCRMType,
|
|
56
|
-
description: "Tipo de la entidad CRM relacionada",
|
|
57
|
-
}),
|
|
58
|
-
(0, typeorm_1.Column)({
|
|
59
|
-
type: "enum",
|
|
60
|
-
enum: common_1.TaskCRMType,
|
|
61
|
-
}),
|
|
62
|
-
__metadata("design:type", String)
|
|
63
|
-
], TaskCRM.prototype, "type", void 0);
|
|
64
|
-
__decorate([
|
|
65
|
-
(0, swagger_1.ApiProperty)({
|
|
66
|
-
type: String,
|
|
67
|
-
description: "ID de la tarea asociada",
|
|
68
|
-
}),
|
|
69
|
-
(0, typeorm_1.Column)(),
|
|
70
|
-
__metadata("design:type", String)
|
|
71
|
-
], TaskCRM.prototype, "taskId", void 0);
|
|
72
|
-
__decorate([
|
|
73
|
-
(0, typeorm_1.ManyToOne)(() => tools_1.Task, (task) => task.crm, {
|
|
74
|
-
onDelete: "CASCADE",
|
|
75
|
-
onUpdate: "CASCADE",
|
|
76
|
-
}),
|
|
77
|
-
(0, typeorm_1.JoinColumn)({ name: "taskId" }),
|
|
78
|
-
__metadata("design:type", tools_1.Task)
|
|
79
|
-
], TaskCRM.prototype, "task", void 0);
|
|
80
|
-
__decorate([
|
|
81
|
-
(0, class_transformer_1.Exclude)(),
|
|
82
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
83
|
-
__metadata("design:type", String)
|
|
84
|
-
], TaskCRM.prototype, "contactId", void 0);
|
|
85
|
-
__decorate([
|
|
86
|
-
(0, class_transformer_1.Exclude)(),
|
|
87
|
-
(0, typeorm_1.ManyToOne)(() => sales_1.Contact, { nullable: true, onDelete: "CASCADE" }),
|
|
88
|
-
(0, typeorm_1.JoinColumn)({ name: "contactId" }),
|
|
89
|
-
__metadata("design:type", sales_1.Contact)
|
|
90
|
-
], TaskCRM.prototype, "contact", void 0);
|
|
91
|
-
__decorate([
|
|
92
|
-
(0, class_transformer_1.Exclude)(),
|
|
93
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
94
|
-
__metadata("design:type", String)
|
|
95
|
-
], TaskCRM.prototype, "polizaId", void 0);
|
|
96
|
-
__decorate([
|
|
97
|
-
(0, class_transformer_1.Exclude)(),
|
|
98
|
-
(0, typeorm_1.ManyToOne)(() => sales_1.Poliza, { nullable: true, onDelete: "CASCADE" }),
|
|
99
|
-
(0, typeorm_1.JoinColumn)({ name: "polizaId" }),
|
|
100
|
-
__metadata("design:type", sales_1.Poliza)
|
|
101
|
-
], TaskCRM.prototype, "poliza", void 0);
|
|
102
|
-
__decorate([
|
|
103
|
-
(0, class_transformer_1.Exclude)(),
|
|
104
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
105
|
-
__metadata("design:type", String)
|
|
106
|
-
], TaskCRM.prototype, "leadId", void 0);
|
|
107
|
-
__decorate([
|
|
108
|
-
(0, class_transformer_1.Exclude)(),
|
|
109
|
-
(0, typeorm_1.ManyToOne)(() => sales_1.Lead, { nullable: true, onDelete: "CASCADE" }),
|
|
110
|
-
(0, typeorm_1.JoinColumn)({ name: "leadId" }),
|
|
111
|
-
__metadata("design:type", sales_1.Lead)
|
|
112
|
-
], TaskCRM.prototype, "lead", void 0);
|
|
113
|
-
__decorate([
|
|
114
|
-
(0, class_transformer_1.Expose)(),
|
|
115
|
-
__metadata("design:type", Object),
|
|
116
|
-
__metadata("design:paramtypes", [])
|
|
117
|
-
], TaskCRM.prototype, "crmEntity", null);
|
|
118
|
-
exports.TaskCRM = TaskCRM = __decorate([
|
|
119
|
-
(0, typeorm_1.Entity)()
|
|
120
|
-
], TaskCRM);
|
|
121
|
-
//# sourceMappingURL=task_crm.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"task_crm.entity.js","sourceRoot":"","sources":["../../../../src/entities/helpers/tools/task_crm.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAOiB;AACjB,yDAAoD;AACpD,mDAA+C;AAC/C,4CAA8C;AAC9C,mDAAgE;AAChE,6CAA8C;AAGvC,IAAM,OAAO,GAAb,MAAM,OAAQ,SAAQ,oBAAU;IAOrC,EAAE,CAAU;IAUZ,IAAI,CAAc;IAOlB,MAAM,CAAS;IAOf,IAAI,CAAO;IAKX,SAAS,CAAU;IAKnB,OAAO,CAAW;IAIlB,QAAQ,CAAU;IAKlB,MAAM,CAAU;IAIhB,MAAM,CAAU;IAKhB,IAAI,CAAQ;IAEZ,IACI,SAAS;QACX,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;YAClB,KAAK,oBAAW,CAAC,OAAO;gBACtB,OAAO,IAAI,CAAC,OAAO,CAAC;YACtB,KAAK,oBAAW,CAAC,MAAM;gBACrB,OAAO,IAAI,CAAC,MAAM,CAAC;YACrB,KAAK,oBAAW,CAAC,IAAI;gBACnB,OAAO,IAAI,CAAC,IAAI,CAAC;YACnB;gBACE,OAAO,SAAS,CAAC;QACrB,CAAC;IACH,CAAC;CACF,CAAA;AA1EY,0BAAO;AAOlB;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,kBAAkB;QAC/B,MAAM,EAAE,MAAM;KACf,CAAC;IACD,IAAA,gCAAsB,EAAC,MAAM,CAAC;;mCACnB;AAUZ;IARC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,oBAAW;QACjB,WAAW,EAAE,oCAAoC;KAClD,CAAC;IACD,IAAA,gBAAM,EAAC;QACN,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,oBAAW;KAClB,CAAC;;qCACgB;AAOlB;IALC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,yBAAyB;KACvC,CAAC;IACD,IAAA,gBAAM,GAAE;;uCACM;AAOf;IALC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,YAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,EAAE;QACzC,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;IACD,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;8BACzB,YAAI;qCAAC;AAKX;IAFC,IAAA,2BAAO,GAAE;IACT,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0CACR;AAKnB;IAHC,IAAA,2BAAO,GAAE;IACT,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,eAAO,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IACjE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;8BACxB,eAAO;wCAAC;AAIlB;IAFC,IAAA,2BAAO,GAAE;IACT,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yCACT;AAKlB;IAHC,IAAA,2BAAO,GAAE;IACT,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,cAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IAChE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;8BACxB,cAAM;uCAAC;AAIhB;IAFC,IAAA,2BAAO,GAAE;IACT,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uCACX;AAKhB;IAHC,IAAA,2BAAO,GAAE;IACT,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,YAAI,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IAC9D,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;8BACxB,YAAI;qCAAC;AAEZ;IAAC,IAAA,0BAAM,GAAE;;;wCAYR;kBAzEU,OAAO;IADnB,IAAA,gBAAM,GAAE;GACI,OAAO,CA0EnB"}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.ImapConfig = void 0;
|
|
13
|
-
const database_1 = require("../common/database");
|
|
14
|
-
const typeorm_1 = require("typeorm");
|
|
15
|
-
let ImapConfig = class ImapConfig extends database_1.BaseEntity {
|
|
16
|
-
host;
|
|
17
|
-
port;
|
|
18
|
-
user;
|
|
19
|
-
password;
|
|
20
|
-
mailName;
|
|
21
|
-
tls;
|
|
22
|
-
senderName;
|
|
23
|
-
userId;
|
|
24
|
-
};
|
|
25
|
-
exports.ImapConfig = ImapConfig;
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, typeorm_1.Column)(),
|
|
28
|
-
__metadata("design:type", String)
|
|
29
|
-
], ImapConfig.prototype, "host", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, typeorm_1.Column)("int"),
|
|
32
|
-
__metadata("design:type", Number)
|
|
33
|
-
], ImapConfig.prototype, "port", void 0);
|
|
34
|
-
__decorate([
|
|
35
|
-
(0, typeorm_1.Column)(),
|
|
36
|
-
__metadata("design:type", String)
|
|
37
|
-
], ImapConfig.prototype, "user", void 0);
|
|
38
|
-
__decorate([
|
|
39
|
-
(0, typeorm_1.Column)(),
|
|
40
|
-
__metadata("design:type", String)
|
|
41
|
-
], ImapConfig.prototype, "password", void 0);
|
|
42
|
-
__decorate([
|
|
43
|
-
(0, typeorm_1.Column)(),
|
|
44
|
-
__metadata("design:type", String)
|
|
45
|
-
], ImapConfig.prototype, "mailName", void 0);
|
|
46
|
-
__decorate([
|
|
47
|
-
(0, typeorm_1.Column)(),
|
|
48
|
-
__metadata("design:type", Boolean)
|
|
49
|
-
], ImapConfig.prototype, "tls", void 0);
|
|
50
|
-
__decorate([
|
|
51
|
-
(0, typeorm_1.Column)(),
|
|
52
|
-
__metadata("design:type", String)
|
|
53
|
-
], ImapConfig.prototype, "senderName", void 0);
|
|
54
|
-
__decorate([
|
|
55
|
-
(0, typeorm_1.Column)({ unique: true }),
|
|
56
|
-
__metadata("design:type", String)
|
|
57
|
-
], ImapConfig.prototype, "userId", void 0);
|
|
58
|
-
exports.ImapConfig = ImapConfig = __decorate([
|
|
59
|
-
(0, typeorm_1.Entity)()
|
|
60
|
-
], ImapConfig);
|
|
61
|
-
//# sourceMappingURL=imap-config.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"imap-config.entity.js","sourceRoot":"","sources":["../../src/entities/imap-config.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAAgD;AAChD,qCAAyC;AAGlC,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,qBAAU;IAExC,IAAI,CAAS;IAGb,IAAI,CAAS;IAGb,IAAI,CAAS;IAGb,QAAQ,CAAS;IAGjB,QAAQ,CAAS;IAGjB,GAAG,CAAU;IAGb,UAAU,CAAS;IAGnB,MAAM,CAAS;CAChB,CAAA;AAxBY,gCAAU;AAErB;IADC,IAAA,gBAAM,GAAE;;wCACI;AAGb;IADC,IAAA,gBAAM,EAAC,KAAK,CAAC;;wCACD;AAGb;IADC,IAAA,gBAAM,GAAE;;wCACI;AAGb;IADC,IAAA,gBAAM,GAAE;;4CACQ;AAGjB;IADC,IAAA,gBAAM,GAAE;;4CACQ;AAGjB;IADC,IAAA,gBAAM,GAAE;;uCACI;AAGb;IADC,IAAA,gBAAM,GAAE;;8CACU;AAGnB;IADC,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;0CACV;qBAvBJ,UAAU;IADtB,IAAA,gBAAM,GAAE;GACI,UAAU,CAwBtB"}
|
|
@@ -1,41 +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.ImapFolder = void 0;
|
|
13
|
-
const database_1 = require("../common/database");
|
|
14
|
-
const typeorm_1 = require("typeorm");
|
|
15
|
-
let ImapFolder = class ImapFolder extends database_1.BaseEntity {
|
|
16
|
-
imapFolderId;
|
|
17
|
-
mailboxName;
|
|
18
|
-
userId;
|
|
19
|
-
type;
|
|
20
|
-
};
|
|
21
|
-
exports.ImapFolder = ImapFolder;
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, typeorm_1.Column)(),
|
|
24
|
-
__metadata("design:type", String)
|
|
25
|
-
], ImapFolder.prototype, "imapFolderId", void 0);
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, typeorm_1.Column)(),
|
|
28
|
-
__metadata("design:type", String)
|
|
29
|
-
], ImapFolder.prototype, "mailboxName", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, typeorm_1.Column)(),
|
|
32
|
-
__metadata("design:type", String)
|
|
33
|
-
], ImapFolder.prototype, "userId", void 0);
|
|
34
|
-
__decorate([
|
|
35
|
-
(0, typeorm_1.Column)(),
|
|
36
|
-
__metadata("design:type", String)
|
|
37
|
-
], ImapFolder.prototype, "type", void 0);
|
|
38
|
-
exports.ImapFolder = ImapFolder = __decorate([
|
|
39
|
-
(0, typeorm_1.Entity)()
|
|
40
|
-
], ImapFolder);
|
|
41
|
-
//# sourceMappingURL=imap-folder.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"imap-folder.entity.js","sourceRoot":"","sources":["../../src/entities/imap-folder.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAAgD;AAChD,qCAAyC;AAGlC,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,qBAAU;IAEtC,YAAY,CAAS;IAGrB,WAAW,CAAS;IAGpB,MAAM,CAAS;IAGf,IAAI,CAAS;CAChB,CAAA;AAZY,gCAAU;AAEnB;IADC,IAAA,gBAAM,GAAE;;gDACY;AAGrB;IADC,IAAA,gBAAM,GAAE;;+CACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;0CACM;AAGf;IADC,IAAA,gBAAM,GAAE;;wCACI;qBAXJ,UAAU;IADtB,IAAA,gBAAM,GAAE;GACI,UAAU,CAYtB"}
|
package/dist/entities/index.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export * from "./protocol.entity";
|
|
2
|
-
export * from "./otp-log.entity";
|
|
3
|
-
export * from "./refresh-token.entity";
|
|
4
|
-
export * from "./permission.entity";
|
|
5
|
-
export * from "./phone.entity";
|
|
6
|
-
export * from "./email.entity";
|
|
7
|
-
export * from "./app_config/app-config.entity";
|
|
8
|
-
export * from "./imap-config.entity";
|
|
9
|
-
export * from "./tag.entity";
|
|
10
|
-
export * from "./tools";
|
|
11
|
-
export * from "./drive";
|
|
12
|
-
export * from "./sales";
|
|
13
|
-
export * from "./helpers";
|
|
14
|
-
export * from "./notifications";
|
|
15
|
-
export * from "./easyapp/filter-view.entity";
|
|
16
|
-
export * from "./thirdparty/oauth.entity";
|
|
17
|
-
export * from "./thirdparty/service.entity";
|
|
18
|
-
export * from "./thirdparty/email.entity";
|
|
19
|
-
export * from "./thirdparty/email-config.entity";
|
|
20
|
-
export * from "./thirdparty/user-email-relation.entity";
|
|
21
|
-
export * from "./currency.entity";
|
|
22
|
-
export * from "./user.entity";
|
|
23
|
-
export * from "./group.entity";
|
|
24
|
-
export * from "./menu-permissions.entity";
|
|
25
|
-
export * from "./profile.entity";
|
|
26
|
-
export * from "./role.entity";
|
package/dist/entities/index.js
DELETED
|
@@ -1,43 +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("./protocol.entity"), exports);
|
|
18
|
-
__exportStar(require("./otp-log.entity"), exports);
|
|
19
|
-
__exportStar(require("./refresh-token.entity"), exports);
|
|
20
|
-
__exportStar(require("./permission.entity"), exports);
|
|
21
|
-
__exportStar(require("./phone.entity"), exports);
|
|
22
|
-
__exportStar(require("./email.entity"), exports);
|
|
23
|
-
__exportStar(require("./app_config/app-config.entity"), exports);
|
|
24
|
-
__exportStar(require("./imap-config.entity"), exports);
|
|
25
|
-
__exportStar(require("./tag.entity"), exports);
|
|
26
|
-
__exportStar(require("./tools"), exports);
|
|
27
|
-
__exportStar(require("./drive"), exports);
|
|
28
|
-
__exportStar(require("./sales"), exports);
|
|
29
|
-
__exportStar(require("./helpers"), exports);
|
|
30
|
-
__exportStar(require("./notifications"), exports);
|
|
31
|
-
__exportStar(require("./easyapp/filter-view.entity"), exports);
|
|
32
|
-
__exportStar(require("./thirdparty/oauth.entity"), exports);
|
|
33
|
-
__exportStar(require("./thirdparty/service.entity"), exports);
|
|
34
|
-
__exportStar(require("./thirdparty/email.entity"), exports);
|
|
35
|
-
__exportStar(require("./thirdparty/email-config.entity"), exports);
|
|
36
|
-
__exportStar(require("./thirdparty/user-email-relation.entity"), exports);
|
|
37
|
-
__exportStar(require("./currency.entity"), exports);
|
|
38
|
-
__exportStar(require("./user.entity"), exports);
|
|
39
|
-
__exportStar(require("./group.entity"), exports);
|
|
40
|
-
__exportStar(require("./menu-permissions.entity"), exports);
|
|
41
|
-
__exportStar(require("./profile.entity"), exports);
|
|
42
|
-
__exportStar(require("./role.entity"), exports);
|
|
43
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,mDAAiC;AACjC,yDAAuC;AACvC,sDAAoC;AACpC,iDAA+B;AAC/B,iDAA+B;AAC/B,iEAA+C;AAC/C,uDAAqC;AACrC,+CAA6B;AAC7B,0CAAwB;AACxB,0CAAwB;AACxB,0CAAwB;AACxB,4CAA0B;AAC1B,kDAAgC;AAChC,+DAA6C;AAC7C,4DAA0C;AAC1C,8DAA4C;AAC5C,4DAA0C;AAC1C,mEAAiD;AACjD,0EAAwD;AACxD,oDAAkC;AAClC,gDAA8B;AAC9B,iDAA+B;AAC/B,4DAA0C;AAC1C,mDAAiC;AACjC,gDAA8B"}
|