e80f34e15b0bf75dbb67ee5cc4eb37e00b4a159b
[motion2.git] / server / api / chatMessage / chatMessage.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 _0x5ba3=['sequelize','TEXT','medium','BOOLEAN','ENUM','out','DATE','STRING'];(function(_0x3059dd,_0x4a01e3){var _0x1020b3=function(_0x12c687){while(--_0x12c687){_0x3059dd['push'](_0x3059dd['shift']());}};_0x1020b3(++_0x4a01e3);}(_0x5ba3,0x140));var _0x35ba=function(_0x5c41be,_0x5e4a52){_0x5c41be=_0x5c41be-0x0;var _0x132c37=_0x5ba3[_0x5c41be];return _0x132c37;};'use strict';var Sequelize=require(_0x35ba('0x0'));module['exports']={'body':{'type':Sequelize[_0x35ba('0x1')](_0x35ba('0x2')),'allowNull':![]},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'secret':{'type':Sequelize[_0x35ba('0x3')],'defaultValue':![]},'direction':{'type':Sequelize[_0x35ba('0x4')]('in',_0x35ba('0x5')),'defaultValue':'out','allowNull':![]},'readAt':{'type':Sequelize[_0x35ba('0x6')]},'providerName':{'type':Sequelize[_0x35ba('0x7')]},'providerResponse':{'type':Sequelize[_0x35ba('0x1')]}};