9612d85f405444a59b966c271e03ccd1038393bc
[motion2.git] / server / api / whatsappMessage / whatsappMessage.attributes.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xac0d=['sequelize','medium','out','STRING','DATE'];(function(_0x4a6c4d,_0x455768){var _0x31800b=function(_0x203513){while(--_0x203513){_0x4a6c4d['push'](_0x4a6c4d['shift']());}};_0x31800b(++_0x455768);}(_0xac0d,0xb9));var _0xdac0=function(_0x5783f4,_0x4a9e0a){_0x5783f4=_0x5783f4-0x0;var _0x28e380=_0xac0d[_0x5783f4];return _0x28e380;};'use strict';var Sequelize=require(_0xdac0('0x0'));module['exports']={'body':{'type':Sequelize['TEXT'](_0xdac0('0x1')),'allowNull':![]},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize['ENUM']('in',_0xdac0('0x2')),'defaultValue':_0xdac0('0x2'),'allowNull':![]},'messageId':{'type':Sequelize[_0xdac0('0x3')](0xbe)},'phone':{'type':Sequelize[_0xdac0('0x3')]},'readAt':{'type':Sequelize[_0xdac0('0x4')]},'secret':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'providerName':{'type':Sequelize[_0xdac0('0x3')]},'providerResponse':{'type':Sequelize['TEXT']}};