bcb0a2be8b964cadb2db8af530b02c32e19c654c
[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 _0xde9f=['sequelize','medium','BOOLEAN','ENUM','out','DATE','STRING','TEXT'];(function(_0x35caae,_0x18edfa){var _0x1f6295=function(_0x26a19b){while(--_0x26a19b){_0x35caae['push'](_0x35caae['shift']());}};_0x1f6295(++_0x18edfa);}(_0xde9f,0x118));var _0xfde9=function(_0x32e649,_0x228649){_0x32e649=_0x32e649-0x0;var _0x14d386=_0xde9f[_0x32e649];return _0x14d386;};'use strict';var Sequelize=require(_0xfde9('0x0'));module['exports']={'body':{'type':Sequelize['TEXT'](_0xfde9('0x1')),'allowNull':![]},'read':{'type':Sequelize[_0xfde9('0x2')],'defaultValue':![]},'secret':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize[_0xfde9('0x3')]('in',_0xfde9('0x4')),'defaultValue':'out','allowNull':![]},'readAt':{'type':Sequelize[_0xfde9('0x5')]},'providerName':{'type':Sequelize[_0xfde9('0x6')]},'providerResponse':{'type':Sequelize[_0xfde9('0x7')]}};