fbda2c0974ab0e0a2a47b564e7d71f7d387acde8
[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 _0xd73d=['STRING','sequelize','exports','TEXT','BOOLEAN','out'];(function(_0x19366d,_0x424fa8){var _0x26bf91=function(_0x8b1123){while(--_0x8b1123){_0x19366d['push'](_0x19366d['shift']());}};_0x26bf91(++_0x424fa8);}(_0xd73d,0x1a5));var _0xdd73=function(_0x35b4c6,_0x5e57a2){_0x35b4c6=_0x35b4c6-0x0;var _0xa45f4c=_0xd73d[_0x35b4c6];return _0xa45f4c;};'use strict';var Sequelize=require(_0xdd73('0x0'));module[_0xdd73('0x1')]={'body':{'type':Sequelize[_0xdd73('0x2')]('medium'),'allowNull':![]},'read':{'type':Sequelize[_0xdd73('0x3')],'defaultValue':![]},'direction':{'type':Sequelize['ENUM']('in',_0xdd73('0x4')),'defaultValue':'out','allowNull':![]},'messageId':{'type':Sequelize[_0xdd73('0x5')](0xbe)},'phone':{'type':Sequelize[_0xdd73('0x5')]},'readAt':{'type':Sequelize['DATE']},'secret':{'type':Sequelize[_0xdd73('0x3')],'defaultValue':![]},'providerName':{'type':Sequelize[_0xdd73('0x5')]},'providerResponse':{'type':Sequelize[_0xdd73('0x2')]}};