e3c199826b99f90861801280fb0ff02305e5248d
[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 _0x8227=['BOOLEAN','ENUM','out','DATE','STRING','TEXT','exports','medium'];(function(_0x4bff6a,_0x2a1966){var _0x126338=function(_0xe7f896){while(--_0xe7f896){_0x4bff6a['push'](_0x4bff6a['shift']());}};_0x126338(++_0x2a1966);}(_0x8227,0x146));var _0x7822=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x8227[_0x3dd15e];return _0x231fd0;};'use strict';var Sequelize=require('sequelize');module[_0x7822('0x0')]={'body':{'type':Sequelize['TEXT'](_0x7822('0x1')),'allowNull':![]},'read':{'type':Sequelize[_0x7822('0x2')],'defaultValue':![]},'secret':{'type':Sequelize[_0x7822('0x2')],'defaultValue':![]},'direction':{'type':Sequelize[_0x7822('0x3')]('in','out'),'defaultValue':_0x7822('0x4'),'allowNull':![]},'readAt':{'type':Sequelize[_0x7822('0x5')]},'providerName':{'type':Sequelize[_0x7822('0x6')]},'providerResponse':{'type':Sequelize[_0x7822('0x7')]}};