9a635ad31d848138c95cbf8a54716a1c8b339454
[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 _0x29ed=['ENUM','out','STRING','DATE','sequelize','exports','TEXT','medium','BOOLEAN'];(function(_0x438075,_0x59ca9e){var _0x3c2ff0=function(_0x305e6e){while(--_0x305e6e){_0x438075['push'](_0x438075['shift']());}};_0x3c2ff0(++_0x59ca9e);}(_0x29ed,0xd3));var _0xd29e=function(_0x16f0dd,_0x5c327e){_0x16f0dd=_0x16f0dd-0x0;var _0x4efab2=_0x29ed[_0x16f0dd];return _0x4efab2;};'use strict';var Sequelize=require(_0xd29e('0x0'));module[_0xd29e('0x1')]={'body':{'type':Sequelize[_0xd29e('0x2')](_0xd29e('0x3')),'allowNull':![]},'read':{'type':Sequelize[_0xd29e('0x4')],'defaultValue':![]},'direction':{'type':Sequelize[_0xd29e('0x5')]('in',_0xd29e('0x6')),'defaultValue':'out','allowNull':![]},'messageId':{'type':Sequelize[_0xd29e('0x7')](0xbe)},'phone':{'type':Sequelize['STRING']},'readAt':{'type':Sequelize[_0xd29e('0x8')]},'secret':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'providerName':{'type':Sequelize['STRING']},'providerResponse':{'type':Sequelize['TEXT']}};