975581781f70314f9bef0f1de46e89a0301b4aab
[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 _0x9354=['out','DATE','STRING','exports','TEXT','BOOLEAN','ENUM'];(function(_0x4e9d3c,_0x1f4b98){var _0x2d0825=function(_0x384676){while(--_0x384676){_0x4e9d3c['push'](_0x4e9d3c['shift']());}};_0x2d0825(++_0x1f4b98);}(_0x9354,0x96));var _0x4935=function(_0x4a1353,_0x2fbe86){_0x4a1353=_0x4a1353-0x0;var _0x3805cc=_0x9354[_0x4a1353];return _0x3805cc;};'use strict';var Sequelize=require('sequelize');module[_0x4935('0x0')]={'body':{'type':Sequelize[_0x4935('0x1')]('medium'),'allowNull':![]},'read':{'type':Sequelize[_0x4935('0x2')],'defaultValue':![]},'secret':{'type':Sequelize[_0x4935('0x2')],'defaultValue':![]},'direction':{'type':Sequelize[_0x4935('0x3')]('in',_0x4935('0x4')),'defaultValue':'out','allowNull':![]},'readAt':{'type':Sequelize[_0x4935('0x5')]},'providerName':{'type':Sequelize[_0x4935('0x6')]},'providerResponse':{'type':Sequelize[_0x4935('0x1')]}};