easywork-common-lib 1.0.948 → 1.0.950
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.gitattributes +2 -2
- package/.github/workflows/npm-publish.yml +33 -33
- package/.vscode/settings.json +12 -12
- package/justfile +8 -8
- package/package.json +46 -46
- package/scripts/bump.sh +8 -8
- package/test.bat +15 -15
- package/tsconfig.build.json +4 -4
- package/tsconfig.json +25 -25
- package/dist/common/@types/enums/crm.enum.d.ts +0 -8
- package/dist/common/@types/enums/crm.enum.js +0 -14
- package/dist/common/@types/enums/crm.enum.js.map +0 -1
- package/dist/common/@types/enums/index.d.ts +0 -3
- package/dist/common/@types/enums/index.js +0 -20
- package/dist/common/@types/enums/index.js.map +0 -1
- package/dist/common/@types/enums/misc.enum.d.ts +0 -60
- package/dist/common/@types/enums/misc.enum.js +0 -81
- package/dist/common/@types/enums/misc.enum.js.map +0 -1
- package/dist/common/@types/enums/permission.enum.d.ts +0 -13
- package/dist/common/@types/enums/permission.enum.js +0 -19
- package/dist/common/@types/enums/permission.enum.js.map +0 -1
- package/dist/common/@types/index.d.ts +0 -2
- package/dist/common/@types/index.js +0 -19
- package/dist/common/@types/index.js.map +0 -1
- package/dist/common/@types/interfaces/authentication.interface.d.ts +0 -17
- package/dist/common/@types/interfaces/authentication.interface.js +0 -3
- package/dist/common/@types/interfaces/authentication.interface.js.map +0 -1
- package/dist/common/@types/interfaces/crm.interface.d.ts +0 -131
- package/dist/common/@types/interfaces/crm.interface.js +0 -3
- package/dist/common/@types/interfaces/crm.interface.js.map +0 -1
- package/dist/common/@types/interfaces/file.interface.d.ts +0 -14
- package/dist/common/@types/interfaces/file.interface.js +0 -3
- package/dist/common/@types/interfaces/file.interface.js.map +0 -1
- package/dist/common/@types/interfaces/index.d.ts +0 -6
- package/dist/common/@types/interfaces/index.js +0 -23
- package/dist/common/@types/interfaces/index.js.map +0 -1
- package/dist/common/@types/interfaces/lsm.interface.d.ts +0 -5
- package/dist/common/@types/interfaces/lsm.interface.js +0 -3
- package/dist/common/@types/interfaces/lsm.interface.js.map +0 -1
- package/dist/common/@types/interfaces/mail.interface.d.ts +0 -9
- package/dist/common/@types/interfaces/mail.interface.js +0 -3
- package/dist/common/@types/interfaces/mail.interface.js.map +0 -1
- package/dist/common/@types/interfaces/validator.interface.d.ts +0 -41
- package/dist/common/@types/interfaces/validator.interface.js +0 -3
- package/dist/common/@types/interfaces/validator.interface.js.map +0 -1
- package/dist/common/constants/app.contants.d.ts +0 -48
- package/dist/common/constants/app.contants.js +0 -225
- package/dist/common/constants/app.contants.js.map +0 -1
- package/dist/common/constants/index.d.ts +0 -3
- package/dist/common/constants/index.js +0 -20
- package/dist/common/constants/index.js.map +0 -1
- package/dist/common/constants/regex.constant.d.ts +0 -6
- package/dist/common/constants/regex.constant.js +0 -10
- package/dist/common/constants/regex.constant.js.map +0 -1
- package/dist/common/constants/string.constant.d.ts +0 -5
- package/dist/common/constants/string.constant.js +0 -41
- package/dist/common/constants/string.constant.js.map +0 -1
- package/dist/common/database/base.entity.d.ts +0 -31
- package/dist/common/database/base.entity.js +0 -165
- package/dist/common/database/base.entity.js.map +0 -1
- package/dist/common/database/comment.base.entity.d.ts +0 -11
- package/dist/common/database/comment.base.entity.js +0 -83
- package/dist/common/database/comment.base.entity.js.map +0 -1
- package/dist/common/database/index.d.ts +0 -2
- package/dist/common/database/index.js +0 -19
- package/dist/common/database/index.js.map +0 -1
- package/dist/common/dtos/index.d.ts +0 -1
- package/dist/common/dtos/index.js +0 -18
- package/dist/common/dtos/index.js.map +0 -1
- package/dist/common/dtos/send-notification.dto.d.ts +0 -12
- package/dist/common/dtos/send-notification.dto.js +0 -66
- package/dist/common/dtos/send-notification.dto.js.map +0 -1
- package/dist/common/enums/common.enum.d.ts +0 -18
- package/dist/common/enums/common.enum.js +0 -25
- package/dist/common/enums/common.enum.js.map +0 -1
- package/dist/common/enums/drive.enum.d.ts +0 -26
- package/dist/common/enums/drive.enum.js +0 -32
- package/dist/common/enums/drive.enum.js.map +0 -1
- package/dist/common/enums/index.d.ts +0 -5
- package/dist/common/enums/index.js +0 -22
- package/dist/common/enums/index.js.map +0 -1
- package/dist/common/enums/notification.enum.d.ts +0 -56
- package/dist/common/enums/notification.enum.js +0 -63
- package/dist/common/enums/notification.enum.js.map +0 -1
- package/dist/common/enums/sales.enum.d.ts +0 -120
- package/dist/common/enums/sales.enum.js +0 -144
- package/dist/common/enums/sales.enum.js.map +0 -1
- package/dist/common/enums/tools.enum.d.ts +0 -64
- package/dist/common/enums/tools.enum.js +0 -75
- package/dist/common/enums/tools.enum.js.map +0 -1
- package/dist/common/functions/cripto.d.ts +0 -1
- package/dist/common/functions/cripto.js +0 -8
- package/dist/common/functions/cripto.js.map +0 -1
- package/dist/common/functions/image.d.ts +0 -3
- package/dist/common/functions/image.js +0 -16
- package/dist/common/functions/image.js.map +0 -1
- package/dist/common/functions/index.d.ts +0 -2
- package/dist/common/functions/index.js +0 -19
- package/dist/common/functions/index.js.map +0 -1
- package/dist/common/helpers/app.utils.d.ts +0 -5
- package/dist/common/helpers/app.utils.js +0 -32
- package/dist/common/helpers/app.utils.js.map +0 -1
- package/dist/common/helpers/helpers.utils.d.ts +0 -5
- package/dist/common/helpers/helpers.utils.js +0 -26
- package/dist/common/helpers/helpers.utils.js.map +0 -1
- package/dist/common/helpers/index.d.ts +0 -2
- package/dist/common/helpers/index.js +0 -19
- package/dist/common/helpers/index.js.map +0 -1
- package/dist/common/index.d.ts +0 -8
- package/dist/common/index.js +0 -25
- package/dist/common/index.js.map +0 -1
- package/dist/common/interceptors/index.d.ts +0 -1
- package/dist/common/interceptors/index.js +0 -18
- package/dist/common/interceptors/index.js.map +0 -1
- package/dist/common/interceptors/security.interceptor.d.ts +0 -5
- package/dist/common/interceptors/security.interceptor.js +0 -22
- package/dist/common/interceptors/security.interceptor.js.map +0 -1
- package/dist/entities/app_config/app-config.entity.d.ts +0 -5
- package/dist/entities/app_config/app-config.entity.js +0 -33
- package/dist/entities/app_config/app-config.entity.js.map +0 -1
- package/dist/entities/audit.entity.d.ts +0 -7
- package/dist/entities/audit.entity.js +0 -56
- package/dist/entities/audit.entity.js.map +0 -1
- package/dist/entities/capacitation/capacitation.entity.d.ts +0 -10
- package/dist/entities/capacitation/capacitation.entity.js +0 -68
- package/dist/entities/capacitation/capacitation.entity.js.map +0 -1
- package/dist/entities/capacitation/course-assigned.entity.d.ts +0 -12
- package/dist/entities/capacitation/course-assigned.entity.js +0 -44
- package/dist/entities/capacitation/course-assigned.entity.js.map +0 -1
- package/dist/entities/capacitation/course-evaluation-attempt.entity.d.ts +0 -22
- package/dist/entities/capacitation/course-evaluation-attempt.entity.js +0 -96
- package/dist/entities/capacitation/course-evaluation-attempt.entity.js.map +0 -1
- package/dist/entities/capacitation/course-evaluation.entity.d.ts +0 -42
- package/dist/entities/capacitation/course-evaluation.entity.js +0 -111
- package/dist/entities/capacitation/course-evaluation.entity.js.map +0 -1
- package/dist/entities/capacitation/course-folder-page.entity.d.ts +0 -14
- package/dist/entities/capacitation/course-folder-page.entity.js +0 -74
- package/dist/entities/capacitation/course-folder-page.entity.js.map +0 -1
- package/dist/entities/capacitation/course-folder.entity.d.ts +0 -10
- package/dist/entities/capacitation/course-folder.entity.js +0 -57
- package/dist/entities/capacitation/course-folder.entity.js.map +0 -1
- package/dist/entities/capacitation/course-order.entity.d.ts +0 -8
- package/dist/entities/capacitation/course-order.entity.js +0 -45
- package/dist/entities/capacitation/course-order.entity.js.map +0 -1
- package/dist/entities/capacitation/course.entity.d.ts +0 -21
- package/dist/entities/capacitation/course.entity.js +0 -119
- package/dist/entities/capacitation/course.entity.js.map +0 -1
- package/dist/entities/capacitation/index.d.ts +0 -8
- package/dist/entities/capacitation/index.js +0 -21
- package/dist/entities/capacitation/index.js.map +0 -1
- package/dist/entities/currency.entity.d.ts +0 -6
- package/dist/entities/currency.entity.js +0 -43
- package/dist/entities/currency.entity.js.map +0 -1
- package/dist/entities/drive/attached_object.entity.d.ts +0 -27
- package/dist/entities/drive/attached_object.entity.js +0 -154
- package/dist/entities/drive/attached_object.entity.js.map +0 -1
- package/dist/entities/drive/file.entity.d.ts +0 -20
- package/dist/entities/drive/file.entity.js +0 -178
- package/dist/entities/drive/file.entity.js.map +0 -1
- package/dist/entities/drive/folder.entity.d.ts +0 -19
- package/dist/entities/drive/folder.entity.js +0 -173
- package/dist/entities/drive/folder.entity.js.map +0 -1
- package/dist/entities/drive/index.d.ts +0 -3
- package/dist/entities/drive/index.js +0 -20
- package/dist/entities/drive/index.js.map +0 -1
- package/dist/entities/easyapp/filter-view.entity.d.ts +0 -7
- package/dist/entities/easyapp/filter-view.entity.js +0 -41
- package/dist/entities/easyapp/filter-view.entity.js.map +0 -1
- package/dist/entities/email.entity.d.ts +0 -5
- package/dist/entities/email.entity.js +0 -36
- package/dist/entities/email.entity.js.map +0 -1
- package/dist/entities/group.entity.d.ts +0 -13
- package/dist/entities/group.entity.js +0 -57
- package/dist/entities/group.entity.js.map +0 -1
- package/dist/entities/helpers/entity_file.entity.d.ts +0 -10
- package/dist/entities/helpers/entity_file.entity.js +0 -61
- package/dist/entities/helpers/entity_file.entity.js.map +0 -1
- package/dist/entities/helpers/entity_folder.entity.d.ts +0 -10
- package/dist/entities/helpers/entity_folder.entity.js +0 -61
- package/dist/entities/helpers/entity_folder.entity.js.map +0 -1
- package/dist/entities/helpers/index.d.ts +0 -5
- package/dist/entities/helpers/index.js +0 -22
- package/dist/entities/helpers/index.js.map +0 -1
- package/dist/entities/helpers/meeting_crm.entity.d.ts +0 -23
- package/dist/entities/helpers/meeting_crm.entity.js +0 -166
- package/dist/entities/helpers/meeting_crm.entity.js.map +0 -1
- package/dist/entities/helpers/sales/agent/connection/h_agent_connection.entity.d.ts +0 -20
- package/dist/entities/helpers/sales/agent/connection/h_agent_connection.entity.js +0 -160
- package/dist/entities/helpers/sales/agent/connection/h_agent_connection.entity.js.map +0 -1
- package/dist/entities/helpers/sales/agent/connection/h_agent_connection_stage.entity.d.ts +0 -5
- package/dist/entities/helpers/sales/agent/connection/h_agent_connection_stage.entity.js +0 -43
- package/dist/entities/helpers/sales/agent/connection/h_agent_connection_stage.entity.js.map +0 -1
- package/dist/entities/helpers/sales/agent/h_agent_source.entity.d.ts +0 -4
- package/dist/entities/helpers/sales/agent/h_agent_source.entity.js +0 -34
- package/dist/entities/helpers/sales/agent/h_agent_source.entity.js.map +0 -1
- package/dist/entities/helpers/sales/agent/h_agent_types.entity.d.ts +0 -4
- package/dist/entities/helpers/sales/agent/h_agent_types.entity.js +0 -34
- package/dist/entities/helpers/sales/agent/h_agent_types.entity.js.map +0 -1
- package/dist/entities/helpers/sales/agent/index.d.ts +0 -6
- package/dist/entities/helpers/sales/agent/index.js +0 -23
- package/dist/entities/helpers/sales/agent/index.js.map +0 -1
- package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment.entity.d.ts +0 -18
- package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment.entity.js +0 -150
- package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment.entity.js.map +0 -1
- package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment_stage.entity.d.ts +0 -5
- package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment_stage.entity.js +0 -43
- package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment_stage.entity.js.map +0 -1
- package/dist/entities/helpers/sales/common/client_sources.entity.d.ts +0 -5
- package/dist/entities/helpers/sales/common/client_sources.entity.js +0 -36
- package/dist/entities/helpers/sales/common/client_sources.entity.js.map +0 -1
- package/dist/entities/helpers/sales/common/client_types.entity.d.ts +0 -5
- package/dist/entities/helpers/sales/common/client_types.entity.js +0 -36
- package/dist/entities/helpers/sales/common/client_types.entity.js.map +0 -1
- package/dist/entities/helpers/sales/contact/contact_email.entity.d.ts +0 -11
- package/dist/entities/helpers/sales/contact/contact_email.entity.js +0 -89
- package/dist/entities/helpers/sales/contact/contact_email.entity.js.map +0 -1
- package/dist/entities/helpers/sales/contact/contact_insurance.entity.d.ts +0 -11
- package/dist/entities/helpers/sales/contact/contact_insurance.entity.js +0 -92
- package/dist/entities/helpers/sales/contact/contact_insurance.entity.js.map +0 -1
- package/dist/entities/helpers/sales/contact/contact_phone.entity.d.ts +0 -11
- package/dist/entities/helpers/sales/contact/contact_phone.entity.js +0 -89
- package/dist/entities/helpers/sales/contact/contact_phone.entity.js.map +0 -1
- package/dist/entities/helpers/sales/contact/index.d.ts +0 -5
- package/dist/entities/helpers/sales/contact/index.js +0 -22
- package/dist/entities/helpers/sales/contact/index.js.map +0 -1
- package/dist/entities/helpers/sales/index.d.ts +0 -7
- package/dist/entities/helpers/sales/index.js +0 -24
- package/dist/entities/helpers/sales/index.js.map +0 -1
- package/dist/entities/helpers/sales/lead/h_lead_source.entity.d.ts +0 -4
- package/dist/entities/helpers/sales/lead/h_lead_source.entity.js +0 -30
- package/dist/entities/helpers/sales/lead/h_lead_source.entity.js.map +0 -1
- package/dist/entities/helpers/sales/lead/h_lead_stage.entity.d.ts +0 -5
- package/dist/entities/helpers/sales/lead/h_lead_stage.entity.js +0 -36
- package/dist/entities/helpers/sales/lead/h_lead_stage.entity.js.map +0 -1
- package/dist/entities/helpers/sales/lead/h_lead_types.entity.d.ts +0 -4
- package/dist/entities/helpers/sales/lead/h_lead_types.entity.js +0 -30
- package/dist/entities/helpers/sales/lead/h_lead_types.entity.js.map +0 -1
- package/dist/entities/helpers/sales/lead/index.d.ts +0 -6
- package/dist/entities/helpers/sales/lead/index.js +0 -23
- package/dist/entities/helpers/sales/lead/index.js.map +0 -1
- package/dist/entities/helpers/sales/lead/lead_cancel_reazon.entity.d.ts +0 -4
- package/dist/entities/helpers/sales/lead/lead_cancel_reazon.entity.js +0 -28
- package/dist/entities/helpers/sales/lead/lead_cancel_reazon.entity.js.map +0 -1
- package/dist/entities/helpers/sales/lead/lead_email.entity.d.ts +0 -11
- package/dist/entities/helpers/sales/lead/lead_email.entity.js +0 -66
- package/dist/entities/helpers/sales/lead/lead_email.entity.js.map +0 -1
- package/dist/entities/helpers/sales/lead/lead_phone.entity.d.ts +0 -11
- package/dist/entities/helpers/sales/lead/lead_phone.entity.js +0 -66
- package/dist/entities/helpers/sales/lead/lead_phone.entity.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/h_poliza_category.entity.d.ts +0 -5
- package/dist/entities/helpers/sales/poliza/h_poliza_category.entity.js +0 -30
- package/dist/entities/helpers/sales/poliza/h_poliza_category.entity.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/h_poliza_conducto_pago.entity.d.ts +0 -5
- package/dist/entities/helpers/sales/poliza/h_poliza_conducto_pago.entity.js +0 -33
- package/dist/entities/helpers/sales/poliza/h_poliza_conducto_pago.entity.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/h_poliza_forma_cobro.entity.d.ts +0 -6
- package/dist/entities/helpers/sales/poliza/h_poliza_forma_cobro.entity.js +0 -39
- package/dist/entities/helpers/sales/poliza/h_poliza_forma_cobro.entity.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/h_poliza_frecuencia_pago.entity.d.ts +0 -6
- package/dist/entities/helpers/sales/poliza/h_poliza_frecuencia_pago.entity.js +0 -39
- package/dist/entities/helpers/sales/poliza/h_poliza_frecuencia_pago.entity.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/h_poliza_insurance.entity.d.ts +0 -5
- package/dist/entities/helpers/sales/poliza/h_poliza_insurance.entity.js +0 -30
- package/dist/entities/helpers/sales/poliza/h_poliza_insurance.entity.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/h_poliza_stage.entity.d.ts +0 -5
- package/dist/entities/helpers/sales/poliza/h_poliza_stage.entity.js +0 -43
- package/dist/entities/helpers/sales/poliza/h_poliza_stage.entity.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/h_poliza_subramo.entity.d.ts +0 -6
- package/dist/entities/helpers/sales/poliza/h_poliza_subramo.entity.js +0 -36
- package/dist/entities/helpers/sales/poliza/h_poliza_subramo.entity.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/h_poliza_type.entity.d.ts +0 -5
- package/dist/entities/helpers/sales/poliza/h_poliza_type.entity.js +0 -33
- package/dist/entities/helpers/sales/poliza/h_poliza_type.entity.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/h_receipt_stage.entity.d.ts +0 -8
- package/dist/entities/helpers/sales/poliza/h_receipt_stage.entity.js +0 -53
- package/dist/entities/helpers/sales/poliza/h_receipt_stage.entity.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/index.d.ts +0 -12
- package/dist/entities/helpers/sales/poliza/index.js +0 -29
- package/dist/entities/helpers/sales/poliza/index.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/poliza_cancel_reason.entity.d.ts +0 -4
- package/dist/entities/helpers/sales/poliza/poliza_cancel_reason.entity.js +0 -28
- package/dist/entities/helpers/sales/poliza/poliza_cancel_reason.entity.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/poliza_insured.entity.d.ts +0 -11
- package/dist/entities/helpers/sales/poliza/poliza_insured.entity.js +0 -86
- package/dist/entities/helpers/sales/poliza/poliza_insured.entity.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/poliza_settlement.entity.d.ts +0 -4
- package/dist/entities/helpers/sales/poliza/poliza_settlement.entity.js +0 -28
- package/dist/entities/helpers/sales/poliza/poliza_settlement.entity.js.map +0 -1
- package/dist/entities/helpers/tools/event_crm.entity.d.ts +0 -35
- package/dist/entities/helpers/tools/event_crm.entity.js +0 -251
- package/dist/entities/helpers/tools/event_crm.entity.js.map +0 -1
- package/dist/entities/helpers/tools/index.d.ts +0 -2
- package/dist/entities/helpers/tools/index.js +0 -19
- package/dist/entities/helpers/tools/index.js.map +0 -1
- package/dist/entities/helpers/tools/task_crm.entity.d.ts +0 -37
- package/dist/entities/helpers/tools/task_crm.entity.js +0 -258
- package/dist/entities/helpers/tools/task_crm.entity.js.map +0 -1
- package/dist/entities/imap-config.entity.d.ts +0 -11
- package/dist/entities/imap-config.entity.js +0 -61
- package/dist/entities/imap-config.entity.js.map +0 -1
- package/dist/entities/index.d.ts +0 -37
- package/dist/entities/index.js +0 -54
- package/dist/entities/index.js.map +0 -1
- package/dist/entities/login-history.entity.d.ts +0 -7
- package/dist/entities/login-history.entity.js +0 -53
- package/dist/entities/login-history.entity.js.map +0 -1
- package/dist/entities/meeting-comment.entity.d.ts +0 -8
- package/dist/entities/meeting-comment.entity.js +0 -46
- package/dist/entities/meeting-comment.entity.js.map +0 -1
- package/dist/entities/meeting-list-field.d.ts +0 -5
- package/dist/entities/meeting-list-field.js +0 -46
- package/dist/entities/meeting-list-field.js.map +0 -1
- package/dist/entities/meeting.entity.d.ts +0 -24
- package/dist/entities/meeting.entity.js +0 -187
- package/dist/entities/meeting.entity.js.map +0 -1
- package/dist/entities/menu-permissions.entity.d.ts +0 -7
- package/dist/entities/menu-permissions.entity.js +0 -42
- package/dist/entities/menu-permissions.entity.js.map +0 -1
- package/dist/entities/notifications/index.d.ts +0 -2
- package/dist/entities/notifications/index.js +0 -19
- package/dist/entities/notifications/index.js.map +0 -1
- package/dist/entities/notifications/notification.entity.d.ts +0 -15
- package/dist/entities/notifications/notification.entity.js +0 -119
- package/dist/entities/notifications/notification.entity.js.map +0 -1
- package/dist/entities/notifications/push-token.entity.d.ts +0 -7
- package/dist/entities/notifications/push-token.entity.js +0 -45
- package/dist/entities/notifications/push-token.entity.js.map +0 -1
- package/dist/entities/otp-log.entity.d.ts +0 -8
- package/dist/entities/otp-log.entity.js +0 -49
- package/dist/entities/otp-log.entity.js.map +0 -1
- package/dist/entities/permission.entity.d.ts +0 -7
- package/dist/entities/permission.entity.js +0 -46
- package/dist/entities/permission.entity.js.map +0 -1
- package/dist/entities/phone.entity.d.ts +0 -5
- package/dist/entities/phone.entity.js +0 -36
- package/dist/entities/phone.entity.js.map +0 -1
- package/dist/entities/policy/index.d.ts +0 -3
- package/dist/entities/policy/index.js +0 -20
- package/dist/entities/policy/index.js.map +0 -1
- package/dist/entities/policy/policy-version.entity.d.ts +0 -46
- package/dist/entities/policy/policy-version.entity.js +0 -427
- package/dist/entities/policy/policy-version.entity.js.map +0 -1
- package/dist/entities/policy/policy.entity.d.ts +0 -29
- package/dist/entities/policy/policy.entity.js +0 -296
- package/dist/entities/policy/policy.entity.js.map +0 -1
- package/dist/entities/policy/version-comment.entity.d.ts +0 -5
- package/dist/entities/policy/version-comment.entity.js +0 -35
- package/dist/entities/policy/version-comment.entity.js.map +0 -1
- package/dist/entities/profile.entity.d.ts +0 -9
- package/dist/entities/profile.entity.js +0 -56
- package/dist/entities/profile.entity.js.map +0 -1
- package/dist/entities/protocol.entity.d.ts +0 -8
- package/dist/entities/protocol.entity.js +0 -46
- package/dist/entities/protocol.entity.js.map +0 -1
- package/dist/entities/refresh-token.entity.d.ts +0 -8
- package/dist/entities/refresh-token.entity.js +0 -46
- package/dist/entities/refresh-token.entity.js.map +0 -1
- package/dist/entities/role.entity.d.ts +0 -13
- package/dist/entities/role.entity.js +0 -108
- package/dist/entities/role.entity.js.map +0 -1
- package/dist/entities/sales/agent-comment.entity.d.ts +0 -5
- package/dist/entities/sales/agent-comment.entity.js +0 -35
- package/dist/entities/sales/agent-comment.entity.js.map +0 -1
- package/dist/entities/sales/agent.entity.d.ts +0 -34
- package/dist/entities/sales/agent.entity.js +0 -274
- package/dist/entities/sales/agent.entity.js.map +0 -1
- package/dist/entities/sales/agente-intermediario.entity.d.ts +0 -7
- package/dist/entities/sales/agente-intermediario.entity.js +0 -49
- package/dist/entities/sales/agente-intermediario.entity.js.map +0 -1
- package/dist/entities/sales/beneficiarios/index.d.ts +0 -2
- package/dist/entities/sales/beneficiarios/index.js +0 -19
- package/dist/entities/sales/beneficiarios/index.js.map +0 -1
- package/dist/entities/sales/beneficiarios/person.entity.d.ts +0 -10
- package/dist/entities/sales/beneficiarios/person.entity.js +0 -89
- package/dist/entities/sales/beneficiarios/person.entity.js.map +0 -1
- package/dist/entities/sales/beneficiarios/vehicle.entity.d.ts +0 -16
- package/dist/entities/sales/beneficiarios/vehicle.entity.js +0 -106
- package/dist/entities/sales/beneficiarios/vehicle.entity.js.map +0 -1
- package/dist/entities/sales/contact-comment.entity.d.ts +0 -5
- package/dist/entities/sales/contact-comment.entity.js +0 -32
- package/dist/entities/sales/contact-comment.entity.js.map +0 -1
- package/dist/entities/sales/contact.entity.d.ts +0 -60
- package/dist/entities/sales/contact.entity.js +0 -527
- package/dist/entities/sales/contact.entity.js.map +0 -1
- package/dist/entities/sales/import-session.entity.d.ts +0 -29
- package/dist/entities/sales/import-session.entity.js +0 -155
- package/dist/entities/sales/import-session.entity.js.map +0 -1
- package/dist/entities/sales/index.d.ts +0 -16
- package/dist/entities/sales/index.js +0 -33
- package/dist/entities/sales/index.js.map +0 -1
- package/dist/entities/sales/lead-comment.entity.d.ts +0 -5
- package/dist/entities/sales/lead-comment.entity.js +0 -32
- package/dist/entities/sales/lead-comment.entity.js.map +0 -1
- package/dist/entities/sales/lead.entity.d.ts +0 -63
- package/dist/entities/sales/lead.entity.js +0 -610
- package/dist/entities/sales/lead.entity.js.map +0 -1
- package/dist/entities/sales/policy-comment.entity.d.ts +0 -5
- package/dist/entities/sales/policy-comment.entity.js +0 -35
- package/dist/entities/sales/policy-comment.entity.js.map +0 -1
- package/dist/entities/sales/poliza/index.d.ts +0 -8
- package/dist/entities/sales/poliza/index.js +0 -25
- package/dist/entities/sales/poliza/index.js.map +0 -1
- package/dist/entities/sales/poliza/poliza_claim-comment.entity.d.ts +0 -5
- package/dist/entities/sales/poliza/poliza_claim-comment.entity.js +0 -35
- package/dist/entities/sales/poliza/poliza_claim-comment.entity.js.map +0 -1
- package/dist/entities/sales/poliza/poliza_claim.entity.d.ts +0 -36
- package/dist/entities/sales/poliza/poliza_claim.entity.js +0 -298
- package/dist/entities/sales/poliza/poliza_claim.entity.js.map +0 -1
- package/dist/entities/sales/poliza/poliza_fund-recovery-comment.entity.d.ts +0 -5
- package/dist/entities/sales/poliza/poliza_fund-recovery-comment.entity.js +0 -35
- package/dist/entities/sales/poliza/poliza_fund-recovery-comment.entity.js.map +0 -1
- package/dist/entities/sales/poliza/poliza_fund-recovery.entity.d.ts +0 -33
- package/dist/entities/sales/poliza/poliza_fund-recovery.entity.js +0 -272
- package/dist/entities/sales/poliza/poliza_fund-recovery.entity.js.map +0 -1
- package/dist/entities/sales/poliza/poliza_reimbursement-comment.entity.d.ts +0 -5
- package/dist/entities/sales/poliza/poliza_reimbursement-comment.entity.js +0 -35
- package/dist/entities/sales/poliza/poliza_reimbursement-comment.entity.js.map +0 -1
- package/dist/entities/sales/poliza/poliza_reimbursement.entity.d.ts +0 -36
- package/dist/entities/sales/poliza/poliza_reimbursement.entity.js +0 -290
- package/dist/entities/sales/poliza/poliza_reimbursement.entity.js.map +0 -1
- package/dist/entities/sales/poliza/poliza_scheduling-comment.entity.d.ts +0 -5
- package/dist/entities/sales/poliza/poliza_scheduling-comment.entity.js +0 -35
- package/dist/entities/sales/poliza/poliza_scheduling-comment.entity.js.map +0 -1
- package/dist/entities/sales/poliza/poliza_scheduling.entity.d.ts +0 -39
- package/dist/entities/sales/poliza/poliza_scheduling.entity.js +0 -312
- package/dist/entities/sales/poliza/poliza_scheduling.entity.js.map +0 -1
- package/dist/entities/sales/poliza-comment.entity.d.ts +0 -5
- package/dist/entities/sales/poliza-comment.entity.js +0 -32
- package/dist/entities/sales/poliza-comment.entity.js.map +0 -1
- package/dist/entities/sales/poliza.entity.d.ts +0 -110
- package/dist/entities/sales/poliza.entity.js +0 -1051
- package/dist/entities/sales/poliza.entity.js.map +0 -1
- package/dist/entities/sales/poliza_pdf.entity.d.ts +0 -96
- package/dist/entities/sales/poliza_pdf.entity.js +0 -946
- package/dist/entities/sales/poliza_pdf.entity.js.map +0 -1
- package/dist/entities/sales/receipt-comment.entity.d.ts +0 -5
- package/dist/entities/sales/receipt-comment.entity.js +0 -32
- package/dist/entities/sales/receipt-comment.entity.js.map +0 -1
- package/dist/entities/sales/receipt.entity.d.ts +0 -37
- package/dist/entities/sales/receipt.entity.js +0 -297
- package/dist/entities/sales/receipt.entity.js.map +0 -1
- package/dist/entities/tag.entity.d.ts +0 -8
- package/dist/entities/tag.entity.js +0 -53
- package/dist/entities/tag.entity.js.map +0 -1
- package/dist/entities/thirdparty/diio-integration.entity.d.ts +0 -16
- package/dist/entities/thirdparty/diio-integration.entity.js +0 -74
- package/dist/entities/thirdparty/diio-integration.entity.js.map +0 -1
- package/dist/entities/thirdparty/google-gmail-watch-record.entity.d.ts +0 -14
- package/dist/entities/thirdparty/google-gmail-watch-record.entity.js +0 -113
- package/dist/entities/thirdparty/google-gmail-watch-record.entity.js.map +0 -1
- package/dist/entities/thirdparty/google-webhooks-config.entity.d.ts +0 -19
- package/dist/entities/thirdparty/google-webhooks-config.entity.js +0 -82
- package/dist/entities/thirdparty/google-webhooks-config.entity.js.map +0 -1
- package/dist/entities/thirdparty/oauth.entity.d.ts +0 -24
- package/dist/entities/thirdparty/oauth.entity.js +0 -81
- package/dist/entities/thirdparty/oauth.entity.js.map +0 -1
- package/dist/entities/tools/calendar/calendar-event-comment.entity.d.ts +0 -8
- package/dist/entities/tools/calendar/calendar-event-comment.entity.js +0 -39
- package/dist/entities/tools/calendar/calendar-event-comment.entity.js.map +0 -1
- package/dist/entities/tools/calendar/calendar-event-invitations.entity.d.ts +0 -13
- package/dist/entities/tools/calendar/calendar-event-invitations.entity.js +0 -48
- package/dist/entities/tools/calendar/calendar-event-invitations.entity.js.map +0 -1
- package/dist/entities/tools/calendar/calendar-general-config.entity.d.ts +0 -20
- package/dist/entities/tools/calendar/calendar-general-config.entity.js +0 -118
- package/dist/entities/tools/calendar/calendar-general-config.entity.js.map +0 -1
- package/dist/entities/tools/calendar/calendar-item.entity.d.ts +0 -17
- package/dist/entities/tools/calendar/calendar-item.entity.js +0 -60
- package/dist/entities/tools/calendar/calendar-item.entity.js.map +0 -1
- package/dist/entities/tools/calendar/calendar-reminder.entity.d.ts +0 -7
- package/dist/entities/tools/calendar/calendar-reminder.entity.js +0 -38
- package/dist/entities/tools/calendar/calendar-reminder.entity.js.map +0 -1
- package/dist/entities/tools/calendar/calendar-sub-item.entity.d.ts +0 -32
- package/dist/entities/tools/calendar/calendar-sub-item.entity.js +0 -104
- package/dist/entities/tools/calendar/calendar-sub-item.entity.js.map +0 -1
- package/dist/entities/tools/calendar/calendar-user-access.entity.d.ts +0 -13
- package/dist/entities/tools/calendar/calendar-user-access.entity.js +0 -46
- package/dist/entities/tools/calendar/calendar-user-access.entity.js.map +0 -1
- package/dist/entities/tools/calendar/event.entity.d.ts +0 -33
- package/dist/entities/tools/calendar/event.entity.js +0 -230
- package/dist/entities/tools/calendar/event.entity.js.map +0 -1
- package/dist/entities/tools/calendar/index.d.ts +0 -8
- package/dist/entities/tools/calendar/index.js +0 -25
- package/dist/entities/tools/calendar/index.js.map +0 -1
- package/dist/entities/tools/index.d.ts +0 -7
- package/dist/entities/tools/index.js +0 -24
- package/dist/entities/tools/index.js.map +0 -1
- package/dist/entities/tools/mail/email-signature.entity.d.ts +0 -10
- package/dist/entities/tools/mail/email-signature.entity.js +0 -60
- package/dist/entities/tools/mail/email-signature.entity.js.map +0 -1
- package/dist/entities/tools/mail/mail.entity.d.ts +0 -50
- package/dist/entities/tools/mail/mail.entity.js +0 -120
- package/dist/entities/tools/mail/mail.entity.js.map +0 -1
- package/dist/entities/tools/mail/mailbox-user-access.entity.d.ts +0 -13
- package/dist/entities/tools/mail/mailbox-user-access.entity.js +0 -46
- package/dist/entities/tools/mail/mailbox-user-access.entity.js.map +0 -1
- package/dist/entities/tools/mail/mailbox.entity.d.ts +0 -57
- package/dist/entities/tools/mail/mailbox.entity.js +0 -104
- package/dist/entities/tools/mail/mailbox.entity.js.map +0 -1
- package/dist/entities/tools/task-comment.entity.d.ts +0 -8
- package/dist/entities/tools/task-comment.entity.js +0 -39
- package/dist/entities/tools/task-comment.entity.js.map +0 -1
- package/dist/entities/tools/task-history.entity.d.ts +0 -15
- package/dist/entities/tools/task-history.entity.js +0 -131
- package/dist/entities/tools/task-history.entity.js.map +0 -1
- package/dist/entities/tools/task-list-field.d.ts +0 -5
- package/dist/entities/tools/task-list-field.js +0 -39
- package/dist/entities/tools/task-list-field.js.map +0 -1
- package/dist/entities/tools/task-objection.entity.d.ts +0 -10
- package/dist/entities/tools/task-objection.entity.js +0 -80
- package/dist/entities/tools/task-objection.entity.js.map +0 -1
- package/dist/entities/tools/task-time-track.entity.d.ts +0 -16
- package/dist/entities/tools/task-time-track.entity.js +0 -139
- package/dist/entities/tools/task-time-track.entity.js.map +0 -1
- package/dist/entities/tools/task.entity.d.ts +0 -52
- package/dist/entities/tools/task.entity.js +0 -451
- package/dist/entities/tools/task.entity.js.map +0 -1
- package/dist/entities/user-change-log.entity.d.ts +0 -22
- package/dist/entities/user-change-log.entity.js +0 -77
- package/dist/entities/user-change-log.entity.js.map +0 -1
- package/dist/entities/user-invitations.entity.d.ts +0 -16
- package/dist/entities/user-invitations.entity.js +0 -143
- package/dist/entities/user-invitations.entity.js.map +0 -1
- package/dist/entities/user.entity.d.ts +0 -37
- package/dist/entities/user.entity.js +0 -260
- package/dist/entities/user.entity.js.map +0 -1
- package/dist/eslint.config.d.ts +0 -2
- package/dist/eslint.config.js +0 -46
- package/dist/eslint.config.js.map +0 -1
- package/dist/grpc/drive/drive.proto +0 -280
- package/dist/grpc/drive/leads.proto +0 -114
- package/dist/index.d.ts +0 -3
- package/dist/index.js +0 -20
- package/dist/index.js.map +0 -1
- package/dist/modules/index.d.ts +0 -5
- package/dist/modules/index.js +0 -22
- package/dist/modules/index.js.map +0 -1
- package/dist/modules/queue/event.service.d.ts +0 -32
- package/dist/modules/queue/event.service.js +0 -45
- package/dist/modules/queue/event.service.js.map +0 -1
- package/dist/modules/queue/notifier.service.d.ts +0 -15
- package/dist/modules/queue/notifier.service.js +0 -70
- package/dist/modules/queue/notifier.service.js.map +0 -1
- package/dist/modules/queue/notifiers/calendar.notifier.d.ts +0 -10
- package/dist/modules/queue/notifiers/calendar.notifier.js +0 -60
- package/dist/modules/queue/notifiers/calendar.notifier.js.map +0 -1
- package/dist/modules/queue/notifiers/contact.notifier.d.ts +0 -7
- package/dist/modules/queue/notifiers/contact.notifier.js +0 -52
- package/dist/modules/queue/notifiers/contact.notifier.js.map +0 -1
- package/dist/modules/queue/notifiers/index.d.ts +0 -4
- package/dist/modules/queue/notifiers/index.js +0 -21
- package/dist/modules/queue/notifiers/index.js.map +0 -1
- package/dist/modules/queue/notifiers/lead.notifier.d.ts +0 -7
- package/dist/modules/queue/notifiers/lead.notifier.js +0 -52
- package/dist/modules/queue/notifiers/lead.notifier.js.map +0 -1
- package/dist/modules/queue/notifiers/task.notifier.d.ts +0 -15
- package/dist/modules/queue/notifiers/task.notifier.js +0 -159
- package/dist/modules/queue/notifiers/task.notifier.js.map +0 -1
- package/dist/modules/queue/queue.module.d.ts +0 -4
- package/dist/modules/queue/queue.module.js +0 -68
- package/dist/modules/queue/queue.module.js.map +0 -1
- package/dist/modules/queue/queue.service.d.ts +0 -9
- package/dist/modules/queue/queue.service.js +0 -56
- package/dist/modules/queue/queue.service.js.map +0 -1
- package/dist/modules/queue/scheduler.service.d.ts +0 -9
- package/dist/modules/queue/scheduler.service.js +0 -40
- package/dist/modules/queue/scheduler.service.js.map +0 -1
- package/tsconfig.tsbuildinfo +0 -1
|
@@ -1,113 +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.GoogleGmailWatchRecord = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
15
|
-
const google_webhooks_config_entity_1 = require("./google-webhooks-config.entity");
|
|
16
|
-
const mailbox_entity_1 = require("../tools/mail/mailbox.entity");
|
|
17
|
-
let GoogleGmailWatchRecord = class GoogleGmailWatchRecord {
|
|
18
|
-
id;
|
|
19
|
-
lastProcessedHistoryId;
|
|
20
|
-
pubsubTopic;
|
|
21
|
-
pubsubSubscription;
|
|
22
|
-
lastNotificationReceivedAt;
|
|
23
|
-
lastHistorySyncAt;
|
|
24
|
-
createdAt;
|
|
25
|
-
updatedAt;
|
|
26
|
-
mailbox;
|
|
27
|
-
webhook;
|
|
28
|
-
};
|
|
29
|
-
exports.GoogleGmailWatchRecord = GoogleGmailWatchRecord;
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, swagger_1.ApiProperty)({
|
|
32
|
-
description: 'Identificador único del registro de vigilancia.',
|
|
33
|
-
example: 'axcxcbsdfdsfa',
|
|
34
|
-
readOnly: true,
|
|
35
|
-
}),
|
|
36
|
-
(0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
|
|
37
|
-
__metadata("design:type", Number)
|
|
38
|
-
], GoogleGmailWatchRecord.prototype, "id", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
(0, swagger_1.ApiProperty)({
|
|
41
|
-
description: 'El último historyId procesado exitosamente para este usuario. Se usa como startHistoryId en las llamadas a la API history.list de Gmail.',
|
|
42
|
-
example: '74518',
|
|
43
|
-
nullable: true,
|
|
44
|
-
}),
|
|
45
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
46
|
-
__metadata("design:type", String)
|
|
47
|
-
], GoogleGmailWatchRecord.prototype, "lastProcessedHistoryId", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
(0, swagger_1.ApiProperty)({
|
|
50
|
-
description: 'Nombre del topic de Pub/Sub asociado a esta vigilancia.',
|
|
51
|
-
example: 'projects/my-project/topics/gmail-notifications',
|
|
52
|
-
nullable: true,
|
|
53
|
-
}),
|
|
54
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
55
|
-
__metadata("design:type", String)
|
|
56
|
-
], GoogleGmailWatchRecord.prototype, "pubsubTopic", void 0);
|
|
57
|
-
__decorate([
|
|
58
|
-
(0, swagger_1.ApiProperty)({
|
|
59
|
-
description: 'Nombre de la suscripción de Pub/Sub asociada a esta vigilancia.',
|
|
60
|
-
example: 'projects/my-project/subscriptions/gmail-subscription',
|
|
61
|
-
nullable: true,
|
|
62
|
-
}),
|
|
63
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
64
|
-
__metadata("design:type", String)
|
|
65
|
-
], GoogleGmailWatchRecord.prototype, "pubsubSubscription", void 0);
|
|
66
|
-
__decorate([
|
|
67
|
-
(0, swagger_1.ApiProperty)({
|
|
68
|
-
description: 'Fecha y hora de la última notificación de Pub/Sub recibida para este usuario.',
|
|
69
|
-
example: '2023-10-27T10:00:00Z',
|
|
70
|
-
nullable: true,
|
|
71
|
-
}),
|
|
72
|
-
(0, typeorm_1.Column)({ type: 'timestamp', nullable: true }),
|
|
73
|
-
__metadata("design:type", Date)
|
|
74
|
-
], GoogleGmailWatchRecord.prototype, "lastNotificationReceivedAt", void 0);
|
|
75
|
-
__decorate([
|
|
76
|
-
(0, swagger_1.ApiProperty)({
|
|
77
|
-
description: 'Fecha y hora de la última vez que se sincronizó y procesó el historial de Gmail para este usuario.',
|
|
78
|
-
example: '2023-10-27T10:05:00Z',
|
|
79
|
-
nullable: true,
|
|
80
|
-
}),
|
|
81
|
-
(0, typeorm_1.Column)({ type: 'timestamp', nullable: true, default: 'now()' }),
|
|
82
|
-
__metadata("design:type", Date)
|
|
83
|
-
], GoogleGmailWatchRecord.prototype, "lastHistorySyncAt", void 0);
|
|
84
|
-
__decorate([
|
|
85
|
-
(0, swagger_1.ApiProperty)({
|
|
86
|
-
description: 'Fecha y hora de creación del registro.',
|
|
87
|
-
example: '2023-10-27T09:00:00Z',
|
|
88
|
-
readOnly: true,
|
|
89
|
-
}),
|
|
90
|
-
(0, typeorm_1.CreateDateColumn)({ type: 'timestamp' }),
|
|
91
|
-
__metadata("design:type", Date)
|
|
92
|
-
], GoogleGmailWatchRecord.prototype, "createdAt", void 0);
|
|
93
|
-
__decorate([
|
|
94
|
-
(0, swagger_1.ApiProperty)({
|
|
95
|
-
description: 'Fecha y hora de la última actualización del registro.',
|
|
96
|
-
example: '2023-10-27T10:05:00Z',
|
|
97
|
-
readOnly: true,
|
|
98
|
-
}),
|
|
99
|
-
(0, typeorm_1.UpdateDateColumn)({ type: 'timestamp' }),
|
|
100
|
-
__metadata("design:type", Date)
|
|
101
|
-
], GoogleGmailWatchRecord.prototype, "updatedAt", void 0);
|
|
102
|
-
__decorate([
|
|
103
|
-
(0, typeorm_1.ManyToOne)(() => mailbox_entity_1.Mailbox, { onDelete: 'CASCADE' }),
|
|
104
|
-
__metadata("design:type", mailbox_entity_1.Mailbox)
|
|
105
|
-
], GoogleGmailWatchRecord.prototype, "mailbox", void 0);
|
|
106
|
-
__decorate([
|
|
107
|
-
(0, typeorm_1.ManyToOne)(() => google_webhooks_config_entity_1.GoogleWebhooksConfig, { onDelete: 'CASCADE' }),
|
|
108
|
-
__metadata("design:type", google_webhooks_config_entity_1.GoogleWebhooksConfig)
|
|
109
|
-
], GoogleGmailWatchRecord.prototype, "webhook", void 0);
|
|
110
|
-
exports.GoogleGmailWatchRecord = GoogleGmailWatchRecord = __decorate([
|
|
111
|
-
(0, typeorm_1.Entity)()
|
|
112
|
-
], GoogleGmailWatchRecord);
|
|
113
|
-
//# sourceMappingURL=google-gmail-watch-record.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"google-gmail-watch-record.entity.js","sourceRoot":"","sources":["../../../src/entities/thirdparty/google-gmail-watch-record.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,qCAAgH;AAChH,6CAA8C;AAC9C,mFAAuE;AACvE,iEAAuD;AAQhD,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;IAOjC,EAAE,CAAS;IAQX,sBAAsB,CAAgB;IAQtC,WAAW,CAAgB;IAQ3B,kBAAkB,CAAgB;IAQlC,0BAA0B,CAAc;IAQxC,iBAAiB,CAAc;IAQ/B,SAAS,CAAO;IAQhB,SAAS,CAAO;IAIhB,OAAO,CAAU;IAGjB,OAAO,CAAuB;CAC/B,CAAA;AAvEY,wDAAsB;AAOjC;IANC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,iDAAiD;QAC9D,OAAO,EAAE,eAAe;QACxB,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,IAAA,gCAAsB,EAAC,MAAM,CAAC;;kDACpB;AAQX;IANC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,0IAA0I;QACvJ,OAAO,EAAE,OAAO;QAChB,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sEACnB;AAQtC;IANC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,yDAAyD;QACtE,OAAO,EAAE,gDAAgD;QACzD,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2DAC9B;AAQ3B;IANC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,iEAAiE;QAC9E,OAAO,EAAE,sDAAsD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AAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BACtD,oDAAoB;uDAAC;iCAtEnB,sBAAsB;IADlC,IAAA,gBAAM,GAAE;GACI,sBAAsB,CAuElC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Oauth } from './oauth.entity';
|
|
2
|
-
import { User } from '../user.entity';
|
|
3
|
-
export declare enum WebhookServiceType {
|
|
4
|
-
Gmail = "gmail",
|
|
5
|
-
GoogleCalendar = "google-calendar"
|
|
6
|
-
}
|
|
7
|
-
export declare class GoogleWebhooksConfig {
|
|
8
|
-
channelId: string;
|
|
9
|
-
resourceId: string;
|
|
10
|
-
notificationUrl: string;
|
|
11
|
-
expiration: number;
|
|
12
|
-
active: boolean;
|
|
13
|
-
syncToken?: string;
|
|
14
|
-
type: WebhookServiceType;
|
|
15
|
-
createdAt?: Date;
|
|
16
|
-
updatedAt?: Date;
|
|
17
|
-
oauth: Oauth;
|
|
18
|
-
user: User;
|
|
19
|
-
}
|
|
@@ -1,82 +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.GoogleWebhooksConfig = exports.WebhookServiceType = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const oauth_entity_1 = require("./oauth.entity");
|
|
15
|
-
const user_entity_1 = require("../user.entity");
|
|
16
|
-
var WebhookServiceType;
|
|
17
|
-
(function (WebhookServiceType) {
|
|
18
|
-
WebhookServiceType["Gmail"] = "gmail";
|
|
19
|
-
WebhookServiceType["GoogleCalendar"] = "google-calendar";
|
|
20
|
-
})(WebhookServiceType || (exports.WebhookServiceType = WebhookServiceType = {}));
|
|
21
|
-
let GoogleWebhooksConfig = class GoogleWebhooksConfig {
|
|
22
|
-
channelId;
|
|
23
|
-
resourceId;
|
|
24
|
-
notificationUrl;
|
|
25
|
-
expiration;
|
|
26
|
-
active;
|
|
27
|
-
syncToken;
|
|
28
|
-
type;
|
|
29
|
-
createdAt;
|
|
30
|
-
updatedAt;
|
|
31
|
-
oauth;
|
|
32
|
-
user;
|
|
33
|
-
};
|
|
34
|
-
exports.GoogleWebhooksConfig = GoogleWebhooksConfig;
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, typeorm_1.PrimaryColumn)('uuid'),
|
|
37
|
-
__metadata("design:type", String)
|
|
38
|
-
], GoogleWebhooksConfig.prototype, "channelId", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
41
|
-
__metadata("design:type", String)
|
|
42
|
-
], GoogleWebhooksConfig.prototype, "resourceId", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
45
|
-
__metadata("design:type", String)
|
|
46
|
-
], GoogleWebhooksConfig.prototype, "notificationUrl", void 0);
|
|
47
|
-
__decorate([
|
|
48
|
-
(0, typeorm_1.Column)({ type: 'bigint' }),
|
|
49
|
-
__metadata("design:type", Number)
|
|
50
|
-
], GoogleWebhooksConfig.prototype, "expiration", void 0);
|
|
51
|
-
__decorate([
|
|
52
|
-
(0, typeorm_1.Column)({ default: true }),
|
|
53
|
-
__metadata("design:type", Boolean)
|
|
54
|
-
], GoogleWebhooksConfig.prototype, "active", void 0);
|
|
55
|
-
__decorate([
|
|
56
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
57
|
-
__metadata("design:type", String)
|
|
58
|
-
], GoogleWebhooksConfig.prototype, "syncToken", void 0);
|
|
59
|
-
__decorate([
|
|
60
|
-
(0, typeorm_1.Column)({ type: 'enum', enum: WebhookServiceType }),
|
|
61
|
-
__metadata("design:type", String)
|
|
62
|
-
], GoogleWebhooksConfig.prototype, "type", void 0);
|
|
63
|
-
__decorate([
|
|
64
|
-
(0, typeorm_1.CreateDateColumn)(),
|
|
65
|
-
__metadata("design:type", Date)
|
|
66
|
-
], GoogleWebhooksConfig.prototype, "createdAt", void 0);
|
|
67
|
-
__decorate([
|
|
68
|
-
(0, typeorm_1.UpdateDateColumn)(),
|
|
69
|
-
__metadata("design:type", Date)
|
|
70
|
-
], GoogleWebhooksConfig.prototype, "updatedAt", void 0);
|
|
71
|
-
__decorate([
|
|
72
|
-
(0, typeorm_1.ManyToOne)(() => oauth_entity_1.Oauth, { nullable: false, onDelete: 'CASCADE' }),
|
|
73
|
-
__metadata("design:type", oauth_entity_1.Oauth)
|
|
74
|
-
], GoogleWebhooksConfig.prototype, "oauth", void 0);
|
|
75
|
-
__decorate([
|
|
76
|
-
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, { nullable: false, onDelete: 'CASCADE' }),
|
|
77
|
-
__metadata("design:type", user_entity_1.User)
|
|
78
|
-
], GoogleWebhooksConfig.prototype, "user", void 0);
|
|
79
|
-
exports.GoogleWebhooksConfig = GoogleWebhooksConfig = __decorate([
|
|
80
|
-
(0, typeorm_1.Entity)()
|
|
81
|
-
], GoogleWebhooksConfig);
|
|
82
|
-
//# sourceMappingURL=google-webhooks-config.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"google-webhooks-config.entity.js","sourceRoot":"","sources":["../../../src/entities/thirdparty/google-webhooks-config.entity.ts"],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AS,EAAE,CAAC;8BAC1D,oBAAK;mDAAC;AAGb;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BAC1D,kBAAI;kDAAC;+BAhCA,oBAAoB;IADhC,IAAA,gBAAM,GAAE;GACI,oBAAoB,CAiChC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { BaseEntityOnlyEssential } from '../../common/database/base.entity';
|
|
2
|
-
import { User } from '../user.entity';
|
|
3
|
-
export declare enum OAuthProvider {
|
|
4
|
-
Google = "google",
|
|
5
|
-
Microsoft = "microsoft",
|
|
6
|
-
Apple = "apple"
|
|
7
|
-
}
|
|
8
|
-
export declare enum OAuthServiceType {
|
|
9
|
-
Profile = "profile",
|
|
10
|
-
EmailAddress = "email",
|
|
11
|
-
Calendar = "calendar",
|
|
12
|
-
Mail = "mail"
|
|
13
|
-
}
|
|
14
|
-
export declare class Oauth extends BaseEntityOnlyEssential {
|
|
15
|
-
email?: string;
|
|
16
|
-
provider: OAuthProvider;
|
|
17
|
-
service: OAuthServiceType;
|
|
18
|
-
refreshToken: string;
|
|
19
|
-
accessToken: string;
|
|
20
|
-
expiresIn: number;
|
|
21
|
-
scope?: string;
|
|
22
|
-
additionalData?: string;
|
|
23
|
-
user: User;
|
|
24
|
-
}
|
|
@@ -1,81 +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.Oauth = exports.OAuthServiceType = exports.OAuthProvider = 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
|
-
var OAuthProvider;
|
|
17
|
-
(function (OAuthProvider) {
|
|
18
|
-
OAuthProvider["Google"] = "google";
|
|
19
|
-
OAuthProvider["Microsoft"] = "microsoft";
|
|
20
|
-
OAuthProvider["Apple"] = "apple";
|
|
21
|
-
})(OAuthProvider || (exports.OAuthProvider = OAuthProvider = {}));
|
|
22
|
-
var OAuthServiceType;
|
|
23
|
-
(function (OAuthServiceType) {
|
|
24
|
-
OAuthServiceType["Profile"] = "profile";
|
|
25
|
-
OAuthServiceType["EmailAddress"] = "email";
|
|
26
|
-
OAuthServiceType["Calendar"] = "calendar";
|
|
27
|
-
OAuthServiceType["Mail"] = "mail";
|
|
28
|
-
})(OAuthServiceType || (exports.OAuthServiceType = OAuthServiceType = {}));
|
|
29
|
-
let Oauth = class Oauth extends base_entity_1.BaseEntityOnlyEssential {
|
|
30
|
-
email;
|
|
31
|
-
provider;
|
|
32
|
-
service;
|
|
33
|
-
refreshToken;
|
|
34
|
-
accessToken;
|
|
35
|
-
expiresIn;
|
|
36
|
-
scope;
|
|
37
|
-
additionalData;
|
|
38
|
-
user;
|
|
39
|
-
};
|
|
40
|
-
exports.Oauth = Oauth;
|
|
41
|
-
__decorate([
|
|
42
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
43
|
-
__metadata("design:type", String)
|
|
44
|
-
], Oauth.prototype, "email", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
(0, typeorm_1.Column)({ type: 'enum', enum: OAuthProvider }),
|
|
47
|
-
__metadata("design:type", String)
|
|
48
|
-
], Oauth.prototype, "provider", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
(0, typeorm_1.Column)({ type: 'enum', enum: OAuthServiceType }),
|
|
51
|
-
__metadata("design:type", String)
|
|
52
|
-
], Oauth.prototype, "service", void 0);
|
|
53
|
-
__decorate([
|
|
54
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
55
|
-
__metadata("design:type", String)
|
|
56
|
-
], Oauth.prototype, "refreshToken", void 0);
|
|
57
|
-
__decorate([
|
|
58
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
59
|
-
__metadata("design:type", String)
|
|
60
|
-
], Oauth.prototype, "accessToken", void 0);
|
|
61
|
-
__decorate([
|
|
62
|
-
(0, typeorm_1.Column)({ type: 'bigint', nullable: true }),
|
|
63
|
-
__metadata("design:type", Number)
|
|
64
|
-
], Oauth.prototype, "expiresIn", void 0);
|
|
65
|
-
__decorate([
|
|
66
|
-
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
67
|
-
__metadata("design:type", String)
|
|
68
|
-
], Oauth.prototype, "scope", void 0);
|
|
69
|
-
__decorate([
|
|
70
|
-
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
71
|
-
__metadata("design:type", String)
|
|
72
|
-
], Oauth.prototype, "additionalData", void 0);
|
|
73
|
-
__decorate([
|
|
74
|
-
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, { nullable: false, onDelete: 'CASCADE' }),
|
|
75
|
-
__metadata("design:type", user_entity_1.User)
|
|
76
|
-
], Oauth.prototype, "user", void 0);
|
|
77
|
-
exports.Oauth = Oauth = __decorate([
|
|
78
|
-
(0, typeorm_1.Entity)(),
|
|
79
|
-
(0, typeorm_1.Unique)(['user', 'email', 'service', 'provider'])
|
|
80
|
-
], Oauth);
|
|
81
|
-
//# sourceMappingURL=oauth.entity.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AE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wCACzB;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oCAC1B;AAGf;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACjB;AAGxB;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BAC1D,kBAAI;mCAAC;gBA1BA,KAAK;IAFjB,IAAA,gBAAM,GAAE;IACR,IAAA,gBAAM,EAAC,CAAC,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,CAAC,CAAC;GACpC,KAAK,CA2BjB"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { CommentBase } from '../../../common';
|
|
2
|
-
import { AttachedObjectInterface } from '../../drive';
|
|
3
|
-
import { EventCalendar } from './event.entity';
|
|
4
|
-
export declare class CalendarEventComment extends CommentBase {
|
|
5
|
-
isSummary: boolean;
|
|
6
|
-
event: EventCalendar;
|
|
7
|
-
attachedObjects?: AttachedObjectInterface[];
|
|
8
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.CalendarEventComment = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
15
|
-
const common_1 = require("../../../common");
|
|
16
|
-
const event_entity_1 = require("./event.entity");
|
|
17
|
-
let CalendarEventComment = class CalendarEventComment extends common_1.CommentBase {
|
|
18
|
-
isSummary;
|
|
19
|
-
event;
|
|
20
|
-
attachedObjects;
|
|
21
|
-
};
|
|
22
|
-
exports.CalendarEventComment = CalendarEventComment;
|
|
23
|
-
__decorate([
|
|
24
|
-
(0, swagger_1.ApiProperty)({ type: Boolean, description: 'Is this comment a summary?', default: false }),
|
|
25
|
-
(0, typeorm_1.Column)({ default: false }),
|
|
26
|
-
__metadata("design:type", Boolean)
|
|
27
|
-
], CalendarEventComment.prototype, "isSummary", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, swagger_1.ApiProperty)({ type: () => event_entity_1.EventCalendar, description: 'Event associated with the comment' }),
|
|
30
|
-
(0, typeorm_1.ManyToOne)(() => event_entity_1.EventCalendar, {
|
|
31
|
-
onDelete: 'CASCADE',
|
|
32
|
-
onUpdate: 'CASCADE',
|
|
33
|
-
}),
|
|
34
|
-
__metadata("design:type", event_entity_1.EventCalendar)
|
|
35
|
-
], CalendarEventComment.prototype, "event", void 0);
|
|
36
|
-
exports.CalendarEventComment = CalendarEventComment = __decorate([
|
|
37
|
-
(0, typeorm_1.Entity)()
|
|
38
|
-
], CalendarEventComment);
|
|
39
|
-
//# sourceMappingURL=calendar-event-comment.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"calendar-event-comment.entity.js","sourceRoot":"","sources":["../../../../src/entities/tools/calendar/calendar-event-comment.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAoD;AACpD,6CAA8C;AAC9C,4CAA8C;AAE9C,iDAA+C;AAGxC,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,oBAAW;IAGnD,SAAS,CAAU;IAOnB,KAAK,CAAgB;IAErB,eAAe,CAA6B;CAC7C,CAAA;AAbY,oDAAoB;AAG/B;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,4BAA4B,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;IACzF,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;uDACR;AAOnB;IALC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,4BAAa,EAAE,WAAW,EAAE,mCAAmC,EAAE,CAAC;IAC5F,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,4BAAa,EAAE;QAC9B,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;8BACK,4BAAa;mDAAC;+BAVV,oBAAoB;IADhC,IAAA,gBAAM,GAAE;GACI,oBAAoB,CAahC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { BaseEntityOnlyEssential } from '../../../common/database/base.entity';
|
|
2
|
-
import { User } from '../../user.entity';
|
|
3
|
-
import { EventCalendar } from './event.entity';
|
|
4
|
-
export declare enum CalendarEventInvitationStatus {
|
|
5
|
-
ACCEPTED = "accepted",
|
|
6
|
-
REJECTED = "rejected",
|
|
7
|
-
PENDING = "pending"
|
|
8
|
-
}
|
|
9
|
-
export declare class CalendarEventInvitations extends BaseEntityOnlyEssential {
|
|
10
|
-
status: CalendarEventInvitationStatus;
|
|
11
|
-
event: EventCalendar;
|
|
12
|
-
invitedUser: User;
|
|
13
|
-
}
|
|
@@ -1,48 +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.CalendarEventInvitations = exports.CalendarEventInvitationStatus = 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 user_entity_1 = require("../../user.entity");
|
|
17
|
-
const event_entity_1 = require("./event.entity");
|
|
18
|
-
var CalendarEventInvitationStatus;
|
|
19
|
-
(function (CalendarEventInvitationStatus) {
|
|
20
|
-
CalendarEventInvitationStatus["ACCEPTED"] = "accepted";
|
|
21
|
-
CalendarEventInvitationStatus["REJECTED"] = "rejected";
|
|
22
|
-
CalendarEventInvitationStatus["PENDING"] = "pending";
|
|
23
|
-
})(CalendarEventInvitationStatus || (exports.CalendarEventInvitationStatus = CalendarEventInvitationStatus = {}));
|
|
24
|
-
let CalendarEventInvitations = class CalendarEventInvitations extends base_entity_1.BaseEntityOnlyEssential {
|
|
25
|
-
status;
|
|
26
|
-
event;
|
|
27
|
-
invitedUser;
|
|
28
|
-
};
|
|
29
|
-
exports.CalendarEventInvitations = CalendarEventInvitations;
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, swagger_1.ApiProperty)({ description: 'Invitation status', required: true }),
|
|
32
|
-
(0, typeorm_1.Column)({ type: 'enum', enum: CalendarEventInvitationStatus, default: CalendarEventInvitationStatus.PENDING }),
|
|
33
|
-
__metadata("design:type", String)
|
|
34
|
-
], CalendarEventInvitations.prototype, "status", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, swagger_1.ApiProperty)({ description: 'Event invited to', required: true }),
|
|
37
|
-
(0, typeorm_1.ManyToOne)(() => event_entity_1.EventCalendar, { onDelete: 'CASCADE' }),
|
|
38
|
-
__metadata("design:type", event_entity_1.EventCalendar)
|
|
39
|
-
], CalendarEventInvitations.prototype, "event", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, swagger_1.ApiProperty)({ description: 'Invited user', required: true }),
|
|
42
|
-
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, { onDelete: 'CASCADE' }),
|
|
43
|
-
__metadata("design:type", user_entity_1.User)
|
|
44
|
-
], CalendarEventInvitations.prototype, "invitedUser", void 0);
|
|
45
|
-
exports.CalendarEventInvitations = CalendarEventInvitations = __decorate([
|
|
46
|
-
(0, typeorm_1.Entity)()
|
|
47
|
-
], CalendarEventInvitations);
|
|
48
|
-
//# sourceMappingURL=calendar-event-invitations.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"calendar-event-invitations.entity.js","sourceRoot":"","sources":["../../../../src/entities/tools/calendar/calendar-event-invitations.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAoD;AACpD,6CAA8C;AAE9C,sEAA+E;AAC/E,mDAAyC;AACzC,iDAA+C;AAE/C,IAAY,6BAIX;AAJD,WAAY,6BAA6B;IACvC,sDAAqB,CAAA;IACrB,sDAAqB,CAAA;IACrB,oDAAmB,CAAA;AACrB,CAAC,EAJW,6BAA6B,6CAA7B,6BAA6B,QAIxC;AAGM,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,qCAAuB;IAGnE,MAAM,CAAgC;IAItC,KAAK,CAAgB;IAIrB,WAAW,CAAO;CACnB,CAAA;AAZY,4DAAwB;AAGnC;IAFC,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,mBAAmB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACjE,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,6BAA6B,EAAE,OAAO,EAAE,6BAA6B,CAAC,OAAO,EAAE,CAAC;;wDACxE;AAItC;IAFC,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,kBAAkB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAChE,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,4BAAa,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BACjD,4BAAa;uDAAC;AAIrB;IAFC,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,cAAc,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC5D,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BAClC,kBAAI;6DAAC;mCAXP,wBAAwB;IADpC,IAAA,gBAAM,GAAE;GACI,wBAAwB,CAYpC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { BaseEntityOnlyEssential } from '../../../common/database/base.entity';
|
|
2
|
-
import { User } from '../../user.entity';
|
|
3
|
-
export declare class CalendarGeneralConfig extends BaseEntityOnlyEssential {
|
|
4
|
-
timeZone: string;
|
|
5
|
-
calendarIdForInvitation?: string;
|
|
6
|
-
calendarIdForCRM?: string;
|
|
7
|
-
showRejectedEvents: boolean;
|
|
8
|
-
showTasks: boolean;
|
|
9
|
-
synchronizeTasks: boolean;
|
|
10
|
-
doNotInviteIfTimeIsAssigned: boolean;
|
|
11
|
-
showWeekNumber: boolean;
|
|
12
|
-
sendInvitationsByEmail: boolean;
|
|
13
|
-
invitationsByEmailFrom?: string;
|
|
14
|
-
workTimeStart?: string;
|
|
15
|
-
workTimeEnd?: string;
|
|
16
|
-
weekends?: string;
|
|
17
|
-
holidays?: string;
|
|
18
|
-
workingDays?: string;
|
|
19
|
-
user: User;
|
|
20
|
-
}
|
|
@@ -1,118 +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.CalendarGeneralConfig = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const base_entity_1 = require("../../../common/database/base.entity");
|
|
15
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
16
|
-
const user_entity_1 = require("../../user.entity");
|
|
17
|
-
let CalendarGeneralConfig = class CalendarGeneralConfig extends base_entity_1.BaseEntityOnlyEssential {
|
|
18
|
-
timeZone;
|
|
19
|
-
calendarIdForInvitation;
|
|
20
|
-
calendarIdForCRM;
|
|
21
|
-
showRejectedEvents;
|
|
22
|
-
showTasks;
|
|
23
|
-
synchronizeTasks;
|
|
24
|
-
doNotInviteIfTimeIsAssigned;
|
|
25
|
-
showWeekNumber;
|
|
26
|
-
sendInvitationsByEmail;
|
|
27
|
-
invitationsByEmailFrom;
|
|
28
|
-
workTimeStart;
|
|
29
|
-
workTimeEnd;
|
|
30
|
-
weekends;
|
|
31
|
-
holidays;
|
|
32
|
-
workingDays;
|
|
33
|
-
user;
|
|
34
|
-
};
|
|
35
|
-
exports.CalendarGeneralConfig = CalendarGeneralConfig;
|
|
36
|
-
__decorate([
|
|
37
|
-
(0, swagger_1.ApiProperty)({ description: 'General timezone', required: true }),
|
|
38
|
-
(0, typeorm_1.Column)(),
|
|
39
|
-
__metadata("design:type", String)
|
|
40
|
-
], CalendarGeneralConfig.prototype, "timeZone", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
(0, swagger_1.ApiProperty)({ description: 'Selected calendar to send invitations', required: false }),
|
|
43
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
44
|
-
__metadata("design:type", String)
|
|
45
|
-
], CalendarGeneralConfig.prototype, "calendarIdForInvitation", void 0);
|
|
46
|
-
__decorate([
|
|
47
|
-
(0, swagger_1.ApiProperty)({ description: 'Selected calendar to set CRM integrations', required: false }),
|
|
48
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
49
|
-
__metadata("design:type", String)
|
|
50
|
-
], CalendarGeneralConfig.prototype, "calendarIdForCRM", void 0);
|
|
51
|
-
__decorate([
|
|
52
|
-
(0, swagger_1.ApiProperty)({ description: 'Show rejected events', required: true, default: false }),
|
|
53
|
-
(0, typeorm_1.Column)({ default: false }),
|
|
54
|
-
__metadata("design:type", Boolean)
|
|
55
|
-
], CalendarGeneralConfig.prototype, "showRejectedEvents", void 0);
|
|
56
|
-
__decorate([
|
|
57
|
-
(0, swagger_1.ApiProperty)({ description: 'Show tasks', required: true, default: false }),
|
|
58
|
-
(0, typeorm_1.Column)({ default: false }),
|
|
59
|
-
__metadata("design:type", Boolean)
|
|
60
|
-
], CalendarGeneralConfig.prototype, "showTasks", void 0);
|
|
61
|
-
__decorate([
|
|
62
|
-
(0, swagger_1.ApiProperty)({ description: 'Synchronize calendar with tasks', required: true, default: false }),
|
|
63
|
-
(0, typeorm_1.Column)({ default: false }),
|
|
64
|
-
__metadata("design:type", Boolean)
|
|
65
|
-
], CalendarGeneralConfig.prototype, "synchronizeTasks", void 0);
|
|
66
|
-
__decorate([
|
|
67
|
-
(0, swagger_1.ApiProperty)({ description: "Don't send invitations if time is assigned", required: true, default: false }),
|
|
68
|
-
(0, typeorm_1.Column)({ default: false }),
|
|
69
|
-
__metadata("design:type", Boolean)
|
|
70
|
-
], CalendarGeneralConfig.prototype, "doNotInviteIfTimeIsAssigned", void 0);
|
|
71
|
-
__decorate([
|
|
72
|
-
(0, swagger_1.ApiProperty)({ description: 'Show week number', required: true, default: false }),
|
|
73
|
-
(0, typeorm_1.Column)({ default: false }),
|
|
74
|
-
__metadata("design:type", Boolean)
|
|
75
|
-
], CalendarGeneralConfig.prototype, "showWeekNumber", void 0);
|
|
76
|
-
__decorate([
|
|
77
|
-
(0, swagger_1.ApiProperty)({ description: 'Send invitations by email', required: true, default: false }),
|
|
78
|
-
(0, typeorm_1.Column)({ default: false }),
|
|
79
|
-
__metadata("design:type", Boolean)
|
|
80
|
-
], CalendarGeneralConfig.prototype, "sendInvitationsByEmail", void 0);
|
|
81
|
-
__decorate([
|
|
82
|
-
(0, swagger_1.ApiProperty)({ description: 'Email address from invitation will be sent', required: false }),
|
|
83
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
84
|
-
__metadata("design:type", String)
|
|
85
|
-
], CalendarGeneralConfig.prototype, "invitationsByEmailFrom", void 0);
|
|
86
|
-
__decorate([
|
|
87
|
-
(0, swagger_1.ApiProperty)({ description: 'Work starts at', required: false }),
|
|
88
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
89
|
-
__metadata("design:type", String)
|
|
90
|
-
], CalendarGeneralConfig.prototype, "workTimeStart", void 0);
|
|
91
|
-
__decorate([
|
|
92
|
-
(0, swagger_1.ApiProperty)({ description: 'Work ends at', required: false }),
|
|
93
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
94
|
-
__metadata("design:type", String)
|
|
95
|
-
], CalendarGeneralConfig.prototype, "workTimeEnd", void 0);
|
|
96
|
-
__decorate([
|
|
97
|
-
(0, swagger_1.ApiProperty)({ description: 'Weekends days', required: true }),
|
|
98
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
99
|
-
__metadata("design:type", String)
|
|
100
|
-
], CalendarGeneralConfig.prototype, "weekends", void 0);
|
|
101
|
-
__decorate([
|
|
102
|
-
(0, swagger_1.ApiProperty)({ description: 'Holiday days', required: false }),
|
|
103
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
104
|
-
__metadata("design:type", String)
|
|
105
|
-
], CalendarGeneralConfig.prototype, "holidays", void 0);
|
|
106
|
-
__decorate([
|
|
107
|
-
(0, swagger_1.ApiProperty)({ description: 'Working days', required: false }),
|
|
108
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
109
|
-
__metadata("design:type", String)
|
|
110
|
-
], CalendarGeneralConfig.prototype, "workingDays", void 0);
|
|
111
|
-
__decorate([
|
|
112
|
-
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, { nullable: false, onDelete: 'CASCADE' }),
|
|
113
|
-
__metadata("design:type", user_entity_1.User)
|
|
114
|
-
], CalendarGeneralConfig.prototype, "user", void 0);
|
|
115
|
-
exports.CalendarGeneralConfig = CalendarGeneralConfig = __decorate([
|
|
116
|
-
(0, typeorm_1.Entity)()
|
|
117
|
-
], CalendarGeneralConfig);
|
|
118
|
-
//# sourceMappingURL=calendar-general-config.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"calendar-general-config.entity.js","sourceRoot":"","sources":["../../../../src/entities/tools/calendar/calendar-general-config.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAoD;AAEpD,sEAA+E;AAC/E,6CAA8C;AAC9C,mDAAyC;AAGlC,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,qCAAuB;IAGhE,QAAQ,CAAS;IAIjB,uBAAuB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AE,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7D,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACT;AAIlB;IAFC,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,cAAc,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC7D,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACT;AAIlB;IAFC,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,cAAc,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC7D,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0DACN;AAGrB;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BAC1D,kBAAI;mDAAC;gCA/DA,qBAAqB;IADjC,IAAA,gBAAM,GAAE;GACI,qBAAqB,CAgEjC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { BaseEntityOnlyEssential } from '../../../common/database/base.entity';
|
|
2
|
-
import { Oauth } from '../../thirdparty/oauth.entity';
|
|
3
|
-
import { User } from '../../user.entity';
|
|
4
|
-
import { CalendarSubItem } from './calendar-sub-item.entity';
|
|
5
|
-
export declare enum CalendarProvider {
|
|
6
|
-
GOOGLE = "google",
|
|
7
|
-
ICLOUD = "icloud",
|
|
8
|
-
MICROSOFT = "microsoft"
|
|
9
|
-
}
|
|
10
|
-
export declare class CalendarItem extends BaseEntityOnlyEssential {
|
|
11
|
-
name?: string;
|
|
12
|
-
email: string;
|
|
13
|
-
provider: CalendarProvider;
|
|
14
|
-
subCalendars: CalendarSubItem[];
|
|
15
|
-
oauth: Oauth;
|
|
16
|
-
user: User;
|
|
17
|
-
}
|