6bee37142e22a6f0894f2c57c129101ee72ccfae
[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 _0xcfd2=['exports','TEXT','medium','BOOLEAN','ENUM','out','STRING','DATE','sequelize'];(function(_0x34b64f,_0x2cbd48){var _0x40c2c7=function(_0x3693c1){while(--_0x3693c1){_0x34b64f['push'](_0x34b64f['shift']());}};_0x40c2c7(++_0x2cbd48);}(_0xcfd2,0xe9));var _0x2cfd=function(_0x58f47a,_0x4b43a4){_0x58f47a=_0x58f47a-0x0;var _0x3d454f=_0xcfd2[_0x58f47a];return _0x3d454f;};'use strict';var Sequelize=require(_0x2cfd('0x0'));module[_0x2cfd('0x1')]={'body':{'type':Sequelize[_0x2cfd('0x2')](_0x2cfd('0x3')),'allowNull':![]},'read':{'type':Sequelize[_0x2cfd('0x4')],'defaultValue':![]},'direction':{'type':Sequelize[_0x2cfd('0x5')]('in','out'),'defaultValue':_0x2cfd('0x6'),'allowNull':![]},'messageId':{'type':Sequelize[_0x2cfd('0x7')](0xbe)},'phone':{'type':Sequelize[_0x2cfd('0x7')]},'readAt':{'type':Sequelize[_0x2cfd('0x8')]},'secret':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};