Built motion from commit (unavailable).|2.4.20
[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 _0xa213=['enterAt','diff','setDataValue','exitAt','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[start]','talk:[destination]','talk:[queue]','moment','exports','STRING','DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING','INTEGER','DATE','getDataValue'];(function(_0x2e71ba,_0x4e04f4){var _0x4715d4=function(_0x33c8be){while(--_0x33c8be){_0x2e71ba['push'](_0x2e71ba['shift']());}};_0x4715d4(++_0x4e04f4);}(_0xa213,0x128));var _0x3a21=function(_0x403254,_0x153b1a){_0x403254=_0x403254-0x0;var _0x3787cf=_0xa213[_0x403254];return _0x3787cf;};'use strict';var Sequelize=require('sequelize');var moment=require(_0x3a21('0x0'));module[_0x3a21('0x1')]={'channel':{'type':Sequelize[_0x3a21('0x2')]},'membername':{'type':Sequelize[_0x3a21('0x2')]},'interface':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0x3a21('0x2')],'defaultValue':_0x3a21('0x3'),'comment':_0x3a21('0x4')},'duration':{'type':Sequelize[_0x3a21('0x5')]},'enterAt':{'type':Sequelize[_0x3a21('0x6')]},'exitAt':{'type':Sequelize['DATE'],'set':function(_0x15f209){var _0x14b95d=moment(_0x15f209);var _0x4fca9b=moment(this[_0x3a21('0x7')](_0x3a21('0x8')));var _0x4c96b1=_0x14b95d[_0x3a21('0x9')](_0x4fca9b,'seconds');this[_0x3a21('0xa')](_0x3a21('0xb'),_0x15f209);this[_0x3a21('0xa')]('duration',_0x4c96b1||null);}},'data1':{'type':Sequelize[_0x3a21('0x2')],'comment':_0x3a21('0xc')},'data2':{'type':Sequelize['STRING'],'comment':_0x3a21('0xd')},'data3':{'type':Sequelize[_0x3a21('0x2')],'comment':_0x3a21('0xe')},'data4':{'type':Sequelize[_0x3a21('0x2')],'comment':'talk:[dial\x20string]'},'data5':{'type':Sequelize[_0x3a21('0x2')],'comment':_0x3a21('0xf')},'role':{'type':Sequelize['STRING']},'internal':{'type':Sequelize[_0x3a21('0x5')]},'uniqueid':{'type':Sequelize[_0x3a21('0x2')]}};