7a693ac90da76d35d659396b5f81d4a47c332b1e
[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 _0x0ead=['out','DATE','sequelize','exports','medium','BOOLEAN','ENUM'];(function(_0x4bb66f,_0x3cd682){var _0xf2772f=function(_0x2e3698){while(--_0x2e3698){_0x4bb66f['push'](_0x4bb66f['shift']());}};_0xf2772f(++_0x3cd682);}(_0x0ead,0x10c));var _0xd0ea=function(_0x5c47c2,_0x1f11db){_0x5c47c2=_0x5c47c2-0x0;var _0x30b3ee=_0x0ead[_0x5c47c2];return _0x30b3ee;};'use strict';var Sequelize=require(_0xd0ea('0x0'));module[_0xd0ea('0x1')]={'body':{'type':Sequelize['TEXT'](_0xd0ea('0x2')),'allowNull':![]},'read':{'type':Sequelize[_0xd0ea('0x3')],'defaultValue':![]},'secret':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize[_0xd0ea('0x4')]('in','out'),'defaultValue':_0xd0ea('0x5'),'allowNull':![]},'readAt':{'type':Sequelize[_0xd0ea('0x6')]}};