728d9a5b8e07a7f927031ad18c44f6224b7794e1
[motion2.git] / server / api / openchannelInteraction / openchannelInteraction.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 _0x51f5=['ENUM','out','STRING','DATE'];(function(_0x3df96e,_0xb71559){var _0x24124c=function(_0x545447){while(--_0x545447){_0x3df96e['push'](_0x3df96e['shift']());}};_0x24124c(++_0xb71559);}(_0x51f5,0xea));var _0x551f=function(_0x1f330e,_0x57de07){_0x1f330e=_0x1f330e-0x0;var _0x936a9d=_0x51f5[_0x1f330e];return _0x936a9d;};'use strict';var Sequelize=require('sequelize');module['exports']={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0x551f('0x0')]},'read1stAt':{'type':Sequelize[_0x551f('0x1')]},'threadId':{'type':Sequelize[_0x551f('0x0')]},'externalUrl':{'type':Sequelize[_0x551f('0x0')]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize[_0x551f('0x2')]('in',_0x551f('0x3')),'defaultValue':'in','allowNull':![]},'from':{'type':Sequelize[_0x551f('0x0')]}};