a550f63369a3a483e139ddeff0ec290e745394d6
[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 _0xb5bb=['TEXT','BOOLEAN','ENUM','STRING','sequelize','exports'];(function(_0x59aa00,_0x30e1f7){var _0x2a3bf0=function(_0x201803){while(--_0x201803){_0x59aa00['push'](_0x59aa00['shift']());}};_0x2a3bf0(++_0x30e1f7);}(_0xb5bb,0x1ba));var _0xbb5b=function(_0x49605a,_0x2c05a2){_0x49605a=_0x49605a-0x0;var _0x4effc1=_0xb5bb[_0x49605a];return _0x4effc1;};'use strict';var Sequelize=require(_0xbb5b('0x0'));module[_0xbb5b('0x1')]={'body':{'type':Sequelize[_0xbb5b('0x2')]('medium'),'allowNull':![]},'read':{'type':Sequelize[_0xbb5b('0x3')],'defaultValue':![]},'direction':{'type':Sequelize[_0xbb5b('0x4')]('in','out'),'defaultValue':'out','allowNull':![]},'messageId':{'type':Sequelize['STRING'](0xbe)},'phone':{'type':Sequelize['STRING']},'readAt':{'type':Sequelize['DATE']},'secret':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'providerName':{'type':Sequelize[_0xbb5b('0x5')]},'providerResponse':{'type':Sequelize[_0xbb5b('0x2')]}};