ad31a8a073acb3f5d15564161309ee41554432b7
[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 _0x0dbd=['sequelize','exports','medium','BOOLEAN','out','TEXT'];(function(_0x1877f6,_0x36065d){var _0xc063c5=function(_0x16970c){while(--_0x16970c){_0x1877f6['push'](_0x1877f6['shift']());}};_0xc063c5(++_0x36065d);}(_0x0dbd,0xc0));var _0xd0db=function(_0x59319e,_0x65c198){_0x59319e=_0x59319e-0x0;var _0x12acee=_0x0dbd[_0x59319e];return _0x12acee;};'use strict';var Sequelize=require(_0xd0db('0x0'));module[_0xd0db('0x1')]={'body':{'type':Sequelize['TEXT'](_0xd0db('0x2')),'allowNull':![]},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'secret':{'type':Sequelize[_0xd0db('0x3')],'defaultValue':![]},'direction':{'type':Sequelize['ENUM']('in',_0xd0db('0x4')),'defaultValue':_0xd0db('0x4'),'allowNull':![]},'readAt':{'type':Sequelize['DATE']},'providerName':{'type':Sequelize['STRING']},'providerResponse':{'type':Sequelize[_0xd0db('0x5')]}};