c224a095a3a8b044e688b57284eb590975299118
[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 _0x867f=['ENUM','out','STRING','sequelize','exports','TEXT','BOOLEAN'];(function(_0x48b810,_0x173a5e){var _0x23c17d=function(_0x38531e){while(--_0x38531e){_0x48b810['push'](_0x48b810['shift']());}};_0x23c17d(++_0x173a5e);}(_0x867f,0xdc));var _0xf867=function(_0x2bbb3d,_0x400061){_0x2bbb3d=_0x2bbb3d-0x0;var _0x5739f0=_0x867f[_0x2bbb3d];return _0x5739f0;};'use strict';var Sequelize=require(_0xf867('0x0'));module[_0xf867('0x1')]={'body':{'type':Sequelize[_0xf867('0x2')]('medium'),'allowNull':![]},'read':{'type':Sequelize[_0xf867('0x3')],'defaultValue':![]},'secret':{'type':Sequelize[_0xf867('0x3')],'defaultValue':![]},'direction':{'type':Sequelize[_0xf867('0x4')]('in','out'),'defaultValue':_0xf867('0x5'),'allowNull':![]},'readAt':{'type':Sequelize['DATE']},'providerName':{'type':Sequelize[_0xf867('0x6')]},'providerResponse':{'type':Sequelize[_0xf867('0x2')]}};