Built motion from commit b5413ace.|2.6.9
[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 _0x9703=['ENUM','out','STRING','TEXT','medium','BOOLEAN'];(function(_0x495c3d,_0x12c859){var _0xea1d4b=function(_0x1d4ca8){while(--_0x1d4ca8){_0x495c3d['push'](_0x495c3d['shift']());}};_0xea1d4b(++_0x12c859);}(_0x9703,0xdb));var _0x3970=function(_0x5d5306,_0x46c45c){_0x5d5306=_0x5d5306-0x0;var _0x4cee6e=_0x9703[_0x5d5306];return _0x4cee6e;};'use strict';var Sequelize=require('sequelize');module['exports']={'body':{'type':Sequelize[_0x3970('0x0')](_0x3970('0x1')),'allowNull':![]},'read':{'type':Sequelize[_0x3970('0x2')],'defaultValue':![]},'secret':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize[_0x3970('0x3')]('in','out'),'defaultValue':_0x3970('0x4'),'allowNull':![]},'readAt':{'type':Sequelize['DATE']},'providerName':{'type':Sequelize[_0x3970('0x5')]},'providerResponse':{'type':Sequelize[_0x3970('0x0')]}};