Built motion from commit e1760111.|2.6.18
[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 _0x34bd=['ENUM','out','DATE','TEXT','sequelize','medium','BOOLEAN'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x34bd,0x1d2));var _0xd34b=function(_0x2a05bf,_0x55e3a4){_0x2a05bf=_0x2a05bf-0x0;var _0x38a62e=_0x34bd[_0x2a05bf];return _0x38a62e;};'use strict';var Sequelize=require(_0xd34b('0x0'));module['exports']={'body':{'type':Sequelize['TEXT'](_0xd34b('0x1')),'allowNull':![]},'read':{'type':Sequelize[_0xd34b('0x2')],'defaultValue':![]},'secret':{'type':Sequelize[_0xd34b('0x2')],'defaultValue':![]},'direction':{'type':Sequelize[_0xd34b('0x3')]('in',_0xd34b('0x4')),'defaultValue':_0xd34b('0x4'),'allowNull':![]},'readAt':{'type':Sequelize[_0xd34b('0x5')]},'providerName':{'type':Sequelize['STRING']},'providerResponse':{'type':Sequelize[_0xd34b('0x6')]}};