Built motion from commit 26d08302.|2.6.31
[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 _0x6739=['STRING','sequelize','exports','TEXT','medium','BOOLEAN','out'];(function(_0x27af45,_0x1b57aa){var _0x18df21=function(_0x4b7679){while(--_0x4b7679){_0x27af45['push'](_0x27af45['shift']());}};_0x18df21(++_0x1b57aa);}(_0x6739,0xd3));var _0x9673=function(_0x4c26ce,_0x183a23){_0x4c26ce=_0x4c26ce-0x0;var _0x2e3f88=_0x6739[_0x4c26ce];return _0x2e3f88;};'use strict';var Sequelize=require(_0x9673('0x0'));module[_0x9673('0x1')]={'body':{'type':Sequelize[_0x9673('0x2')](_0x9673('0x3')),'allowNull':![]},'read':{'type':Sequelize[_0x9673('0x4')],'defaultValue':![]},'secret':{'type':Sequelize[_0x9673('0x4')],'defaultValue':![]},'direction':{'type':Sequelize['ENUM']('in','out'),'defaultValue':_0x9673('0x5'),'allowNull':![]},'readAt':{'type':Sequelize['DATE']},'providerName':{'type':Sequelize[_0x9673('0x6')]},'providerResponse':{'type':Sequelize['TEXT']}};