282b486766cf816e7c1c94d0634f125f9c444de5
[motion2.git] / server / api / openchannelMessage / openchannelMessage.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 _0x0736=['out','DATE','STRING','TEXT','sequelize','medium','BOOLEAN'];(function(_0x12dc94,_0x2a43c6){var _0x49a414=function(_0x14708a){while(--_0x14708a){_0x12dc94['push'](_0x12dc94['shift']());}};_0x49a414(++_0x2a43c6);}(_0x0736,0x154));var _0x6073=function(_0xc1f1a2,_0x1c2d0c){_0xc1f1a2=_0xc1f1a2-0x0;var _0x56e4d0=_0x0736[_0xc1f1a2];return _0x56e4d0;};'use strict';var Sequelize=require(_0x6073('0x0'));module['exports']={'body':{'type':Sequelize['TEXT'](_0x6073('0x1')),'allowNull':![]},'read':{'type':Sequelize[_0x6073('0x2')],'defaultValue':![]},'secret':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize['ENUM']('in',_0x6073('0x3')),'defaultValue':_0x6073('0x3'),'allowNull':![]},'readAt':{'type':Sequelize[_0x6073('0x4')]},'providerName':{'type':Sequelize[_0x6073('0x5')]},'providerResponse':{'type':Sequelize[_0x6073('0x6')]}};