4fcf3daf73cdeef4984cf5f7058c317a46bfe034
[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 _0xfa24=['ENUM','out','STRING','DATE','sequelize','exports','TEXT','medium'];(function(_0x5eed78,_0xeb54d8){var _0x4bf61b=function(_0x401f1a){while(--_0x401f1a){_0x5eed78['push'](_0x5eed78['shift']());}};_0x4bf61b(++_0xeb54d8);}(_0xfa24,0x17c));var _0x4fa2=function(_0x40220a,_0x22feb1){_0x40220a=_0x40220a-0x0;var _0x3903cc=_0xfa24[_0x40220a];return _0x3903cc;};'use strict';var Sequelize=require(_0x4fa2('0x0'));module[_0x4fa2('0x1')]={'body':{'type':Sequelize[_0x4fa2('0x2')](_0x4fa2('0x3')),'allowNull':![]},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize[_0x4fa2('0x4')]('in',_0x4fa2('0x5')),'defaultValue':'out','allowNull':![]},'messageId':{'type':Sequelize['STRING'](0xbe)},'phone':{'type':Sequelize[_0x4fa2('0x6')]},'readAt':{'type':Sequelize[_0x4fa2('0x7')]},'secret':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'providerName':{'type':Sequelize[_0x4fa2('0x6')]},'providerResponse':{'type':Sequelize[_0x4fa2('0x2')]}};