89dbd4e27a3bc31be8caa89d3b6b574ec2f0523d
[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 _0xe9e8=['exports','TEXT','medium','BOOLEAN','ENUM','out','DATE','STRING','sequelize'];(function(_0x34e1f4,_0x278e82){var _0x4c4822=function(_0x13726e){while(--_0x13726e){_0x34e1f4['push'](_0x34e1f4['shift']());}};_0x4c4822(++_0x278e82);}(_0xe9e8,0x6b));var _0x8e9e=function(_0x254ff4,_0x2a1957){_0x254ff4=_0x254ff4-0x0;var _0x4ae756=_0xe9e8[_0x254ff4];return _0x4ae756;};'use strict';var Sequelize=require(_0x8e9e('0x0'));module[_0x8e9e('0x1')]={'body':{'type':Sequelize[_0x8e9e('0x2')](_0x8e9e('0x3')),'allowNull':![]},'read':{'type':Sequelize[_0x8e9e('0x4')],'defaultValue':![]},'secret':{'type':Sequelize[_0x8e9e('0x4')],'defaultValue':![]},'direction':{'type':Sequelize[_0x8e9e('0x5')]('in','out'),'defaultValue':_0x8e9e('0x6'),'allowNull':![]},'readAt':{'type':Sequelize[_0x8e9e('0x7')]},'providerName':{'type':Sequelize[_0x8e9e('0x8')]},'providerResponse':{'type':Sequelize['TEXT']}};