easywork-common-lib 1.0.1322 → 1.0.1323
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 +54 -54
- 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 -112
- package/dist/common/@types/enums/permission.enum.js +0 -57
- 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 -7
- package/dist/common/@types/interfaces/index.js +0 -24
- package/dist/common/@types/interfaces/index.js.map +0 -1
- package/dist/common/@types/interfaces/lead-validation-rules.interface.d.ts +0 -29
- package/dist/common/@types/interfaces/lead-validation-rules.interface.js +0 -10
- package/dist/common/@types/interfaces/lead-validation-rules.interface.js.map +0 -1
- package/dist/common/@types/interfaces/lsm.interface.d.ts +0 -5
- package/dist/common/@types/interfaces/lsm.interface.js +0 -3
- package/dist/common/@types/interfaces/lsm.interface.js.map +0 -1
- package/dist/common/@types/interfaces/mail.interface.d.ts +0 -9
- package/dist/common/@types/interfaces/mail.interface.js +0 -3
- package/dist/common/@types/interfaces/mail.interface.js.map +0 -1
- package/dist/common/@types/interfaces/validator.interface.d.ts +0 -41
- package/dist/common/@types/interfaces/validator.interface.js +0 -3
- package/dist/common/@types/interfaces/validator.interface.js.map +0 -1
- package/dist/common/constants/app.contants.d.ts +0 -68
- package/dist/common/constants/app.contants.js +0 -316
- package/dist/common/constants/app.contants.js.map +0 -1
- package/dist/common/constants/capacitation.constants.d.ts +0 -3
- package/dist/common/constants/capacitation.constants.js +0 -7
- package/dist/common/constants/capacitation.constants.js.map +0 -1
- package/dist/common/constants/index.d.ts +0 -5
- package/dist/common/constants/index.js +0 -22
- package/dist/common/constants/index.js.map +0 -1
- package/dist/common/constants/regex.constant.d.ts +0 -6
- package/dist/common/constants/regex.constant.js +0 -10
- package/dist/common/constants/regex.constant.js.map +0 -1
- package/dist/common/constants/roles.constants.d.ts +0 -108
- package/dist/common/constants/roles.constants.js +0 -116
- package/dist/common/constants/roles.constants.js.map +0 -1
- package/dist/common/constants/string.constant.d.ts +0 -5
- package/dist/common/constants/string.constant.js +0 -41
- package/dist/common/constants/string.constant.js.map +0 -1
- package/dist/common/database/base.entity.d.ts +0 -34
- package/dist/common/database/base.entity.js +0 -191
- package/dist/common/database/base.entity.js.map +0 -1
- package/dist/common/database/comment.base.entity.d.ts +0 -12
- package/dist/common/database/comment.base.entity.js +0 -106
- 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 -2
- package/dist/common/dtos/index.js +0 -19
- package/dist/common/dtos/index.js.map +0 -1
- package/dist/common/dtos/send-notification.dto.d.ts +0 -13
- package/dist/common/dtos/send-notification.dto.js +0 -72
- package/dist/common/dtos/send-notification.dto.js.map +0 -1
- package/dist/common/enums/common.enum.d.ts +0 -58
- package/dist/common/enums/common.enum.js +0 -68
- package/dist/common/enums/common.enum.js.map +0 -1
- package/dist/common/enums/drive.enum.d.ts +0 -26
- package/dist/common/enums/drive.enum.js +0 -32
- package/dist/common/enums/drive.enum.js.map +0 -1
- package/dist/common/enums/index.d.ts +0 -6
- package/dist/common/enums/index.js +0 -23
- package/dist/common/enums/index.js.map +0 -1
- package/dist/common/enums/notification.enum.d.ts +0 -59
- package/dist/common/enums/notification.enum.js +0 -66
- package/dist/common/enums/notification.enum.js.map +0 -1
- package/dist/common/enums/project.enum.d.ts +0 -13
- package/dist/common/enums/project.enum.js +0 -19
- package/dist/common/enums/project.enum.js.map +0 -1
- package/dist/common/enums/sales.enum.d.ts +0 -168
- package/dist/common/enums/sales.enum.js +0 -201
- package/dist/common/enums/sales.enum.js.map +0 -1
- package/dist/common/enums/tools.enum.d.ts +0 -67
- package/dist/common/enums/tools.enum.js +0 -78
- package/dist/common/enums/tools.enum.js.map +0 -1
- package/dist/common/functions/cripto.d.ts +0 -1
- package/dist/common/functions/cripto.js +0 -8
- package/dist/common/functions/cripto.js.map +0 -1
- package/dist/common/functions/image.d.ts +0 -3
- package/dist/common/functions/image.js +0 -16
- package/dist/common/functions/image.js.map +0 -1
- package/dist/common/functions/index.d.ts +0 -2
- package/dist/common/functions/index.js +0 -19
- package/dist/common/functions/index.js.map +0 -1
- package/dist/common/helpers/app.utils.d.ts +0 -5
- package/dist/common/helpers/app.utils.js +0 -32
- package/dist/common/helpers/app.utils.js.map +0 -1
- package/dist/common/helpers/helpers.utils.d.ts +0 -5
- package/dist/common/helpers/helpers.utils.js +0 -26
- package/dist/common/helpers/helpers.utils.js.map +0 -1
- package/dist/common/helpers/index.d.ts +0 -2
- package/dist/common/helpers/index.js +0 -19
- package/dist/common/helpers/index.js.map +0 -1
- package/dist/common/index.d.ts +0 -9
- package/dist/common/index.js +0 -26
- 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/common/transformers/encryption.transformer.d.ts +0 -2
- package/dist/common/transformers/encryption.transformer.js +0 -83
- package/dist/common/transformers/encryption.transformer.js.map +0 -1
- package/dist/common/transformers/index.d.ts +0 -1
- package/dist/common/transformers/index.js +0 -6
- package/dist/common/transformers/index.js.map +0 -1
- package/dist/dtos/whatsapp-send-command.dto.d.ts +0 -116
- package/dist/dtos/whatsapp-send-command.dto.js +0 -16
- package/dist/dtos/whatsapp-send-command.dto.js.map +0 -1
- package/dist/entities/all-activities.entity.d.ts +0 -49
- package/dist/entities/all-activities.entity.js +0 -631
- package/dist/entities/all-activities.entity.js.map +0 -1
- package/dist/entities/app_config/app-config.entity.d.ts +0 -5
- package/dist/entities/app_config/app-config.entity.js +0 -33
- package/dist/entities/app_config/app-config.entity.js.map +0 -1
- package/dist/entities/audit.entity.d.ts +0 -7
- package/dist/entities/audit.entity.js +0 -56
- package/dist/entities/audit.entity.js.map +0 -1
- package/dist/entities/capacitation/capacitation-certificate.entity.d.ts +0 -26
- package/dist/entities/capacitation/capacitation-certificate.entity.js +0 -218
- package/dist/entities/capacitation/capacitation-certificate.entity.js.map +0 -1
- package/dist/entities/capacitation/capacitation.entity.d.ts +0 -26
- package/dist/entities/capacitation/capacitation.entity.js +0 -218
- package/dist/entities/capacitation/capacitation.entity.js.map +0 -1
- package/dist/entities/capacitation/caso_top_capital/index.d.ts +0 -2
- package/dist/entities/capacitation/caso_top_capital/index.js +0 -11
- package/dist/entities/capacitation/caso_top_capital/index.js.map +0 -1
- package/dist/entities/capacitation/caso_top_capital/interview-one-finished.entity.d.ts +0 -21
- package/dist/entities/capacitation/caso_top_capital/interview-one-finished.entity.js +0 -93
- package/dist/entities/capacitation/caso_top_capital/interview-one-finished.entity.js.map +0 -1
- package/dist/entities/capacitation/caso_top_capital/interview-two-finished.entity.d.ts +0 -28
- package/dist/entities/capacitation/caso_top_capital/interview-two-finished.entity.js +0 -117
- package/dist/entities/capacitation/caso_top_capital/interview-two-finished.entity.js.map +0 -1
- package/dist/entities/capacitation/course-assigned.entity.d.ts +0 -12
- package/dist/entities/capacitation/course-assigned.entity.js +0 -44
- package/dist/entities/capacitation/course-assigned.entity.js.map +0 -1
- package/dist/entities/capacitation/course-evaluation-attempt.entity.d.ts +0 -22
- package/dist/entities/capacitation/course-evaluation-attempt.entity.js +0 -96
- package/dist/entities/capacitation/course-evaluation-attempt.entity.js.map +0 -1
- package/dist/entities/capacitation/course-evaluation.entity.d.ts +0 -42
- package/dist/entities/capacitation/course-evaluation.entity.js +0 -111
- package/dist/entities/capacitation/course-evaluation.entity.js.map +0 -1
- package/dist/entities/capacitation/course-folder-page.entity.d.ts +0 -14
- package/dist/entities/capacitation/course-folder-page.entity.js +0 -74
- package/dist/entities/capacitation/course-folder-page.entity.js.map +0 -1
- package/dist/entities/capacitation/course-folder.entity.d.ts +0 -10
- package/dist/entities/capacitation/course-folder.entity.js +0 -57
- package/dist/entities/capacitation/course-folder.entity.js.map +0 -1
- package/dist/entities/capacitation/course-order.entity.d.ts +0 -8
- package/dist/entities/capacitation/course-order.entity.js +0 -45
- package/dist/entities/capacitation/course-order.entity.js.map +0 -1
- package/dist/entities/capacitation/course.entity.d.ts +0 -22
- package/dist/entities/capacitation/course.entity.js +0 -128
- package/dist/entities/capacitation/course.entity.js.map +0 -1
- package/dist/entities/capacitation/index.d.ts +0 -12
- package/dist/entities/capacitation/index.js +0 -40
- package/dist/entities/capacitation/index.js.map +0 -1
- package/dist/entities/capacitation/process-certificate/asignatures.entity.d.ts +0 -15
- package/dist/entities/capacitation/process-certificate/asignatures.entity.js +0 -106
- package/dist/entities/capacitation/process-certificate/asignatures.entity.js.map +0 -1
- package/dist/entities/capacitation/process-certificate/element-asignature.entity.d.ts +0 -34
- package/dist/entities/capacitation/process-certificate/element-asignature.entity.js +0 -174
- package/dist/entities/capacitation/process-certificate/element-asignature.entity.js.map +0 -1
- package/dist/entities/capacitation/process-certificate/index.d.ts +0 -5
- package/dist/entities/capacitation/process-certificate/index.js +0 -16
- package/dist/entities/capacitation/process-certificate/index.js.map +0 -1
- package/dist/entities/capacitation/process-certificate/kardex.entity.d.ts +0 -17
- package/dist/entities/capacitation/process-certificate/kardex.entity.js +0 -95
- package/dist/entities/capacitation/process-certificate/kardex.entity.js.map +0 -1
- package/dist/entities/capacitation/process-certificate/sections.entity.d.ts +0 -13
- package/dist/entities/capacitation/process-certificate/sections.entity.js +0 -74
- package/dist/entities/capacitation/process-certificate/sections.entity.js.map +0 -1
- package/dist/entities/capacitation/process-certificate/table-contents.entity.d.ts +0 -12
- package/dist/entities/capacitation/process-certificate/table-contents.entity.js +0 -64
- package/dist/entities/capacitation/process-certificate/table-contents.entity.js.map +0 -1
- package/dist/entities/capacitation/weeks-sections/index.d.ts +0 -5
- package/dist/entities/capacitation/weeks-sections/index.js +0 -27
- package/dist/entities/capacitation/weeks-sections/index.js.map +0 -1
- package/dist/entities/capacitation/weeks-sections/weeks-content-sections.entity.d.ts +0 -13
- package/dist/entities/capacitation/weeks-sections/weeks-content-sections.entity.js +0 -85
- package/dist/entities/capacitation/weeks-sections/weeks-content-sections.entity.js.map +0 -1
- package/dist/entities/capacitation/weeks-sections/weeks-respuestas-content.entity.d.ts +0 -11
- package/dist/entities/capacitation/weeks-sections/weeks-respuestas-content.entity.js +0 -69
- package/dist/entities/capacitation/weeks-sections/weeks-respuestas-content.entity.js.map +0 -1
- package/dist/entities/capacitation/weeks-sections/weeks-roles-play/index.d.ts +0 -2
- package/dist/entities/capacitation/weeks-sections/weeks-roles-play/index.js +0 -19
- package/dist/entities/capacitation/weeks-sections/weeks-roles-play/index.js.map +0 -1
- package/dist/entities/capacitation/weeks-sections/weeks-roles-play/roles-play-agent.entity.d.ts +0 -15
- package/dist/entities/capacitation/weeks-sections/weeks-roles-play/roles-play-agent.entity.js +0 -88
- package/dist/entities/capacitation/weeks-sections/weeks-roles-play/roles-play-agent.entity.js.map +0 -1
- package/dist/entities/capacitation/weeks-sections/weeks-roles-play/weeks-roles-play.entity.d.ts +0 -9
- package/dist/entities/capacitation/weeks-sections/weeks-roles-play/weeks-roles-play.entity.js +0 -61
- package/dist/entities/capacitation/weeks-sections/weeks-roles-play/weeks-roles-play.entity.js.map +0 -1
- package/dist/entities/capacitation/weeks-sections/weeks-sections.entity.d.ts +0 -11
- package/dist/entities/capacitation/weeks-sections/weeks-sections.entity.js +0 -67
- package/dist/entities/capacitation/weeks-sections/weeks-sections.entity.js.map +0 -1
- package/dist/entities/capacitation/weeks-sections/weeks.entity.d.ts +0 -11
- package/dist/entities/capacitation/weeks-sections/weeks.entity.js +0 -67
- package/dist/entities/capacitation/weeks-sections/weeks.entity.js.map +0 -1
- package/dist/entities/company.entity.d.ts +0 -14
- package/dist/entities/company.entity.js +0 -116
- package/dist/entities/company.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 -27
- package/dist/entities/drive/attached_object.entity.js +0 -154
- package/dist/entities/drive/attached_object.entity.js.map +0 -1
- package/dist/entities/drive/file.entity.d.ts +0 -20
- package/dist/entities/drive/file.entity.js +0 -178
- package/dist/entities/drive/file.entity.js.map +0 -1
- package/dist/entities/drive/folder.entity.d.ts +0 -19
- package/dist/entities/drive/folder.entity.js +0 -173
- package/dist/entities/drive/folder.entity.js.map +0 -1
- package/dist/entities/drive/index.d.ts +0 -4
- package/dist/entities/drive/index.js +0 -21
- package/dist/entities/drive/index.js.map +0 -1
- package/dist/entities/drive/policy-file-metadata.entity.d.ts +0 -33
- package/dist/entities/drive/policy-file-metadata.entity.js +0 -190
- package/dist/entities/drive/policy-file-metadata.entity.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 -40
- package/dist/entities/email.entity.js.map +0 -1
- package/dist/entities/group/group-collection-responsible.entity.d.ts +0 -14
- package/dist/entities/group/group-collection-responsible.entity.js +0 -79
- package/dist/entities/group/group-collection-responsible.entity.js.map +0 -1
- package/dist/entities/group.entity.d.ts +0 -19
- package/dist/entities/group.entity.js +0 -75
- package/dist/entities/group.entity.js.map +0 -1
- package/dist/entities/helpers/entity_file.entity.d.ts +0 -10
- package/dist/entities/helpers/entity_file.entity.js +0 -61
- package/dist/entities/helpers/entity_file.entity.js.map +0 -1
- package/dist/entities/helpers/entity_folder.entity.d.ts +0 -10
- package/dist/entities/helpers/entity_folder.entity.js +0 -61
- package/dist/entities/helpers/entity_folder.entity.js.map +0 -1
- package/dist/entities/helpers/index.d.ts +0 -5
- package/dist/entities/helpers/index.js +0 -22
- package/dist/entities/helpers/index.js.map +0 -1
- package/dist/entities/helpers/meeting_crm.entity.d.ts +0 -24
- package/dist/entities/helpers/meeting_crm.entity.js +0 -180
- package/dist/entities/helpers/meeting_crm.entity.js.map +0 -1
- package/dist/entities/helpers/sales/agent/capacitation/h_agent_capacitation_stage.entity.d.ts +0 -5
- package/dist/entities/helpers/sales/agent/capacitation/h_agent_capacitation_stage.entity.js +0 -43
- package/dist/entities/helpers/sales/agent/capacitation/h_agent_capacitation_stage.entity.js.map +0 -1
- package/dist/entities/helpers/sales/agent/certificate/h_agent_certificate_stage.entity.d.ts +0 -5
- package/dist/entities/helpers/sales/agent/certificate/h_agent_certificate_stage.entity.js +0 -43
- package/dist/entities/helpers/sales/agent/certificate/h_agent_certificate_stage.entity.js.map +0 -1
- package/dist/entities/helpers/sales/agent/connection/h_agent_connection.entity.d.ts +0 -64
- package/dist/entities/helpers/sales/agent/connection/h_agent_connection.entity.js +0 -595
- package/dist/entities/helpers/sales/agent/connection/h_agent_connection.entity.js.map +0 -1
- package/dist/entities/helpers/sales/agent/connection/h_agent_connection_stage.entity.d.ts +0 -5
- package/dist/entities/helpers/sales/agent/connection/h_agent_connection_stage.entity.js +0 -43
- package/dist/entities/helpers/sales/agent/connection/h_agent_connection_stage.entity.js.map +0 -1
- package/dist/entities/helpers/sales/agent/connection/tables/connection-content.entity.d.ts +0 -13
- package/dist/entities/helpers/sales/agent/connection/tables/connection-content.entity.js +0 -88
- package/dist/entities/helpers/sales/agent/connection/tables/connection-content.entity.js.map +0 -1
- package/dist/entities/helpers/sales/agent/connection/tables/connection-response.entity.d.ts +0 -10
- package/dist/entities/helpers/sales/agent/connection/tables/connection-response.entity.js +0 -68
- package/dist/entities/helpers/sales/agent/connection/tables/connection-response.entity.js.map +0 -1
- package/dist/entities/helpers/sales/agent/connection/tables/connection-section.entity.d.ts +0 -11
- package/dist/entities/helpers/sales/agent/connection/tables/connection-section.entity.js +0 -74
- package/dist/entities/helpers/sales/agent/connection/tables/connection-section.entity.js.map +0 -1
- package/dist/entities/helpers/sales/agent/connection/tables/connection-table.entity.d.ts +0 -11
- package/dist/entities/helpers/sales/agent/connection/tables/connection-table.entity.js +0 -71
- package/dist/entities/helpers/sales/agent/connection/tables/connection-table.entity.js.map +0 -1
- package/dist/entities/helpers/sales/agent/connection/tables/index.d.ts +0 -4
- package/dist/entities/helpers/sales/agent/connection/tables/index.js +0 -21
- package/dist/entities/helpers/sales/agent/connection/tables/index.js.map +0 -1
- package/dist/entities/helpers/sales/agent/h_agent_experiences.entity.d.ts +0 -6
- package/dist/entities/helpers/sales/agent/h_agent_experiences.entity.js +0 -38
- package/dist/entities/helpers/sales/agent/h_agent_experiences.entity.js.map +0 -1
- package/dist/entities/helpers/sales/agent/h_agent_manual_referrals.entity.d.ts +0 -6
- package/dist/entities/helpers/sales/agent/h_agent_manual_referrals.entity.js +0 -38
- package/dist/entities/helpers/sales/agent/h_agent_manual_referrals.entity.js.map +0 -1
- package/dist/entities/helpers/sales/agent/h_agent_source.entity.d.ts +0 -4
- package/dist/entities/helpers/sales/agent/h_agent_source.entity.js +0 -34
- package/dist/entities/helpers/sales/agent/h_agent_source.entity.js.map +0 -1
- package/dist/entities/helpers/sales/agent/h_agent_types.entity.d.ts +0 -4
- package/dist/entities/helpers/sales/agent/h_agent_types.entity.js +0 -34
- package/dist/entities/helpers/sales/agent/h_agent_types.entity.js.map +0 -1
- package/dist/entities/helpers/sales/agent/index.d.ts +0 -13
- package/dist/entities/helpers/sales/agent/index.js +0 -30
- package/dist/entities/helpers/sales/agent/index.js.map +0 -1
- package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment.entity.d.ts +0 -21
- package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment.entity.js +0 -179
- package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment.entity.js.map +0 -1
- package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment_other_referrals.entity.d.ts +0 -9
- package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment_other_referrals.entity.js +0 -64
- package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment_other_referrals.entity.js.map +0 -1
- package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment_stage.entity.d.ts +0 -5
- package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment_stage.entity.js +0 -43
- package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment_stage.entity.js.map +0 -1
- package/dist/entities/helpers/sales/agent/recruitment/training-type.entity.d.ts +0 -9
- package/dist/entities/helpers/sales/agent/recruitment/training-type.entity.js +0 -65
- package/dist/entities/helpers/sales/agent/recruitment/training-type.entity.js.map +0 -1
- package/dist/entities/helpers/sales/common/client_sources.entity.d.ts +0 -7
- package/dist/entities/helpers/sales/common/client_sources.entity.js +0 -56
- 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 -40
- package/dist/entities/helpers/sales/common/client_types.entity.js.map +0 -1
- package/dist/entities/helpers/sales/contact/contact_email.entity.d.ts +0 -11
- package/dist/entities/helpers/sales/contact/contact_email.entity.js +0 -89
- package/dist/entities/helpers/sales/contact/contact_email.entity.js.map +0 -1
- package/dist/entities/helpers/sales/contact/contact_insurance.entity.d.ts +0 -11
- package/dist/entities/helpers/sales/contact/contact_insurance.entity.js +0 -92
- package/dist/entities/helpers/sales/contact/contact_insurance.entity.js.map +0 -1
- package/dist/entities/helpers/sales/contact/contact_phone.entity.d.ts +0 -11
- package/dist/entities/helpers/sales/contact/contact_phone.entity.js +0 -89
- package/dist/entities/helpers/sales/contact/contact_phone.entity.js.map +0 -1
- package/dist/entities/helpers/sales/contact/index.d.ts +0 -5
- package/dist/entities/helpers/sales/contact/index.js +0 -22
- package/dist/entities/helpers/sales/contact/index.js.map +0 -1
- package/dist/entities/helpers/sales/index.d.ts +0 -7
- package/dist/entities/helpers/sales/index.js +0 -24
- package/dist/entities/helpers/sales/index.js.map +0 -1
- package/dist/entities/helpers/sales/lead/h_lead_source.entity.d.ts +0 -4
- package/dist/entities/helpers/sales/lead/h_lead_source.entity.js +0 -30
- package/dist/entities/helpers/sales/lead/h_lead_source.entity.js.map +0 -1
- package/dist/entities/helpers/sales/lead/h_lead_stage.entity.d.ts +0 -5
- package/dist/entities/helpers/sales/lead/h_lead_stage.entity.js +0 -36
- package/dist/entities/helpers/sales/lead/h_lead_stage.entity.js.map +0 -1
- package/dist/entities/helpers/sales/lead/h_lead_types.entity.d.ts +0 -4
- package/dist/entities/helpers/sales/lead/h_lead_types.entity.js +0 -30
- package/dist/entities/helpers/sales/lead/h_lead_types.entity.js.map +0 -1
- package/dist/entities/helpers/sales/lead/index.d.ts +0 -6
- package/dist/entities/helpers/sales/lead/index.js +0 -23
- package/dist/entities/helpers/sales/lead/index.js.map +0 -1
- package/dist/entities/helpers/sales/lead/lead_cancel_reazon.entity.d.ts +0 -4
- package/dist/entities/helpers/sales/lead/lead_cancel_reazon.entity.js +0 -28
- package/dist/entities/helpers/sales/lead/lead_cancel_reazon.entity.js.map +0 -1
- package/dist/entities/helpers/sales/lead/lead_email.entity.d.ts +0 -11
- package/dist/entities/helpers/sales/lead/lead_email.entity.js +0 -66
- package/dist/entities/helpers/sales/lead/lead_email.entity.js.map +0 -1
- package/dist/entities/helpers/sales/lead/lead_phone.entity.d.ts +0 -11
- package/dist/entities/helpers/sales/lead/lead_phone.entity.js +0 -66
- package/dist/entities/helpers/sales/lead/lead_phone.entity.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/h_poliza_category.entity.d.ts +0 -11
- package/dist/entities/helpers/sales/poliza/h_poliza_category.entity.js +0 -55
- package/dist/entities/helpers/sales/poliza/h_poliza_category.entity.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/h_poliza_conducto_pago.entity.d.ts +0 -5
- package/dist/entities/helpers/sales/poliza/h_poliza_conducto_pago.entity.js +0 -33
- package/dist/entities/helpers/sales/poliza/h_poliza_conducto_pago.entity.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/h_poliza_forma_cobro.entity.d.ts +0 -6
- package/dist/entities/helpers/sales/poliza/h_poliza_forma_cobro.entity.js +0 -39
- package/dist/entities/helpers/sales/poliza/h_poliza_forma_cobro.entity.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/h_poliza_frecuencia_pago.entity.d.ts +0 -6
- package/dist/entities/helpers/sales/poliza/h_poliza_frecuencia_pago.entity.js +0 -39
- package/dist/entities/helpers/sales/poliza/h_poliza_frecuencia_pago.entity.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/h_poliza_insurance.entity.d.ts +0 -5
- package/dist/entities/helpers/sales/poliza/h_poliza_insurance.entity.js +0 -30
- package/dist/entities/helpers/sales/poliza/h_poliza_insurance.entity.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/h_poliza_stage.entity.d.ts +0 -5
- package/dist/entities/helpers/sales/poliza/h_poliza_stage.entity.js +0 -43
- package/dist/entities/helpers/sales/poliza/h_poliza_stage.entity.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/h_poliza_subramo.entity.d.ts +0 -6
- package/dist/entities/helpers/sales/poliza/h_poliza_subramo.entity.js +0 -36
- package/dist/entities/helpers/sales/poliza/h_poliza_subramo.entity.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/h_poliza_type.entity.d.ts +0 -5
- package/dist/entities/helpers/sales/poliza/h_poliza_type.entity.js +0 -33
- package/dist/entities/helpers/sales/poliza/h_poliza_type.entity.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/h_receipt_stage.entity.d.ts +0 -8
- package/dist/entities/helpers/sales/poliza/h_receipt_stage.entity.js +0 -53
- package/dist/entities/helpers/sales/poliza/h_receipt_stage.entity.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/index.d.ts +0 -12
- package/dist/entities/helpers/sales/poliza/index.js +0 -29
- package/dist/entities/helpers/sales/poliza/index.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/poliza_cancel_reason.entity.d.ts +0 -4
- package/dist/entities/helpers/sales/poliza/poliza_cancel_reason.entity.js +0 -28
- package/dist/entities/helpers/sales/poliza/poliza_cancel_reason.entity.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/poliza_insured.entity.d.ts +0 -11
- package/dist/entities/helpers/sales/poliza/poliza_insured.entity.js +0 -86
- package/dist/entities/helpers/sales/poliza/poliza_insured.entity.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/poliza_settlement.entity.d.ts +0 -4
- package/dist/entities/helpers/sales/poliza/poliza_settlement.entity.js +0 -28
- package/dist/entities/helpers/sales/poliza/poliza_settlement.entity.js.map +0 -1
- package/dist/entities/helpers/tools/event_crm.entity.d.ts +0 -36
- package/dist/entities/helpers/tools/event_crm.entity.js +0 -265
- package/dist/entities/helpers/tools/event_crm.entity.js.map +0 -1
- package/dist/entities/helpers/tools/index.d.ts +0 -2
- package/dist/entities/helpers/tools/index.js +0 -19
- package/dist/entities/helpers/tools/index.js.map +0 -1
- package/dist/entities/helpers/tools/task_crm.entity.d.ts +0 -38
- package/dist/entities/helpers/tools/task_crm.entity.js +0 -272
- package/dist/entities/helpers/tools/task_crm.entity.js.map +0 -1
- package/dist/entities/imap-config.entity.d.ts +0 -11
- package/dist/entities/imap-config.entity.js +0 -61
- package/dist/entities/imap-config.entity.js.map +0 -1
- package/dist/entities/index.d.ts +0 -62
- package/dist/entities/index.js +0 -79
- package/dist/entities/index.js.map +0 -1
- package/dist/entities/login-history.entity.d.ts +0 -7
- package/dist/entities/login-history.entity.js +0 -53
- package/dist/entities/login-history.entity.js.map +0 -1
- package/dist/entities/meeting-comment.entity.d.ts +0 -8
- package/dist/entities/meeting-comment.entity.js +0 -46
- package/dist/entities/meeting-comment.entity.js.map +0 -1
- package/dist/entities/meeting-list-field.d.ts +0 -5
- package/dist/entities/meeting-list-field.js +0 -46
- package/dist/entities/meeting-list-field.js.map +0 -1
- package/dist/entities/meeting.entity.d.ts +0 -24
- package/dist/entities/meeting.entity.js +0 -187
- package/dist/entities/meeting.entity.js.map +0 -1
- package/dist/entities/menu-permissions.entity.d.ts +0 -7
- package/dist/entities/menu-permissions.entity.js +0 -42
- package/dist/entities/menu-permissions.entity.js.map +0 -1
- package/dist/entities/messaging/whatsapp/group-whatsapp-number.entity.d.ts +0 -18
- package/dist/entities/messaging/whatsapp/group-whatsapp-number.entity.js +0 -143
- package/dist/entities/messaging/whatsapp/group-whatsapp-number.entity.js.map +0 -1
- package/dist/entities/messaging/whatsapp/index.d.ts +0 -10
- package/dist/entities/messaging/whatsapp/index.js +0 -27
- package/dist/entities/messaging/whatsapp/index.js.map +0 -1
- package/dist/entities/messaging/whatsapp/whatsapp-conversation-crm.entity.d.ts +0 -23
- package/dist/entities/messaging/whatsapp/whatsapp-conversation-crm.entity.js +0 -134
- package/dist/entities/messaging/whatsapp/whatsapp-conversation-crm.entity.js.map +0 -1
- package/dist/entities/messaging/whatsapp/whatsapp-conversation.entity.d.ts +0 -30
- package/dist/entities/messaging/whatsapp/whatsapp-conversation.entity.js +0 -249
- package/dist/entities/messaging/whatsapp/whatsapp-conversation.entity.js.map +0 -1
- package/dist/entities/messaging/whatsapp/whatsapp-message-cost.entity.d.ts +0 -23
- package/dist/entities/messaging/whatsapp/whatsapp-message-cost.entity.js +0 -145
- package/dist/entities/messaging/whatsapp/whatsapp-message-cost.entity.js.map +0 -1
- package/dist/entities/messaging/whatsapp/whatsapp-message.entity.d.ts +0 -46
- package/dist/entities/messaging/whatsapp/whatsapp-message.entity.js +0 -269
- package/dist/entities/messaging/whatsapp/whatsapp-message.entity.js.map +0 -1
- package/dist/entities/messaging/whatsapp/whatsapp-provider-configuration.entity.d.ts +0 -25
- package/dist/entities/messaging/whatsapp/whatsapp-provider-configuration.entity.js +0 -164
- package/dist/entities/messaging/whatsapp/whatsapp-provider-configuration.entity.js.map +0 -1
- package/dist/entities/messaging/whatsapp/whatsapp-provider.entity.d.ts +0 -24
- package/dist/entities/messaging/whatsapp/whatsapp-provider.entity.js +0 -99
- package/dist/entities/messaging/whatsapp/whatsapp-provider.entity.js.map +0 -1
- package/dist/entities/messaging/whatsapp/whatsapp-template.entity.d.ts +0 -39
- package/dist/entities/messaging/whatsapp/whatsapp-template.entity.js +0 -122
- package/dist/entities/messaging/whatsapp/whatsapp-template.entity.js.map +0 -1
- package/dist/entities/messaging/whatsapp/whatsapp-webhook-log.entity.d.ts +0 -12
- package/dist/entities/messaging/whatsapp/whatsapp-webhook-log.entity.js +0 -106
- package/dist/entities/messaging/whatsapp/whatsapp-webhook-log.entity.js.map +0 -1
- package/dist/entities/messaging/whatsapp/whatsapp.enum.d.ts +0 -68
- package/dist/entities/messaging/whatsapp/whatsapp.enum.js +0 -82
- package/dist/entities/messaging/whatsapp/whatsapp.enum.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 -10
- package/dist/entities/otp-log.entity.js +0 -61
- package/dist/entities/otp-log.entity.js.map +0 -1
- package/dist/entities/payments/banbajio-payment.entity.d.ts +0 -26
- package/dist/entities/payments/banbajio-payment.entity.js +0 -92
- package/dist/entities/payments/banbajio-payment.entity.js.map +0 -1
- package/dist/entities/payments/payment.entity.d.ts +0 -58
- package/dist/entities/payments/payment.entity.js +0 -191
- package/dist/entities/payments/payment.entity.js.map +0 -1
- package/dist/entities/payments/stripe-payment.entity.d.ts +0 -50
- package/dist/entities/payments/stripe-payment.entity.js +0 -231
- package/dist/entities/payments/stripe-payment.entity.js.map +0 -1
- package/dist/entities/permission.entity.d.ts +0 -14
- package/dist/entities/permission.entity.js +0 -133
- package/dist/entities/permission.entity.js.map +0 -1
- package/dist/entities/phone.entity.d.ts +0 -5
- package/dist/entities/phone.entity.js +0 -36
- package/dist/entities/phone.entity.js.map +0 -1
- package/dist/entities/policy/index.d.ts +0 -3
- package/dist/entities/policy/index.js +0 -20
- package/dist/entities/policy/index.js.map +0 -1
- package/dist/entities/policy/policy-version.entity.d.ts +0 -49
- package/dist/entities/policy/policy-version.entity.js +0 -458
- package/dist/entities/policy/policy-version.entity.js.map +0 -1
- package/dist/entities/policy/policy.entity.d.ts +0 -32
- package/dist/entities/policy/policy.entity.js +0 -330
- package/dist/entities/policy/policy.entity.js.map +0 -1
- package/dist/entities/policy/version-comment.entity.d.ts +0 -5
- package/dist/entities/policy/version-comment.entity.js +0 -35
- package/dist/entities/policy/version-comment.entity.js.map +0 -1
- package/dist/entities/policy-tag.entity.d.ts +0 -10
- package/dist/entities/policy-tag.entity.js +0 -65
- package/dist/entities/policy-tag.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/project_management/activities/activities-comment.entity.d.ts +0 -11
- package/dist/entities/project_management/activities/activities-comment.entity.js +0 -63
- package/dist/entities/project_management/activities/activities-comment.entity.js.map +0 -1
- package/dist/entities/project_management/activities/activity-file.entity.d.ts +0 -11
- package/dist/entities/project_management/activities/activity-file.entity.js +0 -64
- package/dist/entities/project_management/activities/activity-file.entity.js.map +0 -1
- package/dist/entities/project_management/activities/activity.entity.d.ts +0 -21
- package/dist/entities/project_management/activities/activity.entity.js +0 -111
- package/dist/entities/project_management/activities/activity.entity.js.map +0 -1
- package/dist/entities/project_management/activities/index.d.ts +0 -3
- package/dist/entities/project_management/activities/index.js +0 -20
- package/dist/entities/project_management/activities/index.js.map +0 -1
- package/dist/entities/project_management/index.d.ts +0 -2
- package/dist/entities/project_management/index.js +0 -19
- package/dist/entities/project_management/index.js.map +0 -1
- package/dist/entities/project_management/project/index.d.ts +0 -3
- package/dist/entities/project_management/project/index.js +0 -20
- package/dist/entities/project_management/project/index.js.map +0 -1
- package/dist/entities/project_management/project/project-comment.entity.d.ts +0 -11
- package/dist/entities/project_management/project/project-comment.entity.js +0 -63
- package/dist/entities/project_management/project/project-comment.entity.js.map +0 -1
- package/dist/entities/project_management/project/project-file.entity.d.ts +0 -11
- package/dist/entities/project_management/project/project-file.entity.js +0 -64
- package/dist/entities/project_management/project/project-file.entity.js.map +0 -1
- package/dist/entities/project_management/project/project.entity.d.ts +0 -24
- package/dist/entities/project_management/project/project.entity.js +0 -123
- package/dist/entities/project_management/project/project.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/qrcode.entity.d.ts +0 -9
- package/dist/entities/qrcode.entity.js +0 -54
- package/dist/entities/qrcode.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-audit-log.entity.d.ts +0 -25
- package/dist/entities/role-audit-log.entity.js +0 -122
- package/dist/entities/role-audit-log.entity.js.map +0 -1
- package/dist/entities/role.entity.d.ts +0 -16
- package/dist/entities/role.entity.js +0 -131
- package/dist/entities/role.entity.js.map +0 -1
- package/dist/entities/sales/agent-comment.entity.d.ts +0 -5
- package/dist/entities/sales/agent-comment.entity.js +0 -35
- package/dist/entities/sales/agent-comment.entity.js.map +0 -1
- package/dist/entities/sales/agent.entity.d.ts +0 -81
- package/dist/entities/sales/agent.entity.js +0 -667
- package/dist/entities/sales/agent.entity.js.map +0 -1
- package/dist/entities/sales/agente-intermediario.entity.d.ts +0 -7
- package/dist/entities/sales/agente-intermediario.entity.js +0 -49
- package/dist/entities/sales/agente-intermediario.entity.js.map +0 -1
- package/dist/entities/sales/beneficiarios/index.d.ts +0 -2
- package/dist/entities/sales/beneficiarios/index.js +0 -19
- package/dist/entities/sales/beneficiarios/index.js.map +0 -1
- package/dist/entities/sales/beneficiarios/person.entity.d.ts +0 -10
- package/dist/entities/sales/beneficiarios/person.entity.js +0 -89
- package/dist/entities/sales/beneficiarios/person.entity.js.map +0 -1
- package/dist/entities/sales/beneficiarios/vehicle.entity.d.ts +0 -16
- package/dist/entities/sales/beneficiarios/vehicle.entity.js +0 -106
- package/dist/entities/sales/beneficiarios/vehicle.entity.js.map +0 -1
- package/dist/entities/sales/contact-comment.entity.d.ts +0 -5
- package/dist/entities/sales/contact-comment.entity.js +0 -32
- package/dist/entities/sales/contact-comment.entity.js.map +0 -1
- package/dist/entities/sales/contact.entity.d.ts +0 -60
- package/dist/entities/sales/contact.entity.js +0 -528
- package/dist/entities/sales/contact.entity.js.map +0 -1
- package/dist/entities/sales/import-session.entity.d.ts +0 -29
- package/dist/entities/sales/import-session.entity.js +0 -155
- package/dist/entities/sales/import-session.entity.js.map +0 -1
- package/dist/entities/sales/index.d.ts +0 -17
- package/dist/entities/sales/index.js +0 -34
- 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-validation-rule.entity.d.ts +0 -7
- package/dist/entities/sales/lead-validation-rule.entity.js +0 -34
- package/dist/entities/sales/lead-validation-rule.entity.js.map +0 -1
- package/dist/entities/sales/lead.entity.d.ts +0 -66
- package/dist/entities/sales/lead.entity.js +0 -631
- package/dist/entities/sales/lead.entity.js.map +0 -1
- package/dist/entities/sales/policy-comment.entity.d.ts +0 -5
- package/dist/entities/sales/policy-comment.entity.js +0 -35
- package/dist/entities/sales/policy-comment.entity.js.map +0 -1
- package/dist/entities/sales/poliza/index.d.ts +0 -8
- package/dist/entities/sales/poliza/index.js +0 -25
- package/dist/entities/sales/poliza/index.js.map +0 -1
- package/dist/entities/sales/poliza/poliza_claim-comment.entity.d.ts +0 -5
- package/dist/entities/sales/poliza/poliza_claim-comment.entity.js +0 -35
- package/dist/entities/sales/poliza/poliza_claim-comment.entity.js.map +0 -1
- package/dist/entities/sales/poliza/poliza_claim.entity.d.ts +0 -39
- package/dist/entities/sales/poliza/poliza_claim.entity.js +0 -328
- package/dist/entities/sales/poliza/poliza_claim.entity.js.map +0 -1
- package/dist/entities/sales/poliza/poliza_fund-recovery-comment.entity.d.ts +0 -5
- package/dist/entities/sales/poliza/poliza_fund-recovery-comment.entity.js +0 -35
- package/dist/entities/sales/poliza/poliza_fund-recovery-comment.entity.js.map +0 -1
- package/dist/entities/sales/poliza/poliza_fund-recovery.entity.d.ts +0 -36
- package/dist/entities/sales/poliza/poliza_fund-recovery.entity.js +0 -302
- package/dist/entities/sales/poliza/poliza_fund-recovery.entity.js.map +0 -1
- package/dist/entities/sales/poliza/poliza_reimbursement-comment.entity.d.ts +0 -5
- package/dist/entities/sales/poliza/poliza_reimbursement-comment.entity.js +0 -35
- package/dist/entities/sales/poliza/poliza_reimbursement-comment.entity.js.map +0 -1
- package/dist/entities/sales/poliza/poliza_reimbursement.entity.d.ts +0 -39
- package/dist/entities/sales/poliza/poliza_reimbursement.entity.js +0 -320
- package/dist/entities/sales/poliza/poliza_reimbursement.entity.js.map +0 -1
- package/dist/entities/sales/poliza/poliza_scheduling-comment.entity.d.ts +0 -5
- package/dist/entities/sales/poliza/poliza_scheduling-comment.entity.js +0 -35
- package/dist/entities/sales/poliza/poliza_scheduling-comment.entity.js.map +0 -1
- package/dist/entities/sales/poliza/poliza_scheduling.entity.d.ts +0 -42
- package/dist/entities/sales/poliza/poliza_scheduling.entity.js +0 -342
- package/dist/entities/sales/poliza/poliza_scheduling.entity.js.map +0 -1
- package/dist/entities/sales/poliza-comment.entity.d.ts +0 -5
- package/dist/entities/sales/poliza-comment.entity.js +0 -32
- package/dist/entities/sales/poliza-comment.entity.js.map +0 -1
- package/dist/entities/sales/poliza.entity.d.ts +0 -110
- package/dist/entities/sales/poliza.entity.js +0 -1051
- package/dist/entities/sales/poliza.entity.js.map +0 -1
- package/dist/entities/sales/poliza_pdf.entity.d.ts +0 -96
- package/dist/entities/sales/poliza_pdf.entity.js +0 -946
- package/dist/entities/sales/poliza_pdf.entity.js.map +0 -1
- package/dist/entities/sales/receipt-comment.entity.d.ts +0 -5
- package/dist/entities/sales/receipt-comment.entity.js +0 -32
- package/dist/entities/sales/receipt-comment.entity.js.map +0 -1
- package/dist/entities/sales/receipt.entity.d.ts +0 -37
- package/dist/entities/sales/receipt.entity.js +0 -297
- package/dist/entities/sales/receipt.entity.js.map +0 -1
- package/dist/entities/subgroup.entity.d.ts +0 -8
- package/dist/entities/subgroup.entity.js +0 -45
- package/dist/entities/subgroup.entity.js.map +0 -1
- package/dist/entities/subscriptions/feature.entity.d.ts +0 -25
- package/dist/entities/subscriptions/feature.entity.js +0 -75
- package/dist/entities/subscriptions/feature.entity.js.map +0 -1
- package/dist/entities/subscriptions/plan-feature.entity.d.ts +0 -10
- package/dist/entities/subscriptions/plan-feature.entity.js +0 -56
- package/dist/entities/subscriptions/plan-feature.entity.js.map +0 -1
- package/dist/entities/subscriptions/plan.entity.d.ts +0 -15
- package/dist/entities/subscriptions/plan.entity.js +0 -73
- package/dist/entities/subscriptions/plan.entity.js.map +0 -1
- package/dist/entities/subscriptions/subscription.entity.d.ts +0 -30
- package/dist/entities/subscriptions/subscription.entity.js +0 -150
- package/dist/entities/subscriptions/subscription.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/template.entity.d.ts +0 -9
- package/dist/entities/template.entity.js +0 -78
- package/dist/entities/template.entity.js.map +0 -1
- package/dist/entities/thirdparty/diio-integration.entity.d.ts +0 -16
- package/dist/entities/thirdparty/diio-integration.entity.js +0 -74
- package/dist/entities/thirdparty/diio-integration.entity.js.map +0 -1
- package/dist/entities/thirdparty/google-gmail-watch-record.entity.d.ts +0 -14
- package/dist/entities/thirdparty/google-gmail-watch-record.entity.js +0 -113
- package/dist/entities/thirdparty/google-gmail-watch-record.entity.js.map +0 -1
- package/dist/entities/thirdparty/google-webhooks-config.entity.d.ts +0 -19
- package/dist/entities/thirdparty/google-webhooks-config.entity.js +0 -82
- package/dist/entities/thirdparty/google-webhooks-config.entity.js.map +0 -1
- package/dist/entities/thirdparty/oauth.entity.d.ts +0 -25
- package/dist/entities/thirdparty/oauth.entity.js +0 -82
- package/dist/entities/thirdparty/oauth.entity.js.map +0 -1
- package/dist/entities/thirdparty/wati/index.d.ts +0 -7
- package/dist/entities/thirdparty/wati/index.js +0 -24
- package/dist/entities/thirdparty/wati/index.js.map +0 -1
- package/dist/entities/thirdparty/wati/wati-chat.entity.d.ts +0 -27
- package/dist/entities/thirdparty/wati/wati-chat.entity.js +0 -207
- package/dist/entities/thirdparty/wati/wati-chat.entity.js.map +0 -1
- package/dist/entities/thirdparty/wati/wati-configuration.entity.d.ts +0 -22
- package/dist/entities/thirdparty/wati/wati-configuration.entity.js +0 -149
- package/dist/entities/thirdparty/wati/wati-configuration.entity.js.map +0 -1
- package/dist/entities/thirdparty/wati/wati-events.entity.d.ts +0 -9
- package/dist/entities/thirdparty/wati/wati-events.entity.js +0 -63
- package/dist/entities/thirdparty/wati/wati-events.entity.js.map +0 -1
- package/dist/entities/thirdparty/wati/wati-message.entity.d.ts +0 -30
- package/dist/entities/thirdparty/wati/wati-message.entity.js +0 -280
- package/dist/entities/thirdparty/wati/wati-message.entity.js.map +0 -1
- package/dist/entities/thirdparty/wati/wati-user-access-log.entity.d.ts +0 -71
- package/dist/entities/thirdparty/wati/wati-user-access-log.entity.js +0 -216
- package/dist/entities/thirdparty/wati/wati-user-access-log.entity.js.map +0 -1
- package/dist/entities/thirdparty/wati/wati-user-access.entity.d.ts +0 -31
- package/dist/entities/thirdparty/wati/wati-user-access.entity.js +0 -193
- package/dist/entities/thirdparty/wati/wati-user-access.entity.js.map +0 -1
- package/dist/entities/thirdparty/wati/wati.enum.d.ts +0 -69
- package/dist/entities/thirdparty/wati/wati.enum.js +0 -83
- package/dist/entities/thirdparty/wati/wati.enum.js.map +0 -1
- package/dist/entities/tools/calendar/calendar-event-comment.entity.d.ts +0 -8
- package/dist/entities/tools/calendar/calendar-event-comment.entity.js +0 -39
- package/dist/entities/tools/calendar/calendar-event-comment.entity.js.map +0 -1
- package/dist/entities/tools/calendar/calendar-event-invitations.entity.d.ts +0 -13
- package/dist/entities/tools/calendar/calendar-event-invitations.entity.js +0 -48
- package/dist/entities/tools/calendar/calendar-event-invitations.entity.js.map +0 -1
- package/dist/entities/tools/calendar/calendar-general-config.entity.d.ts +0 -12
- package/dist/entities/tools/calendar/calendar-general-config.entity.js +0 -67
- package/dist/entities/tools/calendar/calendar-general-config.entity.js.map +0 -1
- package/dist/entities/tools/calendar/calendar-item.entity.d.ts +0 -33
- package/dist/entities/tools/calendar/calendar-item.entity.js +0 -188
- package/dist/entities/tools/calendar/calendar-item.entity.js.map +0 -1
- package/dist/entities/tools/calendar/calendar-reminder.entity.d.ts +0 -7
- package/dist/entities/tools/calendar/calendar-reminder.entity.js +0 -38
- package/dist/entities/tools/calendar/calendar-reminder.entity.js.map +0 -1
- package/dist/entities/tools/calendar/calendar-sub-item.entity.d.ts +0 -32
- package/dist/entities/tools/calendar/calendar-sub-item.entity.js +0 -104
- package/dist/entities/tools/calendar/calendar-sub-item.entity.js.map +0 -1
- package/dist/entities/tools/calendar/calendar-user-access.entity.d.ts +0 -13
- package/dist/entities/tools/calendar/calendar-user-access.entity.js +0 -46
- package/dist/entities/tools/calendar/calendar-user-access.entity.js.map +0 -1
- package/dist/entities/tools/calendar/event-location.entity.d.ts +0 -7
- package/dist/entities/tools/calendar/event-location.entity.js +0 -44
- package/dist/entities/tools/calendar/event-location.entity.js.map +0 -1
- package/dist/entities/tools/calendar/event.entity.d.ts +0 -34
- package/dist/entities/tools/calendar/event.entity.js +0 -235
- package/dist/entities/tools/calendar/event.entity.js.map +0 -1
- package/dist/entities/tools/calendar/index.d.ts +0 -9
- package/dist/entities/tools/calendar/index.js +0 -26
- package/dist/entities/tools/calendar/index.js.map +0 -1
- package/dist/entities/tools/index.d.ts +0 -7
- package/dist/entities/tools/index.js +0 -24
- package/dist/entities/tools/index.js.map +0 -1
- package/dist/entities/tools/mail/email-signature.entity.d.ts +0 -10
- package/dist/entities/tools/mail/email-signature.entity.js +0 -60
- package/dist/entities/tools/mail/email-signature.entity.js.map +0 -1
- package/dist/entities/tools/mail/mail-contact.entity.d.ts +0 -13
- package/dist/entities/tools/mail/mail-contact.entity.js +0 -68
- package/dist/entities/tools/mail/mail-contact.entity.js.map +0 -1
- package/dist/entities/tools/mail/mail-crm-queue-distribution.entity.d.ts +0 -8
- package/dist/entities/tools/mail/mail-crm-queue-distribution.entity.js +0 -38
- package/dist/entities/tools/mail/mail-crm-queue-distribution.entity.js.map +0 -1
- package/dist/entities/tools/mail/mail-crm-queue-entities-assigned.entity.d.ts +0 -9
- package/dist/entities/tools/mail/mail-crm-queue-entities-assigned.entity.js +0 -39
- package/dist/entities/tools/mail/mail-crm-queue-entities-assigned.entity.js.map +0 -1
- package/dist/entities/tools/mail/mail-crm-queue-status.entity.d.ts +0 -9
- package/dist/entities/tools/mail/mail-crm-queue-status.entity.js +0 -44
- package/dist/entities/tools/mail/mail-crm-queue-status.entity.js.map +0 -1
- package/dist/entities/tools/mail/mail-gmail.entity.d.ts +0 -7
- package/dist/entities/tools/mail/mail-gmail.entity.js +0 -41
- package/dist/entities/tools/mail/mail-gmail.entity.js.map +0 -1
- package/dist/entities/tools/mail/mail.entity.d.ts +0 -67
- package/dist/entities/tools/mail/mail.entity.js +0 -137
- package/dist/entities/tools/mail/mail.entity.js.map +0 -1
- package/dist/entities/tools/mail/mailbox-user-access.entity.d.ts +0 -7
- package/dist/entities/tools/mail/mailbox-user-access.entity.js +0 -33
- package/dist/entities/tools/mail/mailbox-user-access.entity.js.map +0 -1
- package/dist/entities/tools/mail/mailbox.entity.d.ts +0 -58
- package/dist/entities/tools/mail/mailbox.entity.js +0 -113
- package/dist/entities/tools/mail/mailbox.entity.js.map +0 -1
- package/dist/entities/tools/task-comment.entity.d.ts +0 -8
- package/dist/entities/tools/task-comment.entity.js +0 -39
- package/dist/entities/tools/task-comment.entity.js.map +0 -1
- package/dist/entities/tools/task-history.entity.d.ts +0 -15
- package/dist/entities/tools/task-history.entity.js +0 -131
- package/dist/entities/tools/task-history.entity.js.map +0 -1
- package/dist/entities/tools/task-list-field.d.ts +0 -5
- package/dist/entities/tools/task-list-field.js +0 -39
- package/dist/entities/tools/task-list-field.js.map +0 -1
- package/dist/entities/tools/task-objection.entity.d.ts +0 -10
- package/dist/entities/tools/task-objection.entity.js +0 -80
- package/dist/entities/tools/task-objection.entity.js.map +0 -1
- package/dist/entities/tools/task-time-track.entity.d.ts +0 -16
- package/dist/entities/tools/task-time-track.entity.js +0 -139
- package/dist/entities/tools/task-time-track.entity.js.map +0 -1
- package/dist/entities/tools/task.entity.d.ts +0 -59
- package/dist/entities/tools/task.entity.js +0 -518
- package/dist/entities/tools/task.entity.js.map +0 -1
- package/dist/entities/user-change-log.entity.d.ts +0 -22
- package/dist/entities/user-change-log.entity.js +0 -77
- package/dist/entities/user-change-log.entity.js.map +0 -1
- package/dist/entities/user-from-cognito.entity.d.ts +0 -5
- package/dist/entities/user-from-cognito.entity.js +0 -35
- package/dist/entities/user-from-cognito.entity.js.map +0 -1
- package/dist/entities/user-group-status.entity.d.ts +0 -10
- package/dist/entities/user-group-status.entity.js +0 -71
- package/dist/entities/user-group-status.entity.js.map +0 -1
- package/dist/entities/user-invitations.entity.d.ts +0 -16
- package/dist/entities/user-invitations.entity.js +0 -143
- package/dist/entities/user-invitations.entity.js.map +0 -1
- package/dist/entities/user-special-role.entity.d.ts +0 -21
- package/dist/entities/user-special-role.entity.js +0 -94
- package/dist/entities/user-special-role.entity.js.map +0 -1
- package/dist/entities/user.entity.d.ts +0 -50
- package/dist/entities/user.entity.js +0 -326
- package/dist/entities/user.entity.js.map +0 -1
- package/dist/eslint.config.d.ts +0 -2
- package/dist/eslint.config.js +0 -46
- package/dist/eslint.config.js.map +0 -1
- package/dist/grpc/drive/drive.proto +0 -339
- package/dist/grpc/drive/leads.proto +0 -114
- package/dist/index.d.ts +0 -3
- package/dist/index.js +0 -20
- package/dist/index.js.map +0 -1
- package/dist/modules/authorization/authorization.module.d.ts +0 -26
- package/dist/modules/authorization/authorization.module.js +0 -105
- package/dist/modules/authorization/authorization.module.js.map +0 -1
- package/dist/modules/authorization/config/resource-configurations.d.ts +0 -12
- package/dist/modules/authorization/config/resource-configurations.js +0 -124
- package/dist/modules/authorization/config/resource-configurations.js.map +0 -1
- package/dist/modules/authorization/decorators/contact-permissions.decorator.d.ts +0 -13
- package/dist/modules/authorization/decorators/contact-permissions.decorator.js +0 -101
- package/dist/modules/authorization/decorators/contact-permissions.decorator.js.map +0 -1
- package/dist/modules/authorization/decorators/permissions.decorator.d.ts +0 -51
- package/dist/modules/authorization/decorators/permissions.decorator.js +0 -144
- package/dist/modules/authorization/decorators/permissions.decorator.js.map +0 -1
- package/dist/modules/authorization/factories/resource-authorization.factory.d.ts +0 -55
- package/dist/modules/authorization/factories/resource-authorization.factory.js +0 -184
- package/dist/modules/authorization/factories/resource-authorization.factory.js.map +0 -1
- package/dist/modules/authorization/index.d.ts +0 -7
- package/dist/modules/authorization/index.js +0 -24
- package/dist/modules/authorization/index.js.map +0 -1
- package/dist/modules/authorization/interfaces/authorization.interface.d.ts +0 -23
- package/dist/modules/authorization/interfaces/authorization.interface.js +0 -3
- package/dist/modules/authorization/interfaces/authorization.interface.js.map +0 -1
- package/dist/modules/authorization/services/authorization.service.d.ts +0 -25
- package/dist/modules/authorization/services/authorization.service.js +0 -139
- package/dist/modules/authorization/services/authorization.service.js.map +0 -1
- package/dist/modules/authorization/services/dynamic-filter.service.d.ts +0 -9
- package/dist/modules/authorization/services/dynamic-filter.service.js +0 -238
- package/dist/modules/authorization/services/dynamic-filter.service.js.map +0 -1
- package/dist/modules/authorization/services/index.d.ts +0 -7
- package/dist/modules/authorization/services/index.js +0 -24
- package/dist/modules/authorization/services/index.js.map +0 -1
- package/dist/modules/authorization/services/modules/contact-authorization.service.d.ts +0 -29
- package/dist/modules/authorization/services/modules/contact-authorization.service.js +0 -105
- package/dist/modules/authorization/services/modules/contact-authorization.service.js.map +0 -1
- package/dist/modules/authorization/services/modules/index.d.ts +0 -4
- package/dist/modules/authorization/services/modules/index.js +0 -21
- package/dist/modules/authorization/services/modules/index.js.map +0 -1
- package/dist/modules/authorization/services/modules/lead-authorization.service.d.ts +0 -27
- package/dist/modules/authorization/services/modules/lead-authorization.service.js +0 -96
- package/dist/modules/authorization/services/modules/lead-authorization.service.js.map +0 -1
- package/dist/modules/authorization/services/modules/policy-authorization.service.d.ts +0 -28
- package/dist/modules/authorization/services/modules/policy-authorization.service.js +0 -100
- package/dist/modules/authorization/services/modules/policy-authorization.service.js.map +0 -1
- package/dist/modules/authorization/services/modules/task-authorization.service.d.ts +0 -28
- package/dist/modules/authorization/services/modules/task-authorization.service.js +0 -100
- package/dist/modules/authorization/services/modules/task-authorization.service.js.map +0 -1
- package/dist/modules/authorization/services/permission-cache.service.d.ts +0 -10
- package/dist/modules/authorization/services/permission-cache.service.js +0 -48
- package/dist/modules/authorization/services/permission-cache.service.js.map +0 -1
- package/dist/modules/authorization/services/permission-evaluator.service.d.ts +0 -26
- package/dist/modules/authorization/services/permission-evaluator.service.js +0 -328
- package/dist/modules/authorization/services/permission-evaluator.service.js.map +0 -1
- package/dist/modules/authorization/services/resource-access-filter.service.d.ts +0 -20
- package/dist/modules/authorization/services/resource-access-filter.service.js +0 -406
- package/dist/modules/authorization/services/resource-access-filter.service.js.map +0 -1
- package/dist/modules/authorization/services/resource-authorization.service.d.ts +0 -47
- package/dist/modules/authorization/services/resource-authorization.service.js +0 -184
- package/dist/modules/authorization/services/resource-authorization.service.js.map +0 -1
- package/dist/modules/index.d.ts +0 -6
- package/dist/modules/index.js +0 -23
- package/dist/modules/index.js.map +0 -1
- package/dist/modules/queue/event.service.d.ts +0 -32
- package/dist/modules/queue/event.service.js +0 -45
- package/dist/modules/queue/event.service.js.map +0 -1
- package/dist/modules/queue/notifier.service.d.ts +0 -15
- package/dist/modules/queue/notifier.service.js +0 -70
- package/dist/modules/queue/notifier.service.js.map +0 -1
- package/dist/modules/queue/notifiers/calendar.notifier.d.ts +0 -10
- package/dist/modules/queue/notifiers/calendar.notifier.js +0 -60
- package/dist/modules/queue/notifiers/calendar.notifier.js.map +0 -1
- package/dist/modules/queue/notifiers/contact.notifier.d.ts +0 -7
- package/dist/modules/queue/notifiers/contact.notifier.js +0 -52
- package/dist/modules/queue/notifiers/contact.notifier.js.map +0 -1
- package/dist/modules/queue/notifiers/index.d.ts +0 -4
- package/dist/modules/queue/notifiers/index.js +0 -21
- package/dist/modules/queue/notifiers/index.js.map +0 -1
- package/dist/modules/queue/notifiers/lead.notifier.d.ts +0 -7
- package/dist/modules/queue/notifiers/lead.notifier.js +0 -52
- package/dist/modules/queue/notifiers/lead.notifier.js.map +0 -1
- package/dist/modules/queue/notifiers/task.notifier.d.ts +0 -15
- package/dist/modules/queue/notifiers/task.notifier.js +0 -159
- package/dist/modules/queue/notifiers/task.notifier.js.map +0 -1
- package/dist/modules/queue/queue.module.d.ts +0 -4
- package/dist/modules/queue/queue.module.js +0 -69
- package/dist/modules/queue/queue.module.js.map +0 -1
- package/dist/modules/queue/queue.service.d.ts +0 -9
- package/dist/modules/queue/queue.service.js +0 -56
- package/dist/modules/queue/queue.service.js.map +0 -1
- package/dist/modules/queue/scheduler.service.d.ts +0 -9
- package/dist/modules/queue/scheduler.service.js +0 -40
- package/dist/modules/queue/scheduler.service.js.map +0 -1
|
@@ -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.OtpLog = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const base_entity_1 = require("../common/database/base.entity");
|
|
15
|
-
const user_entity_1 = require("./user.entity");
|
|
16
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
17
|
-
let OtpLog = class OtpLog extends base_entity_1.EntityBase {
|
|
18
|
-
expiresIn;
|
|
19
|
-
otpCode;
|
|
20
|
-
email;
|
|
21
|
-
phone;
|
|
22
|
-
user;
|
|
23
|
-
isUsed;
|
|
24
|
-
};
|
|
25
|
-
exports.OtpLog = OtpLog;
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, swagger_1.ApiProperty)({ type: Date, description: 'Expiration time of the OTP code' }),
|
|
28
|
-
(0, typeorm_1.Column)({ type: 'timestamptz', nullable: true, default: 'now()' }),
|
|
29
|
-
__metadata("design:type", Date)
|
|
30
|
-
], OtpLog.prototype, "expiresIn", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'OTP code', maxLength: 20, required: false }),
|
|
33
|
-
(0, typeorm_1.Column)({ length: 20, nullable: true }),
|
|
34
|
-
__metadata("design:type", String)
|
|
35
|
-
], OtpLog.prototype, "otpCode", void 0);
|
|
36
|
-
__decorate([
|
|
37
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'Email to compare at verification process', required: false }),
|
|
38
|
-
(0, typeorm_1.Column)({ length: 254, nullable: true }),
|
|
39
|
-
__metadata("design:type", String)
|
|
40
|
-
], OtpLog.prototype, "email", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'Phone to compare at verification process', maxLength: 20, required: false }),
|
|
43
|
-
(0, typeorm_1.Column)({ length: 20, nullable: true }),
|
|
44
|
-
__metadata("design:type", String)
|
|
45
|
-
], OtpLog.prototype, "phone", void 0);
|
|
46
|
-
__decorate([
|
|
47
|
-
(0, swagger_1.ApiProperty)({ type: () => user_entity_1.User, description: 'User associated with the OTP log' }),
|
|
48
|
-
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, { eager: false, nullable: true }),
|
|
49
|
-
(0, typeorm_1.JoinColumn)(),
|
|
50
|
-
__metadata("design:type", user_entity_1.User)
|
|
51
|
-
], OtpLog.prototype, "user", void 0);
|
|
52
|
-
__decorate([
|
|
53
|
-
(0, swagger_1.ApiProperty)({ type: Boolean, description: 'Has the OTP code been used', default: false }),
|
|
54
|
-
(0, typeorm_1.Column)({ default: false }),
|
|
55
|
-
__metadata("design:type", Boolean)
|
|
56
|
-
], OtpLog.prototype, "isUsed", void 0);
|
|
57
|
-
exports.OtpLog = OtpLog = __decorate([
|
|
58
|
-
(0, typeorm_1.Entity)(),
|
|
59
|
-
(0, typeorm_1.Index)(['otpCode'], { unique: true })
|
|
60
|
-
], OtpLog);
|
|
61
|
-
//# sourceMappingURL=otp-log.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"otp-log.entity.js","sourceRoot":"","sources":["../../src/entities/otp-log.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAuE;AACvE,gEAA4D;AAC5D,+CAAqC;AACrC,6CAA8C;AAIvC,IAAM,MAAM,GAAZ,MAAM,MAAO,SAAQ,wBAAU;IAGpC,SAAS,CAAQ;IAIjB,OAAO,CAAU;IAIjB,KAAK,CAAU;IAIf,KAAK,CAAU;IAKf,IAAI,CAAQ;IAIZ,MAAM,CAAW;CAClB,CAAA;AAzBY,wBAAM;AAGjB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE,iCAAiC,EAAE,CAAC;IAC3E,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC;8BACtD,IAAI;yCAAC;AAIjB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACtF,IAAA,gBAA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Payment } from './payment.entity';
|
|
3
|
-
export declare enum BanbajioPaymentMethod {
|
|
4
|
-
CREDIT_CARD = "01",
|
|
5
|
-
BANBAJIO_ACCOUNT = "02",
|
|
6
|
-
CLABE_DOMICILIATION = "03",
|
|
7
|
-
DEBIT_CARD = "04",
|
|
8
|
-
PREPAID_CARD = "05",
|
|
9
|
-
DEBIT_CARD_DOMICILIATION = "06"
|
|
10
|
-
}
|
|
11
|
-
export declare enum BanbajioPaymentStatus {
|
|
12
|
-
CHARGED = "01",
|
|
13
|
-
REJECTED = "02",
|
|
14
|
-
PROCESSED = "03"
|
|
15
|
-
}
|
|
16
|
-
export declare class BanbajioPayment extends BaseEntityOnlyEssential {
|
|
17
|
-
hash: string;
|
|
18
|
-
clFolio: string;
|
|
19
|
-
clReferencia: string;
|
|
20
|
-
dlMonto: number;
|
|
21
|
-
dtFechaPago: string;
|
|
22
|
-
nlTipoPago: BanbajioPaymentMethod;
|
|
23
|
-
tConcepto: string;
|
|
24
|
-
nlStatus: BanbajioPaymentStatus;
|
|
25
|
-
payment: Payment;
|
|
26
|
-
}
|
|
@@ -1,92 +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.BanbajioPayment = exports.BanbajioPaymentStatus = exports.BanbajioPaymentMethod = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
15
|
-
const base_entity_1 = require("../../common/database/base.entity");
|
|
16
|
-
const payment_entity_1 = require("./payment.entity");
|
|
17
|
-
var BanbajioPaymentMethod;
|
|
18
|
-
(function (BanbajioPaymentMethod) {
|
|
19
|
-
BanbajioPaymentMethod["CREDIT_CARD"] = "01";
|
|
20
|
-
BanbajioPaymentMethod["BANBAJIO_ACCOUNT"] = "02";
|
|
21
|
-
BanbajioPaymentMethod["CLABE_DOMICILIATION"] = "03";
|
|
22
|
-
BanbajioPaymentMethod["DEBIT_CARD"] = "04";
|
|
23
|
-
BanbajioPaymentMethod["PREPAID_CARD"] = "05";
|
|
24
|
-
BanbajioPaymentMethod["DEBIT_CARD_DOMICILIATION"] = "06";
|
|
25
|
-
})(BanbajioPaymentMethod || (exports.BanbajioPaymentMethod = BanbajioPaymentMethod = {}));
|
|
26
|
-
var BanbajioPaymentStatus;
|
|
27
|
-
(function (BanbajioPaymentStatus) {
|
|
28
|
-
BanbajioPaymentStatus["CHARGED"] = "01";
|
|
29
|
-
BanbajioPaymentStatus["REJECTED"] = "02";
|
|
30
|
-
BanbajioPaymentStatus["PROCESSED"] = "03";
|
|
31
|
-
})(BanbajioPaymentStatus || (exports.BanbajioPaymentStatus = BanbajioPaymentStatus = {}));
|
|
32
|
-
let BanbajioPayment = class BanbajioPayment extends base_entity_1.BaseEntityOnlyEssential {
|
|
33
|
-
hash;
|
|
34
|
-
clFolio;
|
|
35
|
-
clReferencia;
|
|
36
|
-
dlMonto;
|
|
37
|
-
dtFechaPago;
|
|
38
|
-
nlTipoPago;
|
|
39
|
-
tConcepto;
|
|
40
|
-
nlStatus;
|
|
41
|
-
payment;
|
|
42
|
-
};
|
|
43
|
-
exports.BanbajioPayment = BanbajioPayment;
|
|
44
|
-
__decorate([
|
|
45
|
-
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
46
|
-
(0, swagger_1.ApiProperty)({ description: 'Hash de seguridad proporcionado por Banbajío', example: 'abc123def456' }),
|
|
47
|
-
__metadata("design:type", String)
|
|
48
|
-
], BanbajioPayment.prototype, "hash", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
51
|
-
(0, swagger_1.ApiProperty)({ description: 'Folio del cliente', example: 'FOL-12345' }),
|
|
52
|
-
__metadata("design:type", String)
|
|
53
|
-
], BanbajioPayment.prototype, "clFolio", void 0);
|
|
54
|
-
__decorate([
|
|
55
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
56
|
-
(0, swagger_1.ApiProperty)({ description: 'Referencia del pago', example: 'REF-98765' }),
|
|
57
|
-
__metadata("design:type", String)
|
|
58
|
-
], BanbajioPayment.prototype, "clReferencia", void 0);
|
|
59
|
-
__decorate([
|
|
60
|
-
(0, typeorm_1.Column)({ type: 'decimal', precision: 10, scale: 2, nullable: true }),
|
|
61
|
-
(0, swagger_1.ApiProperty)({ description: 'Monto del pago', example: 1500.5 }),
|
|
62
|
-
__metadata("design:type", Number)
|
|
63
|
-
], BanbajioPayment.prototype, "dlMonto", void 0);
|
|
64
|
-
__decorate([
|
|
65
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: true }),
|
|
66
|
-
(0, swagger_1.ApiProperty)({ description: 'Fecha de pago en formato proporcionado por Banbajío', example: '2024-06-05 11:00:00' }),
|
|
67
|
-
__metadata("design:type", String)
|
|
68
|
-
], BanbajioPayment.prototype, "dtFechaPago", void 0);
|
|
69
|
-
__decorate([
|
|
70
|
-
(0, typeorm_1.Column)({ type: 'enum', enum: BanbajioPaymentMethod, nullable: true }),
|
|
71
|
-
(0, swagger_1.ApiProperty)({ description: 'Tipo de pago utilizado', enum: BanbajioPaymentMethod, example: BanbajioPaymentMethod.CREDIT_CARD }),
|
|
72
|
-
__metadata("design:type", String)
|
|
73
|
-
], BanbajioPayment.prototype, "nlTipoPago", void 0);
|
|
74
|
-
__decorate([
|
|
75
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: true }),
|
|
76
|
-
(0, swagger_1.ApiProperty)({ description: 'Concepto del pago', example: 'Pago de suscripción mensual' }),
|
|
77
|
-
__metadata("design:type", String)
|
|
78
|
-
], BanbajioPayment.prototype, "tConcepto", void 0);
|
|
79
|
-
__decorate([
|
|
80
|
-
(0, typeorm_1.Column)({ type: 'enum', enum: BanbajioPaymentStatus, nullable: true }),
|
|
81
|
-
(0, swagger_1.ApiProperty)({ description: 'Estado del pago en Banbajío', enum: BanbajioPaymentStatus, example: BanbajioPaymentStatus.CHARGED }),
|
|
82
|
-
__metadata("design:type", String)
|
|
83
|
-
], BanbajioPayment.prototype, "nlStatus", void 0);
|
|
84
|
-
__decorate([
|
|
85
|
-
(0, typeorm_1.OneToOne)(() => payment_entity_1.Payment, { onDelete: 'CASCADE' }),
|
|
86
|
-
(0, typeorm_1.JoinColumn)(),
|
|
87
|
-
__metadata("design:type", payment_entity_1.Payment)
|
|
88
|
-
], BanbajioPayment.prototype, "payment", void 0);
|
|
89
|
-
exports.BanbajioPayment = BanbajioPayment = __decorate([
|
|
90
|
-
(0, typeorm_1.Entity)()
|
|
91
|
-
], BanbajioPayment);
|
|
92
|
-
//# sourceMappingURL=banbajio-payment.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"banbajio-payment.entity.js","sourceRoot":"","sources":["../../../src/entities/payments/banbajio-payment.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA+D;AAC/D,6CAA8C;AAC9C,mEAA4E;AAC5E,qDAA2C;AAE3C,IAAY,qBAOX;AAPD,WAAY,qBAAqB;IAC/B,2CAAkB,CAAA;IAClB,gDAAuB,CAAA;IACvB,mDAA0B,CAA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AAC;0BArCN,eAAe;IAD3B,IAAA,gBAAM,GAAE;GACI,eAAe,CAsC3B"}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { BaseEntityOnlyEssential } from '../../common/database/base.entity';
|
|
2
|
-
import { Subscription } from '../subscriptions/subscription.entity';
|
|
3
|
-
import { Group } from '../group.entity';
|
|
4
|
-
export declare enum PaymentStatus {
|
|
5
|
-
SUCCEEDED = "succeeded",
|
|
6
|
-
FAILED = "failed",
|
|
7
|
-
PENDING = "pending",
|
|
8
|
-
REFUNDED = "refunded",
|
|
9
|
-
DISPUTED = "disputed",
|
|
10
|
-
CANCELED = "canceled",
|
|
11
|
-
EXPIRED = "expired"
|
|
12
|
-
}
|
|
13
|
-
export declare enum PaymentMethod {
|
|
14
|
-
BANBAJIO_CREDIT_CARD = "banbajio.credit_card",
|
|
15
|
-
BANBAJIO_ACCOUNT = "banbajio.account",
|
|
16
|
-
BANBAJIO_CLABE_DOMICILIATION = "banbajio.clabe_domiciliation",
|
|
17
|
-
BANBAJIO_DEBIT_CARD = "banbajio.debit_card",
|
|
18
|
-
BANBAJIO_PREPAID_CARD = "banbajio.prepaid_card",
|
|
19
|
-
BANBAJIO_DEBIT_CARD_DOMICILIATION = "banbajio.debit_card_domiciliation",
|
|
20
|
-
STRIPE_CARD = "stripe.card",
|
|
21
|
-
STRIPE_BANK_TRANSFER = "stripe.bank_transfer",
|
|
22
|
-
STRIPE_WALLET = "stripe.wallet",
|
|
23
|
-
STRIPE_SEPA_DEBIT = "stripe.sepa_debit",
|
|
24
|
-
STRIPE_ACH_DEBIT = "stripe.ach_debit",
|
|
25
|
-
STRIPE_KLARNA = "stripe.klarna",
|
|
26
|
-
STRIPE_AFTERPAY = "stripe.afterpay",
|
|
27
|
-
STRIPE_AFFIRM = "stripe.affirm",
|
|
28
|
-
STRIPE_LINK = "stripe.link",
|
|
29
|
-
CASH = "cash",
|
|
30
|
-
CHECK = "check",
|
|
31
|
-
BANK_TRANSFER = "bank_transfer",
|
|
32
|
-
PAYPAL = "paypal",
|
|
33
|
-
OTHER = "other"
|
|
34
|
-
}
|
|
35
|
-
export declare class Payment extends BaseEntityOnlyEssential {
|
|
36
|
-
paymentMethod: PaymentMethod;
|
|
37
|
-
amount: number;
|
|
38
|
-
currency: string;
|
|
39
|
-
status: PaymentStatus;
|
|
40
|
-
externalTransactionId: string | null;
|
|
41
|
-
invoiceNumber: string | null;
|
|
42
|
-
referenceNumber: string | null;
|
|
43
|
-
description: string | null;
|
|
44
|
-
payerEmail: string | null;
|
|
45
|
-
payerName: string | null;
|
|
46
|
-
processingFee: number | null;
|
|
47
|
-
netAmount: number | null;
|
|
48
|
-
taxAmount: number | null;
|
|
49
|
-
paidAt: Date | null;
|
|
50
|
-
errorMessage: string | null;
|
|
51
|
-
errorCode: string | null;
|
|
52
|
-
retryCount: number | null;
|
|
53
|
-
metadata: Record<string, any> | null;
|
|
54
|
-
transactionDate: Date;
|
|
55
|
-
notes: string | null;
|
|
56
|
-
subscription: Subscription | null;
|
|
57
|
-
group: Group;
|
|
58
|
-
}
|
|
@@ -1,191 +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.Payment = exports.PaymentMethod = exports.PaymentStatus = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
15
|
-
const base_entity_1 = require("../../common/database/base.entity");
|
|
16
|
-
const subscription_entity_1 = require("../subscriptions/subscription.entity");
|
|
17
|
-
const group_entity_1 = require("../group.entity");
|
|
18
|
-
var PaymentStatus;
|
|
19
|
-
(function (PaymentStatus) {
|
|
20
|
-
PaymentStatus["SUCCEEDED"] = "succeeded";
|
|
21
|
-
PaymentStatus["FAILED"] = "failed";
|
|
22
|
-
PaymentStatus["PENDING"] = "pending";
|
|
23
|
-
PaymentStatus["REFUNDED"] = "refunded";
|
|
24
|
-
PaymentStatus["DISPUTED"] = "disputed";
|
|
25
|
-
PaymentStatus["CANCELED"] = "canceled";
|
|
26
|
-
PaymentStatus["EXPIRED"] = "expired";
|
|
27
|
-
})(PaymentStatus || (exports.PaymentStatus = PaymentStatus = {}));
|
|
28
|
-
var PaymentMethod;
|
|
29
|
-
(function (PaymentMethod) {
|
|
30
|
-
PaymentMethod["BANBAJIO_CREDIT_CARD"] = "banbajio.credit_card";
|
|
31
|
-
PaymentMethod["BANBAJIO_ACCOUNT"] = "banbajio.account";
|
|
32
|
-
PaymentMethod["BANBAJIO_CLABE_DOMICILIATION"] = "banbajio.clabe_domiciliation";
|
|
33
|
-
PaymentMethod["BANBAJIO_DEBIT_CARD"] = "banbajio.debit_card";
|
|
34
|
-
PaymentMethod["BANBAJIO_PREPAID_CARD"] = "banbajio.prepaid_card";
|
|
35
|
-
PaymentMethod["BANBAJIO_DEBIT_CARD_DOMICILIATION"] = "banbajio.debit_card_domiciliation";
|
|
36
|
-
PaymentMethod["STRIPE_CARD"] = "stripe.card";
|
|
37
|
-
PaymentMethod["STRIPE_BANK_TRANSFER"] = "stripe.bank_transfer";
|
|
38
|
-
PaymentMethod["STRIPE_WALLET"] = "stripe.wallet";
|
|
39
|
-
PaymentMethod["STRIPE_SEPA_DEBIT"] = "stripe.sepa_debit";
|
|
40
|
-
PaymentMethod["STRIPE_ACH_DEBIT"] = "stripe.ach_debit";
|
|
41
|
-
PaymentMethod["STRIPE_KLARNA"] = "stripe.klarna";
|
|
42
|
-
PaymentMethod["STRIPE_AFTERPAY"] = "stripe.afterpay";
|
|
43
|
-
PaymentMethod["STRIPE_AFFIRM"] = "stripe.affirm";
|
|
44
|
-
PaymentMethod["STRIPE_LINK"] = "stripe.link";
|
|
45
|
-
PaymentMethod["CASH"] = "cash";
|
|
46
|
-
PaymentMethod["CHECK"] = "check";
|
|
47
|
-
PaymentMethod["BANK_TRANSFER"] = "bank_transfer";
|
|
48
|
-
PaymentMethod["PAYPAL"] = "paypal";
|
|
49
|
-
PaymentMethod["OTHER"] = "other";
|
|
50
|
-
})(PaymentMethod || (exports.PaymentMethod = PaymentMethod = {}));
|
|
51
|
-
let Payment = class Payment extends base_entity_1.BaseEntityOnlyEssential {
|
|
52
|
-
paymentMethod;
|
|
53
|
-
amount;
|
|
54
|
-
currency;
|
|
55
|
-
status;
|
|
56
|
-
externalTransactionId;
|
|
57
|
-
invoiceNumber;
|
|
58
|
-
referenceNumber;
|
|
59
|
-
description;
|
|
60
|
-
payerEmail;
|
|
61
|
-
payerName;
|
|
62
|
-
processingFee;
|
|
63
|
-
netAmount;
|
|
64
|
-
taxAmount;
|
|
65
|
-
paidAt;
|
|
66
|
-
errorMessage;
|
|
67
|
-
errorCode;
|
|
68
|
-
retryCount;
|
|
69
|
-
metadata;
|
|
70
|
-
transactionDate;
|
|
71
|
-
notes;
|
|
72
|
-
subscription;
|
|
73
|
-
group;
|
|
74
|
-
};
|
|
75
|
-
exports.Payment = Payment;
|
|
76
|
-
__decorate([
|
|
77
|
-
(0, typeorm_1.Column)({ type: 'enum', enum: PaymentMethod, nullable: false }),
|
|
78
|
-
(0, swagger_1.ApiProperty)({ description: 'Payment method used', enum: PaymentMethod, example: PaymentMethod.STRIPE_CARD }),
|
|
79
|
-
__metadata("design:type", String)
|
|
80
|
-
], Payment.prototype, "paymentMethod", void 0);
|
|
81
|
-
__decorate([
|
|
82
|
-
(0, typeorm_1.Column)({ type: 'decimal', precision: 10, scale: 2, nullable: false }),
|
|
83
|
-
(0, swagger_1.ApiProperty)({ description: 'Amount of the payment', example: 9.99 }),
|
|
84
|
-
__metadata("design:type", Number)
|
|
85
|
-
], Payment.prototype, "amount", void 0);
|
|
86
|
-
__decorate([
|
|
87
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 3, nullable: false, default: 'MXN' }),
|
|
88
|
-
(0, swagger_1.ApiProperty)({ description: 'Currency code (e.g., "USD", "EUR", "MXN")', example: 'MXN' }),
|
|
89
|
-
__metadata("design:type", String)
|
|
90
|
-
], Payment.prototype, "currency", void 0);
|
|
91
|
-
__decorate([
|
|
92
|
-
(0, typeorm_1.Column)({ type: 'enum', enum: PaymentStatus, nullable: false }),
|
|
93
|
-
(0, swagger_1.ApiProperty)({ description: 'Status of the payment', enum: PaymentStatus, example: PaymentStatus.SUCCEEDED }),
|
|
94
|
-
__metadata("design:type", String)
|
|
95
|
-
], Payment.prototype, "status", void 0);
|
|
96
|
-
__decorate([
|
|
97
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
98
|
-
(0, swagger_1.ApiProperty)({ description: 'External transaction ID from payment provider', example: 'pi_1234567890', nullable: true }),
|
|
99
|
-
__metadata("design:type", String)
|
|
100
|
-
], Payment.prototype, "externalTransactionId", void 0);
|
|
101
|
-
__decorate([
|
|
102
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
103
|
-
(0, swagger_1.ApiProperty)({ description: 'Invoice or receipt number', example: 'INV-2024-001', nullable: true }),
|
|
104
|
-
__metadata("design:type", String)
|
|
105
|
-
], Payment.prototype, "invoiceNumber", void 0);
|
|
106
|
-
__decorate([
|
|
107
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
108
|
-
(0, swagger_1.ApiProperty)({ description: 'Reference number for the payment', example: 'REF-123456', nullable: true }),
|
|
109
|
-
__metadata("design:type", String)
|
|
110
|
-
], Payment.prototype, "referenceNumber", void 0);
|
|
111
|
-
__decorate([
|
|
112
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: true }),
|
|
113
|
-
(0, swagger_1.ApiProperty)({ description: 'Payment description or concept', example: 'Monthly subscription payment', nullable: true }),
|
|
114
|
-
__metadata("design:type", String)
|
|
115
|
-
], Payment.prototype, "description", void 0);
|
|
116
|
-
__decorate([
|
|
117
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
118
|
-
(0, swagger_1.ApiProperty)({ description: 'Email of the payer', example: 'customer@example.com', nullable: true }),
|
|
119
|
-
__metadata("design:type", String)
|
|
120
|
-
], Payment.prototype, "payerEmail", void 0);
|
|
121
|
-
__decorate([
|
|
122
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
123
|
-
(0, swagger_1.ApiProperty)({ description: 'Name of the payer', example: 'John Doe', nullable: true }),
|
|
124
|
-
__metadata("design:type", String)
|
|
125
|
-
], Payment.prototype, "payerName", void 0);
|
|
126
|
-
__decorate([
|
|
127
|
-
(0, typeorm_1.Column)({ type: 'decimal', precision: 10, scale: 2, nullable: true }),
|
|
128
|
-
(0, swagger_1.ApiProperty)({ description: 'Fee charged by payment provider', example: 0.5, nullable: true }),
|
|
129
|
-
__metadata("design:type", Number)
|
|
130
|
-
], Payment.prototype, "processingFee", void 0);
|
|
131
|
-
__decorate([
|
|
132
|
-
(0, typeorm_1.Column)({ type: 'decimal', precision: 10, scale: 2, nullable: true }),
|
|
133
|
-
(0, swagger_1.ApiProperty)({ description: 'Net amount after fees', example: 9.49, nullable: true }),
|
|
134
|
-
__metadata("design:type", Number)
|
|
135
|
-
], Payment.prototype, "netAmount", void 0);
|
|
136
|
-
__decorate([
|
|
137
|
-
(0, typeorm_1.Column)({ type: 'decimal', precision: 10, scale: 2, nullable: true }),
|
|
138
|
-
(0, swagger_1.ApiProperty)({ description: 'Tax amount included in the payment', example: 1.5, nullable: true }),
|
|
139
|
-
__metadata("design:type", Number)
|
|
140
|
-
], Payment.prototype, "taxAmount", void 0);
|
|
141
|
-
__decorate([
|
|
142
|
-
(0, typeorm_1.Column)({ type: 'timestamptz', nullable: true }),
|
|
143
|
-
(0, swagger_1.ApiProperty)({ description: 'Date when the payment was confirmed/processed', example: '2024-06-05T11:30:00Z', nullable: true }),
|
|
144
|
-
__metadata("design:type", Date)
|
|
145
|
-
], Payment.prototype, "paidAt", void 0);
|
|
146
|
-
__decorate([
|
|
147
|
-
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
148
|
-
(0, swagger_1.ApiProperty)({ description: 'Error message if payment failed', example: 'Insufficient funds', nullable: true }),
|
|
149
|
-
__metadata("design:type", String)
|
|
150
|
-
], Payment.prototype, "errorMessage", void 0);
|
|
151
|
-
__decorate([
|
|
152
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: true }),
|
|
153
|
-
(0, swagger_1.ApiProperty)({ description: 'Error code from payment provider', example: 'card_declined', nullable: true }),
|
|
154
|
-
__metadata("design:type", String)
|
|
155
|
-
], Payment.prototype, "errorCode", void 0);
|
|
156
|
-
__decorate([
|
|
157
|
-
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
158
|
-
(0, swagger_1.ApiProperty)({ description: 'Number of retry attempts for failed payments', example: 2, nullable: true }),
|
|
159
|
-
__metadata("design:type", Number)
|
|
160
|
-
], Payment.prototype, "retryCount", void 0);
|
|
161
|
-
__decorate([
|
|
162
|
-
(0, typeorm_1.Column)({ type: 'jsonb', nullable: true }),
|
|
163
|
-
(0, swagger_1.ApiProperty)({ description: 'Additional metadata about the payment', example: { ip: '192.168.1.1' }, nullable: true }),
|
|
164
|
-
__metadata("design:type", Object)
|
|
165
|
-
], Payment.prototype, "metadata", void 0);
|
|
166
|
-
__decorate([
|
|
167
|
-
(0, typeorm_1.CreateDateColumn)({ type: 'timestamptz', default: () => 'CURRENT_TIMESTAMP' }),
|
|
168
|
-
(0, swagger_1.ApiProperty)({ description: 'Date and time of the transaction', example: '2024-06-05T11:00:00Z' }),
|
|
169
|
-
__metadata("design:type", Date)
|
|
170
|
-
], Payment.prototype, "transactionDate", void 0);
|
|
171
|
-
__decorate([
|
|
172
|
-
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
173
|
-
(0, swagger_1.ApiProperty)({
|
|
174
|
-
description: 'Internal notes about the payment',
|
|
175
|
-
example: 'Refund initiated due to double charge.',
|
|
176
|
-
nullable: true,
|
|
177
|
-
}),
|
|
178
|
-
__metadata("design:type", String)
|
|
179
|
-
], Payment.prototype, "notes", void 0);
|
|
180
|
-
__decorate([
|
|
181
|
-
(0, typeorm_1.ManyToOne)(() => subscription_entity_1.Subscription, subscription => subscription.paymentHistory, { onDelete: 'SET NULL' }),
|
|
182
|
-
__metadata("design:type", subscription_entity_1.Subscription)
|
|
183
|
-
], Payment.prototype, "subscription", void 0);
|
|
184
|
-
__decorate([
|
|
185
|
-
(0, typeorm_1.ManyToOne)(() => group_entity_1.Group, { onDelete: 'SET NULL' }),
|
|
186
|
-
__metadata("design:type", group_entity_1.Group)
|
|
187
|
-
], Payment.prototype, "group", void 0);
|
|
188
|
-
exports.Payment = Payment = __decorate([
|
|
189
|
-
(0, typeorm_1.Entity)()
|
|
190
|
-
], Payment);
|
|
191
|
-
//# sourceMappingURL=payment.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"payment.entity.js","sourceRoot":"","sources":["../../../src/entities/payments/payment.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAsE;AACtE,6CAA8C;AAC9C,mEAA4E;AAC5E,8EAAoE;AACpE,kDAAwC;AAExC,IAAY,aAQX;AARD,WAAY,aAAa;IACvB,wCAAuB,CAAA;IACvB,kCAAiB,CAAA;IACjB,oCAAmB,C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,GAAG,EAAE,CAAC,oBAAK,EAAE,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC;8BAC1C,oBAAK;sCAAC;kBA3FF,OAAO;IADnB,IAAA,gBAAM,GAAE;GACI,OAAO,CA4FnB"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { BaseEntityOnlyEssential } from '../../common/database/base.entity';
|
|
2
|
-
import { Payment } from './payment.entity';
|
|
3
|
-
export declare enum StripePaymentIntentStatus {
|
|
4
|
-
REQUIRES_PAYMENT_METHOD = "requires_payment_method",
|
|
5
|
-
REQUIRES_CONFIRMATION = "requires_confirmation",
|
|
6
|
-
REQUIRES_ACTION = "requires_action",
|
|
7
|
-
PROCESSING = "processing",
|
|
8
|
-
REQUIRES_CAPTURE = "requires_capture",
|
|
9
|
-
CANCELED = "canceled",
|
|
10
|
-
SUCCEEDED = "succeeded"
|
|
11
|
-
}
|
|
12
|
-
export declare enum StripeChargeStatus {
|
|
13
|
-
SUCCEEDED = "succeeded",
|
|
14
|
-
PENDING = "pending",
|
|
15
|
-
FAILED = "failed"
|
|
16
|
-
}
|
|
17
|
-
export declare class StripePayment extends BaseEntityOnlyEssential {
|
|
18
|
-
paymentIntentId: string;
|
|
19
|
-
chargeId: string | null;
|
|
20
|
-
customerId: string | null;
|
|
21
|
-
invoiceId: string | null;
|
|
22
|
-
subscriptionId: string | null;
|
|
23
|
-
paymentIntentStatus: StripePaymentIntentStatus;
|
|
24
|
-
chargeStatus: StripeChargeStatus | null;
|
|
25
|
-
paymentMethodType: string | null;
|
|
26
|
-
paymentMethodId: string | null;
|
|
27
|
-
cardBrand: string | null;
|
|
28
|
-
cardLast4: string | null;
|
|
29
|
-
cardFunding: string | null;
|
|
30
|
-
cardCountry: string | null;
|
|
31
|
-
amountCents: number;
|
|
32
|
-
amountRefundedCents: number | null;
|
|
33
|
-
applicationFeeAmountCents: number | null;
|
|
34
|
-
balanceTransactionId: string | null;
|
|
35
|
-
receiptUrl: string | null;
|
|
36
|
-
receiptEmail: string | null;
|
|
37
|
-
failureMessage: string | null;
|
|
38
|
-
failureCode: string | null;
|
|
39
|
-
networkStatus: string | null;
|
|
40
|
-
riskLevel: string | null;
|
|
41
|
-
riskScore: number | null;
|
|
42
|
-
disputed: boolean | null;
|
|
43
|
-
refunded: boolean | null;
|
|
44
|
-
captured: boolean | null;
|
|
45
|
-
metadata: Record<string, any> | null;
|
|
46
|
-
description: string | null;
|
|
47
|
-
statementDescriptor: string | null;
|
|
48
|
-
stripeCreatedAt: Date | null;
|
|
49
|
-
payment: Payment;
|
|
50
|
-
}
|