54ca9e8e619d591533a052801226e98933e0f69d
[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 _0x2eb8=['ENUM','out','STRING','DATE','BOOLEAN','sequelize','medium'];(function(_0x6bd2c1,_0x1ff03d){var _0x4f7c03=function(_0x3238d4){while(--_0x3238d4){_0x6bd2c1['push'](_0x6bd2c1['shift']());}};_0x4f7c03(++_0x1ff03d);}(_0x2eb8,0x147));var _0x82eb=function(_0x4ba6b0,_0x4c03bc){_0x4ba6b0=_0x4ba6b0-0x0;var _0xc7c890=_0x2eb8[_0x4ba6b0];return _0xc7c890;};'use strict';var Sequelize=require(_0x82eb('0x0'));module['exports']={'body':{'type':Sequelize['TEXT'](_0x82eb('0x1')),'allowNull':![]},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize[_0x82eb('0x2')]('in',_0x82eb('0x3')),'defaultValue':_0x82eb('0x3'),'allowNull':![]},'messageId':{'type':Sequelize[_0x82eb('0x4')](0xbe)},'phone':{'type':Sequelize[_0x82eb('0x4')]},'readAt':{'type':Sequelize[_0x82eb('0x5')]},'secret':{'type':Sequelize[_0x82eb('0x6')],'defaultValue':![]},'providerName':{'type':Sequelize[_0x82eb('0x4')]},'providerResponse':{'type':Sequelize['TEXT']}};