451201623967e307e9eaf5703c4e36aa2a0c9697
[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 _0x390a=['STRING','sequelize','exports','TEXT','medium','BOOLEAN','ENUM','out'];(function(_0x18e247,_0x1d1006){var _0x5aff3b=function(_0x2d0d96){while(--_0x2d0d96){_0x18e247['push'](_0x18e247['shift']());}};_0x5aff3b(++_0x1d1006);}(_0x390a,0xc9));var _0xa390=function(_0x3ab6ae,_0x5030ec){_0x3ab6ae=_0x3ab6ae-0x0;var _0x588ebb=_0x390a[_0x3ab6ae];return _0x588ebb;};'use strict';var Sequelize=require(_0xa390('0x0'));module[_0xa390('0x1')]={'body':{'type':Sequelize[_0xa390('0x2')](_0xa390('0x3')),'allowNull':![]},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'secret':{'type':Sequelize[_0xa390('0x4')],'defaultValue':![]},'direction':{'type':Sequelize[_0xa390('0x5')]('in',_0xa390('0x6')),'defaultValue':_0xa390('0x6'),'allowNull':![]},'readAt':{'type':Sequelize['DATE']},'providerName':{'type':Sequelize[_0xa390('0x7')]},'providerResponse':{'type':Sequelize[_0xa390('0x2')]}};