0bb0f2b6d4dea06b0fe1b1daa7d7043275f9c08d
[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 _0xc6aa=['ENUM','out','STRING','DATE','BOOLEAN','sequelize','medium'];(function(_0x105fbf,_0x45d1de){var _0x340e66=function(_0x1257ac){while(--_0x1257ac){_0x105fbf['push'](_0x105fbf['shift']());}};_0x340e66(++_0x45d1de);}(_0xc6aa,0x75));var _0xac6a=function(_0x5af3aa,_0x3463ab){_0x5af3aa=_0x5af3aa-0x0;var _0x2bffa9=_0xc6aa[_0x5af3aa];return _0x2bffa9;};'use strict';var Sequelize=require(_0xac6a('0x0'));module['exports']={'body':{'type':Sequelize['TEXT'](_0xac6a('0x1')),'allowNull':![]},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize[_0xac6a('0x2')]('in',_0xac6a('0x3')),'defaultValue':_0xac6a('0x3'),'allowNull':![]},'messageId':{'type':Sequelize[_0xac6a('0x4')](0xbe)},'phone':{'type':Sequelize[_0xac6a('0x4')]},'readAt':{'type':Sequelize[_0xac6a('0x5')]},'secret':{'type':Sequelize[_0xac6a('0x6')],'defaultValue':![]}};