@servicelabsco/slabs-access-manager 0.1.96 → 0.1.97
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/dist/access/dtos/email.notification.payload.dto.d.ts +19 -0
- package/dist/access/dtos/email.notification.payload.dto.js +7 -0
- package/dist/access/dtos/email.notification.payload.dto.js.map +1 -0
- package/dist/access/dtos/gchat.message.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/gchat.message.attributes.dto.js +8 -0
- package/dist/access/dtos/gchat.message.attributes.dto.js.map +1 -0
- package/dist/access/dtos/gchat.posting.payload.dto.d.ts +4 -0
- package/dist/access/dtos/gchat.posting.payload.dto.js +7 -0
- package/dist/access/dtos/gchat.posting.payload.dto.js.map +1 -0
- package/dist/access/dtos/gchat.template.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/gchat.template.attributes.dto.js +8 -0
- package/dist/access/dtos/gchat.template.attributes.dto.js.map +1 -0
- package/dist/access/dtos/gchat.user.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/gchat.user.attributes.dto.js +8 -0
- package/dist/access/dtos/gchat.user.attributes.dto.js.map +1 -0
- package/dist/access/dtos/gchat.webhook.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/gchat.webhook.attributes.dto.js +8 -0
- package/dist/access/dtos/gchat.webhook.attributes.dto.js.map +1 -0
- package/dist/access/dtos/gchat.webhook.message.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/gchat.webhook.message.attributes.dto.js +8 -0
- package/dist/access/dtos/gchat.webhook.message.attributes.dto.js.map +1 -0
- package/dist/access/dtos/index.d.ts +19 -0
- package/dist/access/dtos/index.js +19 -0
- package/dist/access/dtos/index.js.map +1 -1
- package/dist/access/dtos/notification.payload.dto.d.ts +10 -0
- package/dist/access/dtos/notification.payload.dto.js +7 -0
- package/dist/access/dtos/notification.payload.dto.js.map +1 -0
- package/dist/access/dtos/send.email.notification.data.dto.d.ts +10 -0
- package/dist/access/dtos/send.email.notification.data.dto.js +7 -0
- package/dist/access/dtos/send.email.notification.data.dto.js.map +1 -0
- package/dist/access/dtos/slack.integration.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/slack.integration.attributes.dto.js +8 -0
- package/dist/access/dtos/slack.integration.attributes.dto.js.map +1 -0
- package/dist/access/dtos/slack.message.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/slack.message.attributes.dto.js +8 -0
- package/dist/access/dtos/slack.message.attributes.dto.js.map +1 -0
- package/dist/access/dtos/slack.posting.payload.dto.d.ts +5 -0
- package/dist/access/dtos/slack.posting.payload.dto.js +7 -0
- package/dist/access/dtos/slack.posting.payload.dto.js.map +1 -0
- package/dist/access/dtos/slack.template.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/slack.template.attributes.dto.js +8 -0
- package/dist/access/dtos/slack.template.attributes.dto.js.map +1 -0
- package/dist/access/dtos/slack.user.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/slack.user.attributes.dto.js +8 -0
- package/dist/access/dtos/slack.user.attributes.dto.js.map +1 -0
- package/dist/access/dtos/slack.webhook.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/slack.webhook.attributes.dto.js +8 -0
- package/dist/access/dtos/slack.webhook.attributes.dto.js.map +1 -0
- package/dist/access/dtos/slack.webhook.message.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/slack.webhook.message.attributes.dto.js +8 -0
- package/dist/access/dtos/slack.webhook.message.attributes.dto.js.map +1 -0
- package/dist/access/dtos/whatsapp.message.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/whatsapp.message.attributes.dto.js +8 -0
- package/dist/access/dtos/whatsapp.message.attributes.dto.js.map +1 -0
- package/dist/access/dtos/whatsapp.posting.payload.dto.d.ts +5 -0
- package/dist/access/dtos/whatsapp.posting.payload.dto.js +7 -0
- package/dist/access/dtos/whatsapp.posting.payload.dto.js.map +1 -0
- package/dist/access/dtos/whatsapp.template.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/whatsapp.template.attributes.dto.js +8 -0
- package/dist/access/dtos/whatsapp.template.attributes.dto.js.map +1 -0
- package/dist/access/entities/gchat.message.entity.d.ts +20 -0
- package/dist/access/entities/gchat.message.entity.js +84 -0
- package/dist/access/entities/gchat.message.entity.js.map +1 -0
- package/dist/access/entities/gchat.template.entity.d.ts +10 -0
- package/dist/access/entities/gchat.template.entity.js +46 -0
- package/dist/access/entities/gchat.template.entity.js.map +1 -0
- package/dist/access/entities/gchat.user.entity.d.ts +15 -0
- package/dist/access/entities/gchat.user.entity.js +63 -0
- package/dist/access/entities/gchat.user.entity.js.map +1 -0
- package/dist/access/entities/gchat.webhook.entity.d.ts +20 -0
- package/dist/access/entities/gchat.webhook.entity.js +78 -0
- package/dist/access/entities/gchat.webhook.entity.js.map +1 -0
- package/dist/access/entities/gchat.webhook.message.entity.d.ts +15 -0
- package/dist/access/entities/gchat.webhook.message.entity.js +62 -0
- package/dist/access/entities/gchat.webhook.message.entity.js.map +1 -0
- package/dist/access/entities/index.d.ts +14 -0
- package/dist/access/entities/index.js +14 -0
- package/dist/access/entities/index.js.map +1 -1
- package/dist/access/entities/slack.integration.entity.d.ts +11 -0
- package/dist/access/entities/slack.integration.entity.js +48 -0
- package/dist/access/entities/slack.integration.entity.js.map +1 -0
- package/dist/access/entities/slack.message.entity.d.ts +22 -0
- package/dist/access/entities/slack.message.entity.js +93 -0
- package/dist/access/entities/slack.message.entity.js.map +1 -0
- package/dist/access/entities/slack.template.entity.d.ts +10 -0
- package/dist/access/entities/slack.template.entity.js +46 -0
- package/dist/access/entities/slack.template.entity.js.map +1 -0
- package/dist/access/entities/slack.user.entity.d.ts +15 -0
- package/dist/access/entities/slack.user.entity.js +62 -0
- package/dist/access/entities/slack.user.entity.js.map +1 -0
- package/dist/access/entities/slack.webhook.entity.d.ts +20 -0
- package/dist/access/entities/slack.webhook.entity.js +78 -0
- package/dist/access/entities/slack.webhook.entity.js.map +1 -0
- package/dist/access/entities/slack.webhook.message.entity.d.ts +15 -0
- package/dist/access/entities/slack.webhook.message.entity.js +62 -0
- package/dist/access/entities/slack.webhook.message.entity.js.map +1 -0
- package/dist/access/entities/whatsapp.message.entity.d.ts +20 -0
- package/dist/access/entities/whatsapp.message.entity.js +84 -0
- package/dist/access/entities/whatsapp.message.entity.js.map +1 -0
- package/dist/access/entities/whatsapp.preference.entity.d.ts +10 -0
- package/dist/access/entities/whatsapp.preference.entity.js +48 -0
- package/dist/access/entities/whatsapp.preference.entity.js.map +1 -0
- package/dist/access/entities/whatsapp.template.entity.d.ts +10 -0
- package/dist/access/entities/whatsapp.template.entity.js +46 -0
- package/dist/access/entities/whatsapp.template.entity.js.map +1 -0
- package/dist/access/enums/index.d.ts +1 -0
- package/dist/access/enums/index.js +1 -0
- package/dist/access/enums/index.js.map +1 -1
- package/dist/access/enums/notification.type.enum.d.ts +5 -0
- package/dist/access/enums/notification.type.enum.js +10 -0
- package/dist/access/enums/notification.type.enum.js.map +1 -0
- package/dist/access/es6.classes.d.ts +64 -8
- package/dist/access/es6.classes.js +152 -1
- package/dist/access/es6.classes.js.map +1 -1
- package/dist/access/jobs/gchat.incoming.webhook.job.d.ts +9 -0
- package/dist/access/jobs/gchat.incoming.webhook.job.js +70 -0
- package/dist/access/jobs/gchat.incoming.webhook.job.js.map +1 -0
- package/dist/access/jobs/gchat.message.job.d.ts +7 -0
- package/dist/access/jobs/gchat.message.job.js +29 -0
- package/dist/access/jobs/gchat.message.job.js.map +1 -0
- package/dist/access/jobs/gchat.template.job.d.ts +7 -0
- package/dist/access/jobs/gchat.template.job.js +29 -0
- package/dist/access/jobs/gchat.template.job.js.map +1 -0
- package/dist/access/jobs/gchat.user.job.d.ts +7 -0
- package/dist/access/jobs/gchat.user.job.js +29 -0
- package/dist/access/jobs/gchat.user.job.js.map +1 -0
- package/dist/access/jobs/gchat.webhook.job.d.ts +7 -0
- package/dist/access/jobs/gchat.webhook.job.js +29 -0
- package/dist/access/jobs/gchat.webhook.job.js.map +1 -0
- package/dist/access/jobs/gchat.webhook.message.job.d.ts +7 -0
- package/dist/access/jobs/gchat.webhook.message.job.js +29 -0
- package/dist/access/jobs/gchat.webhook.message.job.js.map +1 -0
- package/dist/access/jobs/index.d.ts +16 -0
- package/dist/access/jobs/index.js +16 -0
- package/dist/access/jobs/index.js.map +1 -1
- package/dist/access/jobs/slack.incoming.webhook.job.d.ts +10 -0
- package/dist/access/jobs/slack.incoming.webhook.job.js +76 -0
- package/dist/access/jobs/slack.incoming.webhook.job.js.map +1 -0
- package/dist/access/jobs/slack.integration.job.d.ts +7 -0
- package/dist/access/jobs/slack.integration.job.js +29 -0
- package/dist/access/jobs/slack.integration.job.js.map +1 -0
- package/dist/access/jobs/slack.message.job.d.ts +7 -0
- package/dist/access/jobs/slack.message.job.js +29 -0
- package/dist/access/jobs/slack.message.job.js.map +1 -0
- package/dist/access/jobs/slack.template.job.d.ts +7 -0
- package/dist/access/jobs/slack.template.job.js +29 -0
- package/dist/access/jobs/slack.template.job.js.map +1 -0
- package/dist/access/jobs/slack.user.job.d.ts +7 -0
- package/dist/access/jobs/slack.user.job.js +29 -0
- package/dist/access/jobs/slack.user.job.js.map +1 -0
- package/dist/access/jobs/slack.webhook.job.d.ts +7 -0
- package/dist/access/jobs/slack.webhook.job.js +29 -0
- package/dist/access/jobs/slack.webhook.job.js.map +1 -0
- package/dist/access/jobs/slack.webhook.message.job.d.ts +7 -0
- package/dist/access/jobs/slack.webhook.message.job.js +29 -0
- package/dist/access/jobs/slack.webhook.message.job.js.map +1 -0
- package/dist/access/jobs/whatsapp.incoming.webhook.job.d.ts +10 -0
- package/dist/access/jobs/whatsapp.incoming.webhook.job.js +66 -0
- package/dist/access/jobs/whatsapp.incoming.webhook.job.js.map +1 -0
- package/dist/access/jobs/whatsapp.message.job.d.ts +7 -0
- package/dist/access/jobs/whatsapp.message.job.js +29 -0
- package/dist/access/jobs/whatsapp.message.job.js.map +1 -0
- package/dist/access/jobs/whatsapp.template.job.d.ts +7 -0
- package/dist/access/jobs/whatsapp.template.job.js +29 -0
- package/dist/access/jobs/whatsapp.template.job.js.map +1 -0
- package/dist/access/libraries/index.d.ts +8 -0
- package/dist/access/libraries/index.js +8 -0
- package/dist/access/libraries/index.js.map +1 -1
- package/dist/access/libraries/process.email.notification.d.ts +19 -0
- package/dist/access/libraries/process.email.notification.js +102 -0
- package/dist/access/libraries/process.email.notification.js.map +1 -0
- package/dist/access/libraries/process.notification.d.ts +15 -0
- package/dist/access/libraries/process.notification.js +67 -0
- package/dist/access/libraries/process.notification.js.map +1 -0
- package/dist/access/libraries/send.email.notification.d.ts +12 -0
- package/dist/access/libraries/send.email.notification.js +31 -0
- package/dist/access/libraries/send.email.notification.js.map +1 -0
- package/dist/access/libraries/send.gchat.message.notification.d.ts +14 -0
- package/dist/access/libraries/send.gchat.message.notification.js +66 -0
- package/dist/access/libraries/send.gchat.message.notification.js.map +1 -0
- package/dist/access/libraries/send.gchat.webhook.notification.d.ts +15 -0
- package/dist/access/libraries/send.gchat.webhook.notification.js +54 -0
- package/dist/access/libraries/send.gchat.webhook.notification.js.map +1 -0
- package/dist/access/libraries/send.slack.message.notification.d.ts +18 -0
- package/dist/access/libraries/send.slack.message.notification.js +68 -0
- package/dist/access/libraries/send.slack.message.notification.js.map +1 -0
- package/dist/access/libraries/send.slack.webhook.notification..d.ts +17 -0
- package/dist/access/libraries/send.slack.webhook.notification..js +59 -0
- package/dist/access/libraries/send.slack.webhook.notification..js.map +1 -0
- package/dist/access/libraries/send.whatsapp.message.notification.d.ts +20 -0
- package/dist/access/libraries/send.whatsapp.message.notification.js +89 -0
- package/dist/access/libraries/send.whatsapp.message.notification.js.map +1 -0
- package/dist/access/services/es6.jobs.service.d.ts +33 -1
- package/dist/access/services/es6.jobs.service.js +66 -2
- package/dist/access/services/es6.jobs.service.js.map +1 -1
- package/dist/access/services/gchat.service.d.ts +14 -0
- package/dist/access/services/gchat.service.js +65 -0
- package/dist/access/services/gchat.service.js.map +1 -0
- package/dist/access/services/index.d.ts +5 -0
- package/dist/access/services/index.js +5 -0
- package/dist/access/services/index.js.map +1 -1
- package/dist/access/services/notification.service.d.ts +30 -0
- package/dist/access/services/notification.service.js +92 -0
- package/dist/access/services/notification.service.js.map +1 -0
- package/dist/access/services/send.email.service.d.ts +10 -0
- package/dist/access/services/send.email.service.js +41 -0
- package/dist/access/services/send.email.service.js.map +1 -0
- package/dist/access/services/slack.service.d.ts +14 -0
- package/dist/access/services/slack.service.js +96 -0
- package/dist/access/services/slack.service.js.map +1 -0
- package/dist/access/services/whatsapp.service.d.ts +11 -0
- package/dist/access/services/whatsapp.service.js +59 -0
- package/dist/access/services/whatsapp.service.js.map +1 -0
- package/dist/access/subscribers/gchat.message.subscriber.d.ts +12 -0
- package/dist/access/subscribers/gchat.message.subscriber.js +40 -0
- package/dist/access/subscribers/gchat.message.subscriber.js.map +1 -0
- package/dist/access/subscribers/gchat.template.subscriber.d.ts +12 -0
- package/dist/access/subscribers/gchat.template.subscriber.js +40 -0
- package/dist/access/subscribers/gchat.template.subscriber.js.map +1 -0
- package/dist/access/subscribers/gchat.user.subscriber.d.ts +12 -0
- package/dist/access/subscribers/gchat.user.subscriber.js +40 -0
- package/dist/access/subscribers/gchat.user.subscriber.js.map +1 -0
- package/dist/access/subscribers/gchat.webhook.message.subscriber.d.ts +12 -0
- package/dist/access/subscribers/gchat.webhook.message.subscriber.js +40 -0
- package/dist/access/subscribers/gchat.webhook.message.subscriber.js.map +1 -0
- package/dist/access/subscribers/gchat.webhook.subscriber.d.ts +12 -0
- package/dist/access/subscribers/gchat.webhook.subscriber.js +40 -0
- package/dist/access/subscribers/gchat.webhook.subscriber.js.map +1 -0
- package/dist/access/subscribers/index.d.ts +13 -0
- package/dist/access/subscribers/index.js +13 -0
- package/dist/access/subscribers/index.js.map +1 -1
- package/dist/access/subscribers/slack.integration.subscriber.d.ts +12 -0
- package/dist/access/subscribers/slack.integration.subscriber.js +40 -0
- package/dist/access/subscribers/slack.integration.subscriber.js.map +1 -0
- package/dist/access/subscribers/slack.message.subscriber.d.ts +12 -0
- package/dist/access/subscribers/slack.message.subscriber.js +40 -0
- package/dist/access/subscribers/slack.message.subscriber.js.map +1 -0
- package/dist/access/subscribers/slack.template.subscriber.d.ts +12 -0
- package/dist/access/subscribers/slack.template.subscriber.js +40 -0
- package/dist/access/subscribers/slack.template.subscriber.js.map +1 -0
- package/dist/access/subscribers/slack.user.subscriber.d.ts +12 -0
- package/dist/access/subscribers/slack.user.subscriber.js +40 -0
- package/dist/access/subscribers/slack.user.subscriber.js.map +1 -0
- package/dist/access/subscribers/slack.webhook.message.subscriber.d.ts +12 -0
- package/dist/access/subscribers/slack.webhook.message.subscriber.js +40 -0
- package/dist/access/subscribers/slack.webhook.message.subscriber.js.map +1 -0
- package/dist/access/subscribers/slack.webhook.subscriber.d.ts +12 -0
- package/dist/access/subscribers/slack.webhook.subscriber.js +40 -0
- package/dist/access/subscribers/slack.webhook.subscriber.js.map +1 -0
- package/dist/access/subscribers/whatsapp.message.subscriber.d.ts +12 -0
- package/dist/access/subscribers/whatsapp.message.subscriber.js +40 -0
- package/dist/access/subscribers/whatsapp.message.subscriber.js.map +1 -0
- package/dist/access/subscribers/whatsapp.template.subscriber.d.ts +12 -0
- package/dist/access/subscribers/whatsapp.template.subscriber.js +40 -0
- package/dist/access/subscribers/whatsapp.template.subscriber.js.map +1 -0
- package/dist/accessUtility/dtos/gchat.notification.attributes.dto.d.ts +3 -0
- package/dist/accessUtility/dtos/gchat.notification.attributes.dto.js +8 -0
- package/dist/accessUtility/dtos/gchat.notification.attributes.dto.js.map +1 -0
- package/dist/accessUtility/dtos/index.d.ts +3 -0
- package/dist/accessUtility/dtos/index.js +3 -0
- package/dist/accessUtility/dtos/index.js.map +1 -1
- package/dist/accessUtility/dtos/notification.attributes.dto.d.ts +6 -0
- package/dist/accessUtility/dtos/notification.attributes.dto.js.map +1 -1
- package/dist/accessUtility/dtos/slack.notification.attributes.dto.d.ts +3 -0
- package/dist/accessUtility/dtos/slack.notification.attributes.dto.js +8 -0
- package/dist/accessUtility/dtos/slack.notification.attributes.dto.js.map +1 -0
- package/dist/accessUtility/dtos/webhook.attributes.dto.d.ts +5 -0
- package/dist/accessUtility/dtos/webhook.attributes.dto.js +8 -0
- package/dist/accessUtility/dtos/webhook.attributes.dto.js.map +1 -0
- package/dist/accessUtility/entities/email.notification.entity.d.ts +1 -1
- package/dist/accessUtility/entities/email.notification.entity.js +1 -1
- package/dist/accessUtility/entities/email.notification.entity.js.map +1 -1
- package/dist/accessUtility/entities/gchat.notification.entity.d.ts +14 -0
- package/dist/accessUtility/entities/gchat.notification.entity.js +58 -0
- package/dist/accessUtility/entities/gchat.notification.entity.js.map +1 -0
- package/dist/accessUtility/entities/inapp.notification.entity.d.ts +1 -1
- package/dist/accessUtility/entities/inapp.notification.entity.js +1 -1
- package/dist/accessUtility/entities/inapp.notification.entity.js.map +1 -1
- package/dist/accessUtility/entities/index.d.ts +2 -0
- package/dist/accessUtility/entities/index.js +2 -0
- package/dist/accessUtility/entities/index.js.map +1 -1
- package/dist/accessUtility/entities/notification.entity.d.ts +12 -0
- package/dist/accessUtility/entities/notification.entity.js +30 -0
- package/dist/accessUtility/entities/notification.entity.js.map +1 -1
- package/dist/accessUtility/entities/slack.notification.entity.d.ts +14 -0
- package/dist/accessUtility/entities/slack.notification.entity.js +58 -0
- package/dist/accessUtility/entities/slack.notification.entity.js.map +1 -0
- package/dist/accessUtility/entities/sms.notification.entity.d.ts +1 -1
- package/dist/accessUtility/entities/sms.notification.entity.js +1 -1
- package/dist/accessUtility/entities/sms.notification.entity.js.map +1 -1
- package/dist/accessUtility/entities/whatsapp.notification.entity.d.ts +3 -2
- package/dist/accessUtility/entities/whatsapp.notification.entity.js +4 -3
- package/dist/accessUtility/entities/whatsapp.notification.entity.js.map +1 -1
- package/dist/accessUtility/es6.classes.d.ts +11 -5
- package/dist/accessUtility/es6.classes.js +18 -0
- package/dist/accessUtility/es6.classes.js.map +1 -1
- package/dist/accessUtility/jobs/gchat.notification.job.d.ts +7 -0
- package/dist/accessUtility/jobs/gchat.notification.job.js +29 -0
- package/dist/accessUtility/jobs/gchat.notification.job.js.map +1 -0
- package/dist/accessUtility/jobs/index.d.ts +2 -0
- package/dist/accessUtility/jobs/index.js +2 -0
- package/dist/accessUtility/jobs/index.js.map +1 -1
- package/dist/accessUtility/jobs/slack.notification.job.d.ts +7 -0
- package/dist/accessUtility/jobs/slack.notification.job.js +29 -0
- package/dist/accessUtility/jobs/slack.notification.job.js.map +1 -0
- package/dist/accessUtility/services/es6.jobs.service.d.ts +5 -1
- package/dist/accessUtility/services/es6.jobs.service.js +9 -1
- package/dist/accessUtility/services/es6.jobs.service.js.map +1 -1
- package/dist/accessUtility/subscribers/gchat.notification.subscriber.d.ts +12 -0
- package/dist/accessUtility/subscribers/gchat.notification.subscriber.js +40 -0
- package/dist/accessUtility/subscribers/gchat.notification.subscriber.js.map +1 -0
- package/dist/accessUtility/subscribers/index.d.ts +2 -0
- package/dist/accessUtility/subscribers/index.js +2 -0
- package/dist/accessUtility/subscribers/index.js.map +1 -1
- package/dist/accessUtility/subscribers/slack.notification.subscriber.d.ts +12 -0
- package/dist/accessUtility/subscribers/slack.notification.subscriber.js +40 -0
- package/dist/accessUtility/subscribers/slack.notification.subscriber.js.map +1 -0
- package/dist/app.controller.d.ts +3 -1
- package/dist/app.controller.js +30 -4
- package/dist/app.controller.js.map +1 -1
- package/dist/config/entity.constants.d.ts +32 -0
- package/dist/config/entity.constants.js +32 -0
- package/dist/config/entity.constants.js.map +1 -1
- package/dist/migrations/1715839779781-CreateSlackTemplateTable.d.ts +5 -0
- package/dist/migrations/1715839779781-CreateSlackTemplateTable.js +22 -0
- package/dist/migrations/1715839779781-CreateSlackTemplateTable.js.map +1 -0
- package/dist/migrations/1715840043954-CreateGchatTemplateTable.d.ts +5 -0
- package/dist/migrations/1715840043954-CreateGchatTemplateTable.js +22 -0
- package/dist/migrations/1715840043954-CreateGchatTemplateTable.js.map +1 -0
- package/dist/migrations/1715840120259-AddColumnsWhatsappTemplateTable.d.ts +5 -0
- package/dist/migrations/1715840120259-AddColumnsWhatsappTemplateTable.js +17 -0
- package/dist/migrations/1715840120259-AddColumnsWhatsappTemplateTable.js.map +1 -0
- package/dist/migrations/1715841825698-CreateGchatUserTable.d.ts +5 -0
- package/dist/migrations/1715841825698-CreateGchatUserTable.js +22 -0
- package/dist/migrations/1715841825698-CreateGchatUserTable.js.map +1 -0
- package/dist/migrations/1715843181123-CreateSlackIntegrationTable.d.ts +5 -0
- package/dist/migrations/1715843181123-CreateSlackIntegrationTable.js +21 -0
- package/dist/migrations/1715843181123-CreateSlackIntegrationTable.js.map +1 -0
- package/dist/migrations/1715844214368-CreateSlackUserTable.d.ts +5 -0
- package/dist/migrations/1715844214368-CreateSlackUserTable.js +23 -0
- package/dist/migrations/1715844214368-CreateSlackUserTable.js.map +1 -0
- package/dist/migrations/1715854491813-CreateGchatWebhookTable.d.ts +5 -0
- package/dist/migrations/1715854491813-CreateGchatWebhookTable.js +24 -0
- package/dist/migrations/1715854491813-CreateGchatWebhookTable.js.map +1 -0
- package/dist/migrations/1715854735102-CreateSlackWebhookTable.d.ts +5 -0
- package/dist/migrations/1715854735102-CreateSlackWebhookTable.js +24 -0
- package/dist/migrations/1715854735102-CreateSlackWebhookTable.js.map +1 -0
- package/dist/migrations/1715860233245-CreateGchatNotificationTable.d.ts +5 -0
- package/dist/migrations/1715860233245-CreateGchatNotificationTable.js +22 -0
- package/dist/migrations/1715860233245-CreateGchatNotificationTable.js.map +1 -0
- package/dist/migrations/1715860381516-CreateSlackNotificationTable.d.ts +5 -0
- package/dist/migrations/1715860381516-CreateSlackNotificationTable.js +22 -0
- package/dist/migrations/1715860381516-CreateSlackNotificationTable.js.map +1 -0
- package/dist/migrations/1716367203152-CreateSlackMessageTable.d.ts +5 -0
- package/dist/migrations/1716367203152-CreateSlackMessageTable.js +26 -0
- package/dist/migrations/1716367203152-CreateSlackMessageTable.js.map +1 -0
- package/dist/migrations/1716367315656-CreateGchatMessageTable.d.ts +5 -0
- package/dist/migrations/1716367315656-CreateGchatMessageTable.js +26 -0
- package/dist/migrations/1716367315656-CreateGchatMessageTable.js.map +1 -0
- package/dist/migrations/1716371652013-CreateGchatWebhookMessageTable.d.ts +5 -0
- package/dist/migrations/1716371652013-CreateGchatWebhookMessageTable.js +23 -0
- package/dist/migrations/1716371652013-CreateGchatWebhookMessageTable.js.map +1 -0
- package/dist/migrations/1716371864244-CreateSlackWebhookMessageTable.d.ts +5 -0
- package/dist/migrations/1716371864244-CreateSlackWebhookMessageTable.js +23 -0
- package/dist/migrations/1716371864244-CreateSlackWebhookMessageTable.js.map +1 -0
- package/dist/migrations/1716379083593-CreateWhatsappMessageTable.d.ts +5 -0
- package/dist/migrations/1716379083593-CreateWhatsappMessageTable.js +26 -0
- package/dist/migrations/1716379083593-CreateWhatsappMessageTable.js.map +1 -0
- package/dist/migrations/1716562127944-RenamecolumnSysSlackWebhookMessagesTable.d.ts +5 -0
- package/dist/migrations/1716562127944-RenamecolumnSysSlackWebhookMessagesTable.js +15 -0
- package/dist/migrations/1716562127944-RenamecolumnSysSlackWebhookMessagesTable.js.map +1 -0
- package/dist/migrations/1716565122165-AddSlackMessageTypeDataSeederTable.d.ts +7 -0
- package/dist/migrations/1716565122165-AddSlackMessageTypeDataSeederTable.js +51 -0
- package/dist/migrations/1716565122165-AddSlackMessageTypeDataSeederTable.js.map +1 -0
- package/dist/migrations/1716565304099-AddTypeSysSlackMessagesTable.ts.d.ts +5 -0
- package/dist/migrations/1716565304099-AddTypeSysSlackMessagesTable.ts.js +15 -0
- package/dist/migrations/1716565304099-AddTypeSysSlackMessagesTable.ts.js.map +1 -0
- package/dist/migrations/1716568667166-AddTypeIdSysGchatMessagesTable.d.ts +5 -0
- package/dist/migrations/1716568667166-AddTypeIdSysGchatMessagesTable.js +15 -0
- package/dist/migrations/1716568667166-AddTypeIdSysGchatMessagesTable.js.map +1 -0
- package/dist/migrations/1716568739132-AddTypeIdSysWhatsappMessagesTable.d.ts +5 -0
- package/dist/migrations/1716568739132-AddTypeIdSysWhatsappMessagesTable.js +15 -0
- package/dist/migrations/1716568739132-AddTypeIdSysWhatsappMessagesTable.js.map +1 -0
- package/package.json +2 -1
|
@@ -0,0 +1,46 @@
|
|
|
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.SlackTemplateEntity = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
15
|
+
const slack_template_attributes_dto_1 = require("../dtos/slack.template.attributes.dto");
|
|
16
|
+
let SlackTemplateEntity = class SlackTemplateEntity extends nestjs_utility_services_1.CommonEntity {
|
|
17
|
+
};
|
|
18
|
+
exports.SlackTemplateEntity = SlackTemplateEntity;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, typeorm_1.Column)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], SlackTemplateEntity.prototype, "name", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, typeorm_1.Column)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], SlackTemplateEntity.prototype, "identifier", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.Column)('json'),
|
|
29
|
+
__metadata("design:type", Object)
|
|
30
|
+
], SlackTemplateEntity.prototype, "content", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.Column)('json'),
|
|
33
|
+
__metadata("design:type", Object)
|
|
34
|
+
], SlackTemplateEntity.prototype, "variables", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, typeorm_1.Column)(),
|
|
37
|
+
__metadata("design:type", Boolean)
|
|
38
|
+
], SlackTemplateEntity.prototype, "active", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, typeorm_1.Column)('json'),
|
|
41
|
+
__metadata("design:type", slack_template_attributes_dto_1.SlackTemplateAttributesDto)
|
|
42
|
+
], SlackTemplateEntity.prototype, "attributes", void 0);
|
|
43
|
+
exports.SlackTemplateEntity = SlackTemplateEntity = __decorate([
|
|
44
|
+
(0, typeorm_1.Entity)('sys_slack_templates')
|
|
45
|
+
], SlackTemplateEntity);
|
|
46
|
+
//# sourceMappingURL=slack.template.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slack.template.entity.js","sourceRoot":"","sources":["../../../src/access/entities/slack.template.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAyC;AACzC,oFAAsE;AACtE,yFAAmF;AAS5E,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,sCAAY;CAoBpD,CAAA;AApBY,kDAAmB;AAE5B;IADC,IAAA,gBAAM,GAAE;;iDACI;AAGb;IADC,IAAA,gBAAM,GAAE;;uDACU;AAGnB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;;oDACF;AAGb;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;;sDACA;AAGf;IADC,IAAA,gBAAM,GAAE;;mDACO;AAGhB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,0DAA0B;uDAAC;8BAjB9B,mBAAmB;IAD/B,IAAA,gBAAM,EAAC,qBAAqB,CAAC;GACjB,mBAAmB,CAoB/B"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CommonEntity } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { SlackUserAttributesDto } from '../dtos/slack.user.attributes.dto';
|
|
3
|
+
import { AccessBusinessEntity } from './access.business.entity';
|
|
4
|
+
import { SlackIntegrationEntity } from './slack.integration.entity';
|
|
5
|
+
export declare class SlackUserEntity extends CommonEntity {
|
|
6
|
+
business_id: number;
|
|
7
|
+
slack_integration_id: number;
|
|
8
|
+
user_id: number;
|
|
9
|
+
product_id: number;
|
|
10
|
+
channel_identifier: string;
|
|
11
|
+
active: boolean;
|
|
12
|
+
attributes: SlackUserAttributesDto;
|
|
13
|
+
business: AccessBusinessEntity;
|
|
14
|
+
slack_integration: SlackIntegrationEntity;
|
|
15
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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.SlackUserEntity = void 0;
|
|
13
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const slack_user_attributes_dto_1 = require("../dtos/slack.user.attributes.dto");
|
|
16
|
+
const access_business_entity_1 = require("./access.business.entity");
|
|
17
|
+
const slack_integration_entity_1 = require("./slack.integration.entity");
|
|
18
|
+
let SlackUserEntity = class SlackUserEntity extends nestjs_utility_services_1.CommonEntity {
|
|
19
|
+
};
|
|
20
|
+
exports.SlackUserEntity = SlackUserEntity;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, typeorm_1.Column)(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], SlackUserEntity.prototype, "business_id", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)(),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], SlackUserEntity.prototype, "slack_integration_id", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)(),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], SlackUserEntity.prototype, "user_id", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)(),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], SlackUserEntity.prototype, "product_id", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], SlackUserEntity.prototype, "channel_identifier", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)(),
|
|
43
|
+
__metadata("design:type", Boolean)
|
|
44
|
+
], SlackUserEntity.prototype, "active", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)('json'),
|
|
47
|
+
__metadata("design:type", slack_user_attributes_dto_1.SlackUserAttributesDto)
|
|
48
|
+
], SlackUserEntity.prototype, "attributes", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.ManyToOne)(() => access_business_entity_1.AccessBusinessEntity),
|
|
51
|
+
(0, typeorm_1.JoinColumn)({ name: 'business_id' }),
|
|
52
|
+
__metadata("design:type", access_business_entity_1.AccessBusinessEntity)
|
|
53
|
+
], SlackUserEntity.prototype, "business", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, typeorm_1.ManyToOne)(() => slack_integration_entity_1.SlackIntegrationEntity),
|
|
56
|
+
(0, typeorm_1.JoinColumn)({ name: 'slack_integration_id' }),
|
|
57
|
+
__metadata("design:type", slack_integration_entity_1.SlackIntegrationEntity)
|
|
58
|
+
], SlackUserEntity.prototype, "slack_integration", void 0);
|
|
59
|
+
exports.SlackUserEntity = SlackUserEntity = __decorate([
|
|
60
|
+
(0, typeorm_1.Entity)('bz_slack_users')
|
|
61
|
+
], SlackUserEntity);
|
|
62
|
+
//# sourceMappingURL=slack.user.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slack.user.entity.js","sourceRoot":"","sources":["../../../src/access/entities/slack.user.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAAsE;AACtE,qCAAgE;AAChE,iFAA2E;AAC3E,qEAAgE;AAChE,yEAAoE;AAS7D,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,sCAAY;CA0BhD,CAAA;AA1BY,0CAAe;AAExB;IADC,IAAA,gBAAM,GAAE;;oDACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;6DACoB;AAG7B;IADC,IAAA,gBAAM,GAAE;;gDACO;AAGhB;IADC,IAAA,gBAAM,GAAE;;mDACU;AAGnB;IADC,IAAA,gBAAM,GAAE;;2DACkB;AAG3B;IADC,IAAA,gBAAM,GAAE;;+CACO;AAGhB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,kDAAsB;mDAAC;AAGyC;IAA3E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6CAAoB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BAAW,6CAAoB;iDAAC;AAEpB;IAAtF,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,iDAAsB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,sBAAsB,EAAE,CAAC;8BAAoB,iDAAsB;0DAAC;0BAzBxH,eAAe;IAD3B,IAAA,gBAAM,EAAC,gBAAgB,CAAC;GACZ,eAAe,CA0B3B"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { CommonEntity } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { NotificationEntity } from '../../accessUtility/entities/notification.entity';
|
|
3
|
+
import { SlackWebhookAttributesDto } from '../dtos/slack.webhook.attributes.dto';
|
|
4
|
+
import { ProductEntity } from './product.entity';
|
|
5
|
+
import { SlackTemplateEntity } from './slack.template.entity';
|
|
6
|
+
import { BusinessUserEntity } from './business.user.entity';
|
|
7
|
+
export declare class SlackWebhookEntity extends CommonEntity {
|
|
8
|
+
business_id: number;
|
|
9
|
+
notification_id: number;
|
|
10
|
+
product_id: number;
|
|
11
|
+
name: string;
|
|
12
|
+
webhook_url: string;
|
|
13
|
+
template_id: number;
|
|
14
|
+
active: boolean;
|
|
15
|
+
attributes: SlackWebhookAttributesDto;
|
|
16
|
+
business: BusinessUserEntity;
|
|
17
|
+
notification: NotificationEntity;
|
|
18
|
+
product: ProductEntity;
|
|
19
|
+
template: SlackTemplateEntity;
|
|
20
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
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.SlackWebhookEntity = void 0;
|
|
13
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const notification_entity_1 = require("../../accessUtility/entities/notification.entity");
|
|
16
|
+
const slack_webhook_attributes_dto_1 = require("../dtos/slack.webhook.attributes.dto");
|
|
17
|
+
const product_entity_1 = require("./product.entity");
|
|
18
|
+
const slack_template_entity_1 = require("./slack.template.entity");
|
|
19
|
+
const business_user_entity_1 = require("./business.user.entity");
|
|
20
|
+
let SlackWebhookEntity = class SlackWebhookEntity extends nestjs_utility_services_1.CommonEntity {
|
|
21
|
+
};
|
|
22
|
+
exports.SlackWebhookEntity = SlackWebhookEntity;
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, typeorm_1.Column)(),
|
|
25
|
+
__metadata("design:type", Number)
|
|
26
|
+
], SlackWebhookEntity.prototype, "business_id", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.Column)(),
|
|
29
|
+
__metadata("design:type", Number)
|
|
30
|
+
], SlackWebhookEntity.prototype, "notification_id", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.Column)(),
|
|
33
|
+
__metadata("design:type", Number)
|
|
34
|
+
], SlackWebhookEntity.prototype, "product_id", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, typeorm_1.Column)(),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], SlackWebhookEntity.prototype, "name", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, typeorm_1.Column)(),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], SlackWebhookEntity.prototype, "webhook_url", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, typeorm_1.Column)(),
|
|
45
|
+
__metadata("design:type", Number)
|
|
46
|
+
], SlackWebhookEntity.prototype, "template_id", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, typeorm_1.Column)(),
|
|
49
|
+
__metadata("design:type", Boolean)
|
|
50
|
+
], SlackWebhookEntity.prototype, "active", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, typeorm_1.Column)('json'),
|
|
53
|
+
__metadata("design:type", slack_webhook_attributes_dto_1.SlackWebhookAttributesDto)
|
|
54
|
+
], SlackWebhookEntity.prototype, "attributes", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, typeorm_1.ManyToOne)(() => business_user_entity_1.BusinessUserEntity),
|
|
57
|
+
(0, typeorm_1.JoinColumn)({ name: 'business_id' }),
|
|
58
|
+
__metadata("design:type", business_user_entity_1.BusinessUserEntity)
|
|
59
|
+
], SlackWebhookEntity.prototype, "business", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, typeorm_1.ManyToOne)(() => notification_entity_1.NotificationEntity),
|
|
62
|
+
(0, typeorm_1.JoinColumn)({ name: 'notification_id' }),
|
|
63
|
+
__metadata("design:type", notification_entity_1.NotificationEntity)
|
|
64
|
+
], SlackWebhookEntity.prototype, "notification", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, typeorm_1.ManyToOne)(() => product_entity_1.ProductEntity),
|
|
67
|
+
(0, typeorm_1.JoinColumn)({ name: 'product_id' }),
|
|
68
|
+
__metadata("design:type", product_entity_1.ProductEntity)
|
|
69
|
+
], SlackWebhookEntity.prototype, "product", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, typeorm_1.ManyToOne)(() => slack_template_entity_1.SlackTemplateEntity),
|
|
72
|
+
(0, typeorm_1.JoinColumn)({ name: 'template_id' }),
|
|
73
|
+
__metadata("design:type", slack_template_entity_1.SlackTemplateEntity)
|
|
74
|
+
], SlackWebhookEntity.prototype, "template", void 0);
|
|
75
|
+
exports.SlackWebhookEntity = SlackWebhookEntity = __decorate([
|
|
76
|
+
(0, typeorm_1.Entity)('bz_slack_webhooks')
|
|
77
|
+
], SlackWebhookEntity);
|
|
78
|
+
//# sourceMappingURL=slack.webhook.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slack.webhook.entity.js","sourceRoot":"","sources":["../../../src/access/entities/slack.webhook.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAA0F;AAC1F,qCAAgE;AAChE,0FAAsF;AACtF,uFAAiF;AACjF,qDAAiD;AACjD,mEAA8D;AAC9D,iEAA4D;AASrD,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,sCAAY;CAiCnD,CAAA;AAjCY,gDAAkB;AAE3B;IADC,IAAA,gBAAM,GAAE;;uDACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;2DACe;AAGxB;IADC,IAAA,gBAAM,GAAE;;sDACU;AAGnB;IADC,IAAA,gBAAM,GAAE;;gDACI;AAGb;IADC,IAAA,gBAAM,GAAE;;uDACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;uDACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;kDACO;AAGhB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,wDAAyB;sDAAC;AAGoC;IAAzE,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,yCAAkB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BAAW,yCAAkB;oDAAC;AAEzB;IAA7E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,wCAAkB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC;8BAAe,wCAAkB;wDAAC;AAE3C;IAAnE,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,8BAAa,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;8BAAU,8BAAa;mDAAC;AAEhB;IAA1E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,2CAAmB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BAAW,2CAAmB;oDAAC;6BAhChG,kBAAkB;IAD9B,IAAA,gBAAM,EAAC,mBAAmB,CAAC;GACf,kBAAkB,CAiC9B"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CommonEntity } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { SlackWebhookMessageAttributesDto } from '../dtos/slack.webhook.message.attributes.dto';
|
|
3
|
+
import { AccessBusinessEntity } from './access.business.entity';
|
|
4
|
+
import { SlackWebhookEntity } from './slack.webhook.entity';
|
|
5
|
+
export declare class SlackWebhookMessageEntity extends CommonEntity {
|
|
6
|
+
business_id: number;
|
|
7
|
+
slack_webhook_id: number;
|
|
8
|
+
response: string;
|
|
9
|
+
content: any;
|
|
10
|
+
source_type: string;
|
|
11
|
+
source_id: number;
|
|
12
|
+
attributes: SlackWebhookMessageAttributesDto;
|
|
13
|
+
business: AccessBusinessEntity;
|
|
14
|
+
slack_webhook: SlackWebhookEntity;
|
|
15
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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.SlackWebhookMessageEntity = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
15
|
+
const slack_webhook_message_attributes_dto_1 = require("../dtos/slack.webhook.message.attributes.dto");
|
|
16
|
+
const access_business_entity_1 = require("./access.business.entity");
|
|
17
|
+
const slack_webhook_entity_1 = require("./slack.webhook.entity");
|
|
18
|
+
let SlackWebhookMessageEntity = class SlackWebhookMessageEntity extends nestjs_utility_services_1.CommonEntity {
|
|
19
|
+
};
|
|
20
|
+
exports.SlackWebhookMessageEntity = SlackWebhookMessageEntity;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, typeorm_1.Column)(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], SlackWebhookMessageEntity.prototype, "business_id", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)(),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], SlackWebhookMessageEntity.prototype, "slack_webhook_id", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], SlackWebhookMessageEntity.prototype, "response", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)('json'),
|
|
35
|
+
__metadata("design:type", Object)
|
|
36
|
+
], SlackWebhookMessageEntity.prototype, "content", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], SlackWebhookMessageEntity.prototype, "source_type", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)(),
|
|
43
|
+
__metadata("design:type", Number)
|
|
44
|
+
], SlackWebhookMessageEntity.prototype, "source_id", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)('json'),
|
|
47
|
+
__metadata("design:type", slack_webhook_message_attributes_dto_1.SlackWebhookMessageAttributesDto)
|
|
48
|
+
], SlackWebhookMessageEntity.prototype, "attributes", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.ManyToOne)(() => access_business_entity_1.AccessBusinessEntity),
|
|
51
|
+
(0, typeorm_1.JoinColumn)({ name: 'business_id' }),
|
|
52
|
+
__metadata("design:type", access_business_entity_1.AccessBusinessEntity)
|
|
53
|
+
], SlackWebhookMessageEntity.prototype, "business", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, typeorm_1.ManyToOne)(() => slack_webhook_entity_1.SlackWebhookEntity),
|
|
56
|
+
(0, typeorm_1.JoinColumn)({ name: 'slack_webhook_id' }),
|
|
57
|
+
__metadata("design:type", slack_webhook_entity_1.SlackWebhookEntity)
|
|
58
|
+
], SlackWebhookMessageEntity.prototype, "slack_webhook", void 0);
|
|
59
|
+
exports.SlackWebhookMessageEntity = SlackWebhookMessageEntity = __decorate([
|
|
60
|
+
(0, typeorm_1.Entity)('sys_slack_webhook_messages')
|
|
61
|
+
], SlackWebhookMessageEntity);
|
|
62
|
+
//# sourceMappingURL=slack.webhook.message.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slack.webhook.message.entity.js","sourceRoot":"","sources":["../../../src/access/entities/slack.webhook.message.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,oFAAkF;AAClF,uGAAgG;AAChG,qEAAgE;AAChE,iEAA4D;AASrD,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,sCAAY;CAyB1D,CAAA;AAzBY,8DAAyB;AAElC;IADC,IAAA,gBAAM,GAAE;;8DACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;mEACgB;AAGzB;IADC,IAAA,gBAAM,GAAE;;2DACQ;AAGjB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;;0DACF;AAGb;IADC,IAAA,gBAAM,GAAE;;8DACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;4DACS;AAGlB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,uEAAgC;6DAAC;AAG+B;IAA3E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6CAAoB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BAAW,6CAAoB;2DAAC;AAC5B;IAA9E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,yCAAkB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE,CAAC;8BAAgB,yCAAkB;gEAAC;oCAxBxG,yBAAyB;IADrC,IAAA,gBAAM,EAAC,4BAA4B,CAAC;GACxB,yBAAyB,CAyBrC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { CommonEntity, UserEntity } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { WhatsappMessageAttributesDto } from '../dtos/whatsapp.message.attributes.dto';
|
|
3
|
+
import { WhatsappNotificationEntity } from '../../accessUtility/entities/whatsapp.notification.entity';
|
|
4
|
+
import { AccessBusinessEntity } from './access.business.entity';
|
|
5
|
+
export declare class WhatsappMessageEntity extends CommonEntity {
|
|
6
|
+
business_id: number;
|
|
7
|
+
user_id: number;
|
|
8
|
+
whatsapp_notification_id: number;
|
|
9
|
+
parent_id: number;
|
|
10
|
+
type_id: number;
|
|
11
|
+
message_identifier: string;
|
|
12
|
+
content: any;
|
|
13
|
+
source_type: string;
|
|
14
|
+
source_id: number;
|
|
15
|
+
attributes: WhatsappMessageAttributesDto;
|
|
16
|
+
business: AccessBusinessEntity;
|
|
17
|
+
user: UserEntity;
|
|
18
|
+
slack_notification: WhatsappNotificationEntity;
|
|
19
|
+
parent: WhatsappMessageEntity;
|
|
20
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
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.WhatsappMessageEntity = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
15
|
+
const whatsapp_message_attributes_dto_1 = require("../dtos/whatsapp.message.attributes.dto");
|
|
16
|
+
const whatsapp_notification_entity_1 = require("../../accessUtility/entities/whatsapp.notification.entity");
|
|
17
|
+
const access_business_entity_1 = require("./access.business.entity");
|
|
18
|
+
let WhatsappMessageEntity = class WhatsappMessageEntity extends nestjs_utility_services_1.CommonEntity {
|
|
19
|
+
};
|
|
20
|
+
exports.WhatsappMessageEntity = WhatsappMessageEntity;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, typeorm_1.Column)(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], WhatsappMessageEntity.prototype, "business_id", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)(),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], WhatsappMessageEntity.prototype, "user_id", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)(),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], WhatsappMessageEntity.prototype, "whatsapp_notification_id", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)(),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], WhatsappMessageEntity.prototype, "parent_id", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)(),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], WhatsappMessageEntity.prototype, "type_id", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], WhatsappMessageEntity.prototype, "message_identifier", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)('json'),
|
|
47
|
+
__metadata("design:type", Object)
|
|
48
|
+
], WhatsappMessageEntity.prototype, "content", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)(),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], WhatsappMessageEntity.prototype, "source_type", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, typeorm_1.Column)(),
|
|
55
|
+
__metadata("design:type", Number)
|
|
56
|
+
], WhatsappMessageEntity.prototype, "source_id", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, typeorm_1.Column)('json'),
|
|
59
|
+
__metadata("design:type", whatsapp_message_attributes_dto_1.WhatsappMessageAttributesDto)
|
|
60
|
+
], WhatsappMessageEntity.prototype, "attributes", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, typeorm_1.ManyToOne)(() => access_business_entity_1.AccessBusinessEntity),
|
|
63
|
+
(0, typeorm_1.JoinColumn)({ name: 'business_id' }),
|
|
64
|
+
__metadata("design:type", access_business_entity_1.AccessBusinessEntity)
|
|
65
|
+
], WhatsappMessageEntity.prototype, "business", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, typeorm_1.ManyToOne)(() => nestjs_utility_services_1.UserEntity),
|
|
68
|
+
(0, typeorm_1.JoinColumn)({ name: 'user_id' }),
|
|
69
|
+
__metadata("design:type", nestjs_utility_services_1.UserEntity)
|
|
70
|
+
], WhatsappMessageEntity.prototype, "user", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
(0, typeorm_1.ManyToOne)(() => whatsapp_notification_entity_1.WhatsappNotificationEntity),
|
|
73
|
+
(0, typeorm_1.JoinColumn)({ name: 'whatsapp_notification_id' }),
|
|
74
|
+
__metadata("design:type", whatsapp_notification_entity_1.WhatsappNotificationEntity)
|
|
75
|
+
], WhatsappMessageEntity.prototype, "slack_notification", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, typeorm_1.ManyToOne)(() => WhatsappMessageEntity),
|
|
78
|
+
(0, typeorm_1.JoinColumn)({ name: 'parent_id' }),
|
|
79
|
+
__metadata("design:type", WhatsappMessageEntity)
|
|
80
|
+
], WhatsappMessageEntity.prototype, "parent", void 0);
|
|
81
|
+
exports.WhatsappMessageEntity = WhatsappMessageEntity = __decorate([
|
|
82
|
+
(0, typeorm_1.Entity)('sys_whatsapp_messages')
|
|
83
|
+
], WhatsappMessageEntity);
|
|
84
|
+
//# sourceMappingURL=whatsapp.message.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"whatsapp.message.entity.js","sourceRoot":"","sources":["../../../src/access/entities/whatsapp.message.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,oFAAkF;AAClF,6FAAuF;AACvF,4GAAuG;AACvG,qEAAgE;AASzD,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,sCAAY;CAqCtD,CAAA;AArCY,sDAAqB;AAE9B;IADC,IAAA,gBAAM,GAAE;;0DACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;sDACO;AAGhB;IADC,IAAA,gBAAM,GAAE;;uEACwB;AAGjC;IADC,IAAA,gBAAM,GAAE;;wDACS;AAGlB;IADC,IAAA,gBAAM,GAAE;;sDACO;AAGhB;IADC,IAAA,gBAAM,GAAE;;iEACkB;AAG3B;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;;sDACF;AAGb;IADC,IAAA,gBAAM,GAAE;;0DACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;wDACS;AAGlB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,8DAA4B;yDAAC;AAGmC;IAA3E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6CAAoB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BAAW,6CAAoB;uDAAC;AAC7C;IAA7D,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oCAAU,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;8BAAO,oCAAU;mDAAC;AACgB;IAA9F,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,yDAA0B,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,0BAA0B,EAAE,CAAC;8BAAqB,yDAA0B;iEAAC;AAEnE;IAA1E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,qBAAqB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;8BAAS,qBAAqB;qDAAC;gCApChG,qBAAqB;IADjC,IAAA,gBAAM,EAAC,uBAAuB,CAAC;GACnB,qBAAqB,CAqCjC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CommonEntity, UserEntity } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { BusinessUserEntity } from './business.user.entity';
|
|
3
|
+
export declare class WhatsappPreferenceEntity extends CommonEntity {
|
|
4
|
+
business_id: number;
|
|
5
|
+
user_id: number;
|
|
6
|
+
active: boolean;
|
|
7
|
+
attributes: any;
|
|
8
|
+
business: BusinessUserEntity;
|
|
9
|
+
user: UserEntity;
|
|
10
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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.WhatsappPreferenceEntity = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
15
|
+
const business_user_entity_1 = require("./business.user.entity");
|
|
16
|
+
let WhatsappPreferenceEntity = class WhatsappPreferenceEntity extends nestjs_utility_services_1.CommonEntity {
|
|
17
|
+
};
|
|
18
|
+
exports.WhatsappPreferenceEntity = WhatsappPreferenceEntity;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, typeorm_1.Column)(),
|
|
21
|
+
__metadata("design:type", Number)
|
|
22
|
+
], WhatsappPreferenceEntity.prototype, "business_id", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, typeorm_1.Column)(),
|
|
25
|
+
__metadata("design:type", Number)
|
|
26
|
+
], WhatsappPreferenceEntity.prototype, "user_id", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.Column)(),
|
|
29
|
+
__metadata("design:type", Boolean)
|
|
30
|
+
], WhatsappPreferenceEntity.prototype, "active", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.Column)('json'),
|
|
33
|
+
__metadata("design:type", Object)
|
|
34
|
+
], WhatsappPreferenceEntity.prototype, "attributes", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, typeorm_1.ManyToOne)(() => business_user_entity_1.BusinessUserEntity),
|
|
37
|
+
(0, typeorm_1.JoinColumn)({ name: 'business_id' }),
|
|
38
|
+
__metadata("design:type", business_user_entity_1.BusinessUserEntity)
|
|
39
|
+
], WhatsappPreferenceEntity.prototype, "business", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.ManyToOne)(() => nestjs_utility_services_1.UserEntity),
|
|
42
|
+
(0, typeorm_1.JoinColumn)({ name: 'user_id' }),
|
|
43
|
+
__metadata("design:type", nestjs_utility_services_1.UserEntity)
|
|
44
|
+
], WhatsappPreferenceEntity.prototype, "user", void 0);
|
|
45
|
+
exports.WhatsappPreferenceEntity = WhatsappPreferenceEntity = __decorate([
|
|
46
|
+
(0, typeorm_1.Entity)('bz_whatsapp_preference')
|
|
47
|
+
], WhatsappPreferenceEntity);
|
|
48
|
+
//# sourceMappingURL=whatsapp.preference.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"whatsapp.preference.entity.js","sourceRoot":"","sources":["../../../src/access/entities/whatsapp.preference.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,oFAAkF;AAClF,iEAA4D;AASrD,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,sCAAY;CAgBzD,CAAA;AAhBY,4DAAwB;AAEjC;IADC,IAAA,gBAAM,GAAE;;6DACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;yDACO;AAGhB;IADC,IAAA,gBAAM,GAAE;;wDACO;AAGhB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;;4DACC;AAG0D;IAAzE,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,yCAAkB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BAAW,yCAAkB;0DAAC;AACzC;IAA7D,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oCAAU,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;8BAAO,oCAAU;sDAAC;mCAftE,wBAAwB;IADpC,IAAA,gBAAM,EAAC,wBAAwB,CAAC;GACpB,wBAAwB,CAgBpC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CommonEntity } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { WhatsappTemplateAttributesDto } from '../dtos/whatsapp.template.attributes.dto';
|
|
3
|
+
export declare class WhatsappTemplateEntity extends CommonEntity {
|
|
4
|
+
name: string;
|
|
5
|
+
identifier: string;
|
|
6
|
+
content: string;
|
|
7
|
+
variables: any;
|
|
8
|
+
active: boolean;
|
|
9
|
+
attributes: WhatsappTemplateAttributesDto;
|
|
10
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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.WhatsappTemplateEntity = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
15
|
+
const whatsapp_template_attributes_dto_1 = require("../dtos/whatsapp.template.attributes.dto");
|
|
16
|
+
let WhatsappTemplateEntity = class WhatsappTemplateEntity extends nestjs_utility_services_1.CommonEntity {
|
|
17
|
+
};
|
|
18
|
+
exports.WhatsappTemplateEntity = WhatsappTemplateEntity;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, typeorm_1.Column)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], WhatsappTemplateEntity.prototype, "name", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, typeorm_1.Column)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], WhatsappTemplateEntity.prototype, "identifier", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.Column)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], WhatsappTemplateEntity.prototype, "content", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.Column)('json'),
|
|
33
|
+
__metadata("design:type", Object)
|
|
34
|
+
], WhatsappTemplateEntity.prototype, "variables", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, typeorm_1.Column)(),
|
|
37
|
+
__metadata("design:type", Boolean)
|
|
38
|
+
], WhatsappTemplateEntity.prototype, "active", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, typeorm_1.Column)('json'),
|
|
41
|
+
__metadata("design:type", whatsapp_template_attributes_dto_1.WhatsappTemplateAttributesDto)
|
|
42
|
+
], WhatsappTemplateEntity.prototype, "attributes", void 0);
|
|
43
|
+
exports.WhatsappTemplateEntity = WhatsappTemplateEntity = __decorate([
|
|
44
|
+
(0, typeorm_1.Entity)('sys_whatsapp_templates')
|
|
45
|
+
], WhatsappTemplateEntity);
|
|
46
|
+
//# sourceMappingURL=whatsapp.template.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"whatsapp.template.entity.js","sourceRoot":"","sources":["../../../src/access/entities/whatsapp.template.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAyC;AACzC,oFAAsE;AACtE,+FAAyF;AASlF,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,sCAAY;CAoBvD,CAAA;AApBY,wDAAsB;AAE/B;IADC,IAAA,gBAAM,GAAE;;oDACI;AAGb;IADC,IAAA,gBAAM,GAAE;;0DACU;AAGnB;IADC,IAAA,gBAAM,GAAE;;uDACO;AAGhB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;;yDACA;AAGf;IADC,IAAA,gBAAM,GAAE;;sDACO;AAGhB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,gEAA6B;0DAAC;iCAjBjC,sBAAsB;IADlC,IAAA,gBAAM,EAAC,wBAAwB,CAAC;GACpB,sBAAsB,CAoBlC"}
|
|
@@ -15,5 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./custom.column.type.enum"), exports);
|
|
18
|
+
__exportStar(require("./notification.type.enum"), exports);
|
|
18
19
|
__exportStar(require("./recurring.period.enum"), exports);
|
|
19
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAAA,0DAAuC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAAA,2DAAyC;AAAA,0DAAuC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NotificationTypeEnum = void 0;
|
|
4
|
+
var NotificationTypeEnum;
|
|
5
|
+
(function (NotificationTypeEnum) {
|
|
6
|
+
NotificationTypeEnum[NotificationTypeEnum["Outward"] = 999] = "Outward";
|
|
7
|
+
NotificationTypeEnum[NotificationTypeEnum["Inward"] = 998] = "Inward";
|
|
8
|
+
NotificationTypeEnum[NotificationTypeEnum["Webhook"] = 997] = "Webhook";
|
|
9
|
+
})(NotificationTypeEnum || (exports.NotificationTypeEnum = NotificationTypeEnum = {}));
|
|
10
|
+
//# sourceMappingURL=notification.type.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification.type.enum.js","sourceRoot":"","sources":["../../../src/access/enums/notification.type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC5B,uEAAa,CAAA;IACb,qEAAY,CAAA;IACZ,uEAAa,CAAA;AACjB,CAAC,EAJW,oBAAoB,oCAApB,oBAAoB,QAI/B"}
|