Built motion from commit da24aabd.|2.6.20
[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 _0x8227=['BOOLEAN','ENUM','out','DATE','STRING','TEXT','exports','medium'];(function(_0x26a490,_0x1d54cf){var _0x4f14c1=function(_0x47922f){while(--_0x47922f){_0x26a490['push'](_0x26a490['shift']());}};_0x4f14c1(++_0x1d54cf);}(_0x8227,0x146));var _0x7822=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x8227[_0x321bb2];return _0x9c12ed;};'use strict';var Sequelize=require('sequelize');module[_0x7822('0x0')]={'body':{'type':Sequelize['TEXT'](_0x7822('0x1')),'allowNull':![]},'read':{'type':Sequelize[_0x7822('0x2')],'defaultValue':![]},'secret':{'type':Sequelize[_0x7822('0x2')],'defaultValue':![]},'direction':{'type':Sequelize[_0x7822('0x3')]('in','out'),'defaultValue':_0x7822('0x4'),'allowNull':![]},'readAt':{'type':Sequelize[_0x7822('0x5')]},'providerName':{'type':Sequelize[_0x7822('0x6')]},'providerResponse':{'type':Sequelize[_0x7822('0x7')]}};