4030f4ef97f4105446d8e678fe10ef233758576c
[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 _0x0db9=['out','DATE','STRING','sequelize','BOOLEAN'];(function(_0x241379,_0x55f62f){var _0xc20e73=function(_0x5a63a8){while(--_0x5a63a8){_0x241379['push'](_0x241379['shift']());}};_0xc20e73(++_0x55f62f);}(_0x0db9,0xa3));var _0x90db=function(_0xd2e2ab,_0x2440cf){_0xd2e2ab=_0xd2e2ab-0x0;var _0x1703a2=_0x0db9[_0xd2e2ab];return _0x1703a2;};'use strict';var Sequelize=require(_0x90db('0x0'));module['exports']={'body':{'type':Sequelize['TEXT']('medium'),'allowNull':![]},'read':{'type':Sequelize[_0x90db('0x1')],'defaultValue':![]},'secret':{'type':Sequelize[_0x90db('0x1')],'defaultValue':![]},'direction':{'type':Sequelize['ENUM']('in',_0x90db('0x2')),'defaultValue':'out','allowNull':![]},'readAt':{'type':Sequelize[_0x90db('0x3')]},'providerName':{'type':Sequelize[_0x90db('0x4')]},'providerResponse':{'type':Sequelize['TEXT']}};