626ed89161106d438a587f5b88feb59b63365506
[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 _0x0005=['BOOLEAN','out','STRING','DATE','TEXT','sequelize','exports','medium'];(function(_0xe6766c,_0x298d39){var _0x31f123=function(_0x1c2fa7){while(--_0x1c2fa7){_0xe6766c['push'](_0xe6766c['shift']());}};_0x31f123(++_0x298d39);}(_0x0005,0xbd));var _0x5000=function(_0x192398,_0x301cd9){_0x192398=_0x192398-0x0;var _0x5bdfe6=_0x0005[_0x192398];return _0x5bdfe6;};'use strict';var Sequelize=require(_0x5000('0x0'));module[_0x5000('0x1')]={'body':{'type':Sequelize['TEXT'](_0x5000('0x2')),'allowNull':![]},'read':{'type':Sequelize[_0x5000('0x3')],'defaultValue':![]},'direction':{'type':Sequelize['ENUM']('in',_0x5000('0x4')),'defaultValue':_0x5000('0x4'),'allowNull':![]},'messageId':{'type':Sequelize[_0x5000('0x5')](0xbe)},'phone':{'type':Sequelize[_0x5000('0x5')]},'readAt':{'type':Sequelize[_0x5000('0x6')]},'secret':{'type':Sequelize[_0x5000('0x3')],'defaultValue':![]},'providerName':{'type':Sequelize[_0x5000('0x5')]},'providerResponse':{'type':Sequelize[_0x5000('0x7')]}};