a98f847c9c08c1fbb71d87db8688a42232e80959
[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 _0x50f9=['sequelize','exports','medium','BOOLEAN','out','DATE','STRING'];(function(_0x2b9efa,_0x1af483){var _0x48d857=function(_0x5b6415){while(--_0x5b6415){_0x2b9efa['push'](_0x2b9efa['shift']());}};_0x48d857(++_0x1af483);}(_0x50f9,0x1ce));var _0x950f=function(_0x366547,_0x54a1e7){_0x366547=_0x366547-0x0;var _0x5ca4e5=_0x50f9[_0x366547];return _0x5ca4e5;};'use strict';var Sequelize=require(_0x950f('0x0'));module[_0x950f('0x1')]={'body':{'type':Sequelize['TEXT'](_0x950f('0x2')),'allowNull':![]},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'secret':{'type':Sequelize[_0x950f('0x3')],'defaultValue':![]},'direction':{'type':Sequelize['ENUM']('in',_0x950f('0x4')),'defaultValue':_0x950f('0x4'),'allowNull':![]},'readAt':{'type':Sequelize[_0x950f('0x5')]},'providerName':{'type':Sequelize[_0x950f('0x6')]},'providerResponse':{'type':Sequelize['TEXT']}};