411cfb6c13ce0ddbd6186083ea0bee948f3e039c
[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 _0x0b72=['ENUM','out','DATE','STRING','sequelize','exports','TEXT'];(function(_0x47b82b,_0x3cb7ac){var _0x776030=function(_0x1d043c){while(--_0x1d043c){_0x47b82b['push'](_0x47b82b['shift']());}};_0x776030(++_0x3cb7ac);}(_0x0b72,0x15b));var _0x20b7=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x0b72[_0x3dd15e];return _0x231fd0;};'use strict';var Sequelize=require(_0x20b7('0x0'));module[_0x20b7('0x1')]={'body':{'type':Sequelize[_0x20b7('0x2')]('medium'),'allowNull':![]},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'secret':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize[_0x20b7('0x3')]('in',_0x20b7('0x4')),'defaultValue':_0x20b7('0x4'),'allowNull':![]},'readAt':{'type':Sequelize[_0x20b7('0x5')]},'providerName':{'type':Sequelize[_0x20b7('0x6')]},'providerResponse':{'type':Sequelize[_0x20b7('0x2')]}};