0da5809aba2ccd293a321ea5f3250f6b277c77a5
[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 _0x3276=['DATE','sequelize','medium','BOOLEAN','ENUM','out'];(function(_0x523a03,_0x58d7e1){var _0x292fd7=function(_0x37ad69){while(--_0x37ad69){_0x523a03['push'](_0x523a03['shift']());}};_0x292fd7(++_0x58d7e1);}(_0x3276,0xc7));var _0x6327=function(_0x5d690a,_0x9aa1d2){_0x5d690a=_0x5d690a-0x0;var _0x4744c7=_0x3276[_0x5d690a];return _0x4744c7;};'use strict';var Sequelize=require(_0x6327('0x0'));module['exports']={'body':{'type':Sequelize['TEXT'](_0x6327('0x1')),'allowNull':![]},'read':{'type':Sequelize[_0x6327('0x2')],'defaultValue':![]},'secret':{'type':Sequelize[_0x6327('0x2')],'defaultValue':![]},'direction':{'type':Sequelize[_0x6327('0x3')]('in',_0x6327('0x4')),'defaultValue':_0x6327('0x4'),'allowNull':![]},'readAt':{'type':Sequelize[_0x6327('0x5')]},'providerName':{'type':Sequelize['STRING']},'providerResponse':{'type':Sequelize['TEXT']}};