8da6be8928f901acc75b2e983f8de9ea710b3752
[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 _0xc8ed=['ENUM','out','STRING','DATE','BOOLEAN','sequelize','exports','TEXT','medium'];(function(_0x9381e1,_0xa19020){var _0x1a4f47=function(_0x5155b7){while(--_0x5155b7){_0x9381e1['push'](_0x9381e1['shift']());}};_0x1a4f47(++_0xa19020);}(_0xc8ed,0x137));var _0xdc8e=function(_0x4ac1cc,_0x586beb){_0x4ac1cc=_0x4ac1cc-0x0;var _0x300e78=_0xc8ed[_0x4ac1cc];return _0x300e78;};'use strict';var Sequelize=require(_0xdc8e('0x0'));module[_0xdc8e('0x1')]={'body':{'type':Sequelize[_0xdc8e('0x2')](_0xdc8e('0x3')),'allowNull':![]},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize[_0xdc8e('0x4')]('in',_0xdc8e('0x5')),'defaultValue':_0xdc8e('0x5'),'allowNull':![]},'messageId':{'type':Sequelize[_0xdc8e('0x6')](0xbe)},'phone':{'type':Sequelize[_0xdc8e('0x6')]},'readAt':{'type':Sequelize[_0xdc8e('0x7')]},'secret':{'type':Sequelize[_0xdc8e('0x8')],'defaultValue':![]},'providerName':{'type':Sequelize[_0xdc8e('0x6')]},'providerResponse':{'type':Sequelize[_0xdc8e('0x2')]}};