Built motion from commit b0a9a629.|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 _0xdc4c=['STRING','DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING','INTEGER','DATE','getDataValue','enterAt','diff','seconds','setDataValue','exitAt','duration','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[start]','talk:[destination]','talk:[dial\x20string]','sequelize','exports'];(function(_0x411017,_0x4a8117){var _0x2adeea=function(_0x545222){while(--_0x545222){_0x411017['push'](_0x411017['shift']());}};_0x2adeea(++_0x4a8117);}(_0xdc4c,0x166));var _0xcdc4=function(_0x27fe02,_0x4b1e01){_0x27fe02=_0x27fe02-0x0;var _0x2064d7=_0xdc4c[_0x27fe02];return _0x2064d7;};'use strict';var Sequelize=require(_0xcdc4('0x0'));var moment=require('moment');module[_0xcdc4('0x1')]={'channel':{'type':Sequelize[_0xcdc4('0x2')]},'membername':{'type':Sequelize[_0xcdc4('0x2')]},'interface':{'type':Sequelize[_0xcdc4('0x2')]},'type':{'type':Sequelize['STRING'],'defaultValue':_0xcdc4('0x3'),'comment':_0xcdc4('0x4')},'duration':{'type':Sequelize[_0xcdc4('0x5')]},'enterAt':{'type':Sequelize[_0xcdc4('0x6')]},'exitAt':{'type':Sequelize[_0xcdc4('0x6')],'set':function(_0x1bda2f){var _0x563aeb=moment(_0x1bda2f);var _0x50850e=moment(this[_0xcdc4('0x7')](_0xcdc4('0x8')));var _0x1f978a=_0x563aeb[_0xcdc4('0x9')](_0x50850e,_0xcdc4('0xa'));this[_0xcdc4('0xb')](_0xcdc4('0xc'),_0x1bda2f);this[_0xcdc4('0xb')](_0xcdc4('0xd'),_0x1f978a>=0x0?_0x1f978a:null);}},'data1':{'type':Sequelize[_0xcdc4('0x2')],'comment':_0xcdc4('0xe')},'data2':{'type':Sequelize['STRING'],'comment':_0xcdc4('0xf')},'data3':{'type':Sequelize[_0xcdc4('0x2')],'comment':_0xcdc4('0x10')},'data4':{'type':Sequelize[_0xcdc4('0x2')],'comment':_0xcdc4('0x11')},'data5':{'type':Sequelize[_0xcdc4('0x2')],'comment':'talk:[queue]'},'role':{'type':Sequelize[_0xcdc4('0x2')]},'internal':{'type':Sequelize['INTEGER']},'uniqueid':{'type':Sequelize[_0xcdc4('0x2')]}};