Built motion from commit c738b9ac.|2.6.25
[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 _0x06ef=['out','DATE','TEXT'];(function(_0x4ae578,_0x47156f){var _0x386e83=function(_0x225fe6){while(--_0x225fe6){_0x4ae578['push'](_0x4ae578['shift']());}};_0x386e83(++_0x47156f);}(_0x06ef,0x185));var _0xf06e=function(_0x4aecba,_0x34178b){_0x4aecba=_0x4aecba-0x0;var _0x58dac2=_0x06ef[_0x4aecba];return _0x58dac2;};'use strict';var Sequelize=require('sequelize');module['exports']={'body':{'type':Sequelize[_0xf06e('0x0')]('medium'),'allowNull':![]},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'secret':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize['ENUM']('in',_0xf06e('0x1')),'defaultValue':_0xf06e('0x1'),'allowNull':![]},'readAt':{'type':Sequelize[_0xf06e('0x2')]},'providerName':{'type':Sequelize['STRING']},'providerResponse':{'type':Sequelize[_0xf06e('0x0')]}};