d6175b8bccb9c860e83c20b78d07ac75557c492a
[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 _0xf798=['DATE','sequelize','TEXT','medium','BOOLEAN','out'];(function(_0x174f82,_0x2a7413){var _0x29a7fa=function(_0x4f1165){while(--_0x4f1165){_0x174f82['push'](_0x174f82['shift']());}};_0x29a7fa(++_0x2a7413);}(_0xf798,0x127));var _0x8f79=function(_0x2aecb2,_0x343312){_0x2aecb2=_0x2aecb2-0x0;var _0x3ebb80=_0xf798[_0x2aecb2];return _0x3ebb80;};'use strict';var Sequelize=require(_0x8f79('0x0'));module['exports']={'body':{'type':Sequelize[_0x8f79('0x1')](_0x8f79('0x2')),'allowNull':![]},'read':{'type':Sequelize[_0x8f79('0x3')],'defaultValue':![]},'secret':{'type':Sequelize[_0x8f79('0x3')],'defaultValue':![]},'direction':{'type':Sequelize['ENUM']('in',_0x8f79('0x4')),'defaultValue':_0x8f79('0x4'),'allowNull':![]},'readAt':{'type':Sequelize[_0x8f79('0x5')]}};