975c8b81bff399e7509adf8ee93ad1fcf29c048a
[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 _0x23d2=['STRING','DATE','sequelize','exports','medium','BOOLEAN','out'];(function(_0x269bfc,_0x3ba834){var _0x5d4676=function(_0x552ec2){while(--_0x552ec2){_0x269bfc['push'](_0x269bfc['shift']());}};_0x5d4676(++_0x3ba834);}(_0x23d2,0x18a));var _0x223d=function(_0x255c65,_0x3444b8){_0x255c65=_0x255c65-0x0;var _0x23e230=_0x23d2[_0x255c65];return _0x23e230;};'use strict';var Sequelize=require(_0x223d('0x0'));module[_0x223d('0x1')]={'body':{'type':Sequelize['TEXT'](_0x223d('0x2')),'allowNull':![]},'read':{'type':Sequelize[_0x223d('0x3')],'defaultValue':![]},'direction':{'type':Sequelize['ENUM']('in',_0x223d('0x4')),'defaultValue':'out','allowNull':![]},'messageId':{'type':Sequelize[_0x223d('0x5')](0xbe)},'phone':{'type':Sequelize[_0x223d('0x5')]},'readAt':{'type':Sequelize[_0x223d('0x6')]},'secret':{'type':Sequelize[_0x223d('0x3')],'defaultValue':![]}};