41458cebb86e7d2ea163982395b8603fd87c3c4f
[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 _0xd89a=['STRING','DATE','sequelize','TEXT','medium','BOOLEAN','out'];(function(_0xb3aca8,_0x44df01){var _0x4dad8a=function(_0x1a8fc9){while(--_0x1a8fc9){_0xb3aca8['push'](_0xb3aca8['shift']());}};_0x4dad8a(++_0x44df01);}(_0xd89a,0x6b));var _0xad89=function(_0x2bcb4d,_0x1b1d96){_0x2bcb4d=_0x2bcb4d-0x0;var _0x423940=_0xd89a[_0x2bcb4d];return _0x423940;};'use strict';var Sequelize=require(_0xad89('0x0'));module['exports']={'body':{'type':Sequelize[_0xad89('0x1')](_0xad89('0x2')),'allowNull':![]},'read':{'type':Sequelize[_0xad89('0x3')],'defaultValue':![]},'direction':{'type':Sequelize['ENUM']('in',_0xad89('0x4')),'defaultValue':_0xad89('0x4'),'allowNull':![]},'messageId':{'type':Sequelize['STRING'](0xbe)},'phone':{'type':Sequelize[_0xad89('0x5')]},'readAt':{'type':Sequelize[_0xad89('0x6')]},'secret':{'type':Sequelize[_0xad89('0x3')],'defaultValue':![]}};