86d3fa70c54da7da5d16c669de81db5d78490060
[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 _0x4569=['sequelize','exports','TEXT','medium','BOOLEAN','ENUM','out','DATE','STRING'];(function(_0x587a12,_0x424afe){var _0x59f69d=function(_0x5edee3){while(--_0x5edee3){_0x587a12['push'](_0x587a12['shift']());}};_0x59f69d(++_0x424afe);}(_0x4569,0xcf));var _0x9456=function(_0x1a5b53,_0x1278c6){_0x1a5b53=_0x1a5b53-0x0;var _0x4632b8=_0x4569[_0x1a5b53];return _0x4632b8;};'use strict';var Sequelize=require(_0x9456('0x0'));module[_0x9456('0x1')]={'body':{'type':Sequelize[_0x9456('0x2')](_0x9456('0x3')),'allowNull':![]},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'secret':{'type':Sequelize[_0x9456('0x4')],'defaultValue':![]},'direction':{'type':Sequelize[_0x9456('0x5')]('in','out'),'defaultValue':_0x9456('0x6'),'allowNull':![]},'readAt':{'type':Sequelize[_0x9456('0x7')]},'providerName':{'type':Sequelize[_0x9456('0x8')]},'providerResponse':{'type':Sequelize[_0x9456('0x2')]}};