3b4938a23da3509cbb9dad0a8576a2b97e790651
[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 _0x1619=['ENUM','out','STRING','TEXT','BOOLEAN'];(function(_0x2e0c7f,_0x594ed8){var _0x49d09c=function(_0x5e840a){while(--_0x5e840a){_0x2e0c7f['push'](_0x2e0c7f['shift']());}};_0x49d09c(++_0x594ed8);}(_0x1619,0x189));var _0x9161=function(_0x35768b,_0x561d27){_0x35768b=_0x35768b-0x0;var _0x2429d7=_0x1619[_0x35768b];return _0x2429d7;};'use strict';var Sequelize=require('sequelize');module['exports']={'body':{'type':Sequelize[_0x9161('0x0')]('medium'),'allowNull':![]},'read':{'type':Sequelize[_0x9161('0x1')],'defaultValue':![]},'secret':{'type':Sequelize[_0x9161('0x1')],'defaultValue':![]},'direction':{'type':Sequelize[_0x9161('0x2')]('in','out'),'defaultValue':_0x9161('0x3'),'allowNull':![]},'readAt':{'type':Sequelize['DATE']},'providerName':{'type':Sequelize[_0x9161('0x4')]},'providerResponse':{'type':Sequelize['TEXT']}};