Built motion from commit 1fa89557.|2.6.10
[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 _0xfef3=['sequelize','TEXT','BOOLEAN','out','STRING'];(function(_0x57b54c,_0x54ce0d){var _0x59cc19=function(_0xa33bc6){while(--_0xa33bc6){_0x57b54c['push'](_0x57b54c['shift']());}};_0x59cc19(++_0x54ce0d);}(_0xfef3,0x118));var _0x3fef=function(_0x1cd633,_0x21c3db){_0x1cd633=_0x1cd633-0x0;var _0x5bf6d8=_0xfef3[_0x1cd633];return _0x5bf6d8;};'use strict';var Sequelize=require(_0x3fef('0x0'));module['exports']={'body':{'type':Sequelize[_0x3fef('0x1')]('medium'),'allowNull':![]},'read':{'type':Sequelize[_0x3fef('0x2')],'defaultValue':![]},'secret':{'type':Sequelize[_0x3fef('0x2')],'defaultValue':![]},'direction':{'type':Sequelize['ENUM']('in',_0x3fef('0x3')),'defaultValue':_0x3fef('0x3'),'allowNull':![]},'readAt':{'type':Sequelize['DATE']},'providerName':{'type':Sequelize[_0x3fef('0x4')]},'providerResponse':{'type':Sequelize[_0x3fef('0x1')]}};