Built motion from commit 00bf23f6.|2.6.16
[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 _0x19ab=['sequelize','moment','exports','STRING','DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING','DATE','getDataValue','enterAt','diff','seconds','exitAt','setDataValue','duration','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[start]','talk:[destination]','talk:[dial\x20string]','INTEGER'];(function(_0x132293,_0x259f25){var _0x31a4a2=function(_0x221339){while(--_0x221339){_0x132293['push'](_0x132293['shift']());}};_0x31a4a2(++_0x259f25);}(_0x19ab,0x1a2));var _0xb19a=function(_0x4ccfd7,_0x5a625a){_0x4ccfd7=_0x4ccfd7-0x0;var _0x542fa9=_0x19ab[_0x4ccfd7];return _0x542fa9;};'use strict';var Sequelize=require(_0xb19a('0x0'));var moment=require(_0xb19a('0x1'));module[_0xb19a('0x2')]={'channel':{'type':Sequelize[_0xb19a('0x3')]},'membername':{'type':Sequelize['STRING']},'interface':{'type':Sequelize[_0xb19a('0x3')]},'type':{'type':Sequelize[_0xb19a('0x3')],'defaultValue':_0xb19a('0x4'),'comment':_0xb19a('0x5')},'duration':{'type':Sequelize['INTEGER']},'enterAt':{'type':Sequelize[_0xb19a('0x6')]},'exitAt':{'type':Sequelize[_0xb19a('0x6')],'set':function(_0x41a467){var _0x40ac54=moment(_0x41a467);var _0x3a6881=moment(this[_0xb19a('0x7')](_0xb19a('0x8')));var _0x52c15d=_0x40ac54[_0xb19a('0x9')](_0x3a6881,_0xb19a('0xa'));this['setDataValue'](_0xb19a('0xb'),_0x41a467);this[_0xb19a('0xc')](_0xb19a('0xd'),_0x52c15d>=0x0?_0x52c15d:null);}},'data1':{'type':Sequelize[_0xb19a('0x3')],'comment':_0xb19a('0xe')},'data2':{'type':Sequelize[_0xb19a('0x3')],'comment':_0xb19a('0xf')},'data3':{'type':Sequelize[_0xb19a('0x3')],'comment':_0xb19a('0x10')},'data4':{'type':Sequelize[_0xb19a('0x3')],'comment':_0xb19a('0x11')},'data5':{'type':Sequelize[_0xb19a('0x3')],'comment':'talk:[queue]'},'role':{'type':Sequelize[_0xb19a('0x3')]},'internal':{'type':Sequelize[_0xb19a('0x12')]},'uniqueid':{'type':Sequelize['STRING']}};