Built motion from commit 25580385.|2.6.2
[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 _0x83e1=['BOOLEAN','out','DATE','sequelize','exports','medium'];(function(_0x447d14,_0xc502f0){var _0x595af0=function(_0x1667fb){while(--_0x1667fb){_0x447d14['push'](_0x447d14['shift']());}};_0x595af0(++_0xc502f0);}(_0x83e1,0x1ad));var _0x183e=function(_0x13ab45,_0xd26642){_0x13ab45=_0x13ab45-0x0;var _0x3cf87f=_0x83e1[_0x13ab45];return _0x3cf87f;};'use strict';var Sequelize=require(_0x183e('0x0'));module[_0x183e('0x1')]={'body':{'type':Sequelize['TEXT'](_0x183e('0x2')),'allowNull':![]},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'secret':{'type':Sequelize[_0x183e('0x3')],'defaultValue':![]},'direction':{'type':Sequelize['ENUM']('in','out'),'defaultValue':_0x183e('0x4'),'allowNull':![]},'readAt':{'type':Sequelize[_0x183e('0x5')]},'providerName':{'type':Sequelize['STRING']},'providerResponse':{'type':Sequelize['TEXT']}};