e10139ba9db951ad63e1d5d68b990734d877b31c
[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 _0x0fc9=['BOOLEAN','ENUM','out','DATE','STRING','TEXT','exports'];(function(_0x4f066c,_0x15fa79){var _0x474585=function(_0x5c67d5){while(--_0x5c67d5){_0x4f066c['push'](_0x4f066c['shift']());}};_0x474585(++_0x15fa79);}(_0x0fc9,0xf4));var _0x90fc=function(_0x3b380d,_0x4bf247){_0x3b380d=_0x3b380d-0x0;var _0x54502b=_0x0fc9[_0x3b380d];return _0x54502b;};'use strict';var Sequelize=require('sequelize');module[_0x90fc('0x0')]={'body':{'type':Sequelize['TEXT']('medium'),'allowNull':![]},'read':{'type':Sequelize[_0x90fc('0x1')],'defaultValue':![]},'secret':{'type':Sequelize[_0x90fc('0x1')],'defaultValue':![]},'direction':{'type':Sequelize[_0x90fc('0x2')]('in',_0x90fc('0x3')),'defaultValue':_0x90fc('0x3'),'allowNull':![]},'readAt':{'type':Sequelize[_0x90fc('0x4')]},'providerName':{'type':Sequelize[_0x90fc('0x5')]},'providerResponse':{'type':Sequelize[_0x90fc('0x6')]}};