9734d34d7829807e4fe085e9f6cdd65cf9aac485
[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 _0x7d69=['TEXT','sequelize','exports','medium','BOOLEAN','ENUM','out','STRING'];(function(_0x467990,_0xdf7bb4){var _0x4599e1=function(_0x315a61){while(--_0x315a61){_0x467990['push'](_0x467990['shift']());}};_0x4599e1(++_0xdf7bb4);}(_0x7d69,0x149));var _0x97d6=function(_0x48ee3b,_0x1eb348){_0x48ee3b=_0x48ee3b-0x0;var _0x17df80=_0x7d69[_0x48ee3b];return _0x17df80;};'use strict';var Sequelize=require(_0x97d6('0x0'));module[_0x97d6('0x1')]={'body':{'type':Sequelize['TEXT'](_0x97d6('0x2')),'allowNull':![]},'read':{'type':Sequelize[_0x97d6('0x3')],'defaultValue':![]},'direction':{'type':Sequelize[_0x97d6('0x4')]('in',_0x97d6('0x5')),'defaultValue':_0x97d6('0x5'),'allowNull':![]},'messageId':{'type':Sequelize[_0x97d6('0x6')](0xbe)},'phone':{'type':Sequelize[_0x97d6('0x6')]},'readAt':{'type':Sequelize['DATE']},'secret':{'type':Sequelize[_0x97d6('0x3')],'defaultValue':![]},'providerName':{'type':Sequelize[_0x97d6('0x6')]},'providerResponse':{'type':Sequelize[_0x97d6('0x7')]}};