e630fdbcb63fd330ce5e1c5d74c604dd7cf0c2b6
[motion2.git] / server / api / memberReport / memberReport.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 _0xb1c9=['enterAt','diff','seconds','setDataValue','exitAt','duration','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[start]','talk:[destination]','talk:[queue]','sequelize','exports','STRING','DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING','INTEGER','DATE','getDataValue'];(function(_0x3a7a9c,_0x24f7d6){var _0x59156e=function(_0x5bc930){while(--_0x5bc930){_0x3a7a9c['push'](_0x3a7a9c['shift']());}};_0x59156e(++_0x24f7d6);}(_0xb1c9,0x1cc));var _0x9b1c=function(_0x2064e5,_0x4f6fa2){_0x2064e5=_0x2064e5-0x0;var _0x21a233=_0xb1c9[_0x2064e5];return _0x21a233;};'use strict';var Sequelize=require(_0x9b1c('0x0'));var moment=require('moment');module[_0x9b1c('0x1')]={'channel':{'type':Sequelize[_0x9b1c('0x2')]},'membername':{'type':Sequelize[_0x9b1c('0x2')]},'interface':{'type':Sequelize[_0x9b1c('0x2')]},'type':{'type':Sequelize[_0x9b1c('0x2')],'defaultValue':_0x9b1c('0x3'),'comment':_0x9b1c('0x4')},'duration':{'type':Sequelize[_0x9b1c('0x5')]},'enterAt':{'type':Sequelize[_0x9b1c('0x6')]},'exitAt':{'type':Sequelize['DATE'],'set':function(_0x5e7a13){var _0x144ab2=moment(_0x5e7a13);var _0x275d5a=moment(this[_0x9b1c('0x7')](_0x9b1c('0x8')));var _0x254964=_0x144ab2[_0x9b1c('0x9')](_0x275d5a,_0x9b1c('0xa'));this[_0x9b1c('0xb')](_0x9b1c('0xc'),_0x5e7a13);this[_0x9b1c('0xb')](_0x9b1c('0xd'),_0x254964>=0x0?_0x254964:null);}},'data1':{'type':Sequelize[_0x9b1c('0x2')],'comment':_0x9b1c('0xe')},'data2':{'type':Sequelize[_0x9b1c('0x2')],'comment':_0x9b1c('0xf')},'data3':{'type':Sequelize[_0x9b1c('0x2')],'comment':_0x9b1c('0x10')},'data4':{'type':Sequelize[_0x9b1c('0x2')],'comment':'talk:[dial\x20string]'},'data5':{'type':Sequelize[_0x9b1c('0x2')],'comment':_0x9b1c('0x11')},'role':{'type':Sequelize[_0x9b1c('0x2')]},'internal':{'type':Sequelize[_0x9b1c('0x5')]},'uniqueid':{'type':Sequelize[_0x9b1c('0x2')]}};