df15b3a15b05447f6efcfe56b5b09b80aab95606
[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 _0x9be0=['medium','BOOLEAN','ENUM','out','DATE','sequelize','exports','TEXT'];(function(_0x11a55c,_0x4eced9){var _0x26c390=function(_0x5b0662){while(--_0x5b0662){_0x11a55c['push'](_0x11a55c['shift']());}};_0x26c390(++_0x4eced9);}(_0x9be0,0x95));var _0x09be=function(_0x21a9d9,_0x4d5ac8){_0x21a9d9=_0x21a9d9-0x0;var _0x46adce=_0x9be0[_0x21a9d9];return _0x46adce;};'use strict';var Sequelize=require(_0x09be('0x0'));module[_0x09be('0x1')]={'body':{'type':Sequelize[_0x09be('0x2')](_0x09be('0x3')),'allowNull':![]},'read':{'type':Sequelize[_0x09be('0x4')],'defaultValue':![]},'secret':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize[_0x09be('0x5')]('in',_0x09be('0x6')),'defaultValue':_0x09be('0x6'),'allowNull':![]},'readAt':{'type':Sequelize[_0x09be('0x7')]}};