50e3ada8880f6f7f182870bd247f2f53ad20046d
[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 _0x9671=['LOGIN,\x20PAUSE,\x20TALKING','INTEGER','DATE','getDataValue','enterAt','diff','setDataValue','duration','talk:[start]','talk:[destination]','talk:[dial\x20string]','talk:[queue]','sequelize','moment','exports','STRING','DEFAULT\x20PAUSE'];(function(_0x1c7ae9,_0x58c7a4){var _0x2d7132=function(_0x466eb9){while(--_0x466eb9){_0x1c7ae9['push'](_0x1c7ae9['shift']());}};_0x2d7132(++_0x58c7a4);}(_0x9671,0x94));var _0x1967=function(_0x54d69c,_0x4c8c65){_0x54d69c=_0x54d69c-0x0;var _0x2f70cc=_0x9671[_0x54d69c];return _0x2f70cc;};'use strict';var Sequelize=require(_0x1967('0x0'));var moment=require(_0x1967('0x1'));module[_0x1967('0x2')]={'channel':{'type':Sequelize['STRING']},'membername':{'type':Sequelize[_0x1967('0x3')]},'interface':{'type':Sequelize[_0x1967('0x3')]},'type':{'type':Sequelize[_0x1967('0x3')],'defaultValue':_0x1967('0x4'),'comment':_0x1967('0x5')},'duration':{'type':Sequelize[_0x1967('0x6')]},'enterAt':{'type':Sequelize[_0x1967('0x7')]},'exitAt':{'type':Sequelize[_0x1967('0x7')],'set':function(_0x374f61){var _0x11d689=moment(_0x374f61);var _0x407b89=moment(this[_0x1967('0x8')](_0x1967('0x9')));var _0x14fc0d=_0x11d689[_0x1967('0xa')](_0x407b89,'seconds');this[_0x1967('0xb')]('exitAt',_0x374f61);this[_0x1967('0xb')](_0x1967('0xc'),_0x14fc0d||null);}},'data1':{'type':Sequelize[_0x1967('0x3')],'comment':'talk:[inbound,\x20outbound],\x20pause:[reason]'},'data2':{'type':Sequelize[_0x1967('0x3')],'comment':_0x1967('0xd')},'data3':{'type':Sequelize['STRING'],'comment':_0x1967('0xe')},'data4':{'type':Sequelize[_0x1967('0x3')],'comment':_0x1967('0xf')},'data5':{'type':Sequelize['STRING'],'comment':_0x1967('0x10')},'role':{'type':Sequelize[_0x1967('0x3')]},'internal':{'type':Sequelize[_0x1967('0x6')]},'uniqueid':{'type':Sequelize[_0x1967('0x3')]}};