f9d66057997decf95fbd4214f8bafa370baa514a
[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 _0xb555=['exports','TEXT','medium','BOOLEAN','ENUM','out','DATE','STRING','sequelize'];(function(_0x573053,_0x326e96){var _0x2d280c=function(_0x3e7485){while(--_0x3e7485){_0x573053['push'](_0x573053['shift']());}};_0x2d280c(++_0x326e96);}(_0xb555,0x74));var _0x5b55=function(_0x1b415a,_0x681bbd){_0x1b415a=_0x1b415a-0x0;var _0x4cf682=_0xb555[_0x1b415a];return _0x4cf682;};'use strict';var Sequelize=require(_0x5b55('0x0'));module[_0x5b55('0x1')]={'body':{'type':Sequelize[_0x5b55('0x2')](_0x5b55('0x3')),'allowNull':![]},'read':{'type':Sequelize[_0x5b55('0x4')],'defaultValue':![]},'secret':{'type':Sequelize[_0x5b55('0x4')],'defaultValue':![]},'direction':{'type':Sequelize[_0x5b55('0x5')]('in','out'),'defaultValue':_0x5b55('0x6'),'allowNull':![]},'readAt':{'type':Sequelize[_0x5b55('0x7')]},'providerName':{'type':Sequelize[_0x5b55('0x8')]},'providerResponse':{'type':Sequelize[_0x5b55('0x2')]}};