Built motion from commit 9d1906d1.|2.5.40
[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 _0xaa5e=['DATE','STRING','TEXT','sequelize','exports','medium','BOOLEAN','ENUM','out'];(function(_0x3dd0ca,_0x3d8823){var _0x109b71=function(_0x4ce683){while(--_0x4ce683){_0x3dd0ca['push'](_0x3dd0ca['shift']());}};_0x109b71(++_0x3d8823);}(_0xaa5e,0xa5));var _0xeaa5=function(_0x4442ef,_0x5f0ccb){_0x4442ef=_0x4442ef-0x0;var _0x1d58a3=_0xaa5e[_0x4442ef];return _0x1d58a3;};'use strict';var Sequelize=require(_0xeaa5('0x0'));module[_0xeaa5('0x1')]={'body':{'type':Sequelize['TEXT'](_0xeaa5('0x2')),'allowNull':![]},'read':{'type':Sequelize[_0xeaa5('0x3')],'defaultValue':![]},'secret':{'type':Sequelize[_0xeaa5('0x3')],'defaultValue':![]},'direction':{'type':Sequelize[_0xeaa5('0x4')]('in',_0xeaa5('0x5')),'defaultValue':'out','allowNull':![]},'readAt':{'type':Sequelize[_0xeaa5('0x6')]},'providerName':{'type':Sequelize[_0xeaa5('0x7')]},'providerResponse':{'type':Sequelize[_0xeaa5('0x8')]}};