Built motion from commit d6d69adf.|2.6.33
[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 _0x0478=['talk:[dial\x20string]','sequelize','moment','exports','STRING','DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING','INTEGER','DATE','getDataValue','seconds','exitAt','setDataValue','duration','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[start]','talk:[destination]'];(function(_0x25d386,_0x108d0d){var _0x857f4a=function(_0x3eb98d){while(--_0x3eb98d){_0x25d386['push'](_0x25d386['shift']());}};_0x857f4a(++_0x108d0d);}(_0x0478,0xde));var _0x8047=function(_0xf799f8,_0x9a23){_0xf799f8=_0xf799f8-0x0;var _0x17ef1b=_0x0478[_0xf799f8];return _0x17ef1b;};'use strict';var Sequelize=require(_0x8047('0x0'));var moment=require(_0x8047('0x1'));module[_0x8047('0x2')]={'channel':{'type':Sequelize[_0x8047('0x3')]},'membername':{'type':Sequelize[_0x8047('0x3')]},'interface':{'type':Sequelize[_0x8047('0x3')]},'type':{'type':Sequelize[_0x8047('0x3')],'defaultValue':_0x8047('0x4'),'comment':_0x8047('0x5')},'duration':{'type':Sequelize[_0x8047('0x6')]},'enterAt':{'type':Sequelize['DATE']},'exitAt':{'type':Sequelize[_0x8047('0x7')],'set':function(_0x1d6c29){var _0x336e45=moment(_0x1d6c29);var _0x5259ab=moment(this[_0x8047('0x8')]('enterAt'));var _0x433575=_0x336e45['diff'](_0x5259ab,_0x8047('0x9'));this['setDataValue'](_0x8047('0xa'),_0x1d6c29);this[_0x8047('0xb')](_0x8047('0xc'),_0x433575>=0x0?_0x433575:null);}},'data1':{'type':Sequelize[_0x8047('0x3')],'comment':_0x8047('0xd')},'data2':{'type':Sequelize[_0x8047('0x3')],'comment':_0x8047('0xe')},'data3':{'type':Sequelize[_0x8047('0x3')],'comment':_0x8047('0xf')},'data4':{'type':Sequelize[_0x8047('0x3')],'comment':_0x8047('0x10')},'data5':{'type':Sequelize['STRING'],'comment':'talk:[queue]'},'role':{'type':Sequelize['STRING']},'internal':{'type':Sequelize[_0x8047('0x6')]},'uniqueid':{'type':Sequelize[_0x8047('0x3')]}};