Built motion from commit f74363e9.|2.6.34
[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 _0xec8d=['INTEGER','DATE','getDataValue','diff','seconds','setDataValue','exitAt','duration','talk:[start]','talk:[destination]','sequelize','moment','exports','STRING','DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING'];(function(_0x2ba735,_0x5998b5){var _0x378aa9=function(_0x3f5d9c){while(--_0x3f5d9c){_0x2ba735['push'](_0x2ba735['shift']());}};_0x378aa9(++_0x5998b5);}(_0xec8d,0xba));var _0xdec8=function(_0x4db46b,_0xadcb1a){_0x4db46b=_0x4db46b-0x0;var _0x565be8=_0xec8d[_0x4db46b];return _0x565be8;};'use strict';var Sequelize=require(_0xdec8('0x0'));var moment=require(_0xdec8('0x1'));module[_0xdec8('0x2')]={'channel':{'type':Sequelize[_0xdec8('0x3')]},'membername':{'type':Sequelize[_0xdec8('0x3')]},'interface':{'type':Sequelize[_0xdec8('0x3')]},'type':{'type':Sequelize['STRING'],'defaultValue':_0xdec8('0x4'),'comment':_0xdec8('0x5')},'duration':{'type':Sequelize[_0xdec8('0x6')]},'enterAt':{'type':Sequelize[_0xdec8('0x7')]},'exitAt':{'type':Sequelize[_0xdec8('0x7')],'set':function(_0x269189){var _0x158a2a=moment(_0x269189);var _0x2604c3=moment(this[_0xdec8('0x8')]('enterAt'));var _0x302e83=_0x158a2a[_0xdec8('0x9')](_0x2604c3,_0xdec8('0xa'));this[_0xdec8('0xb')](_0xdec8('0xc'),_0x269189);this[_0xdec8('0xb')](_0xdec8('0xd'),_0x302e83>=0x0?_0x302e83:null);}},'data1':{'type':Sequelize[_0xdec8('0x3')],'comment':'talk:[inbound,\x20outbound],\x20pause:[reason]'},'data2':{'type':Sequelize[_0xdec8('0x3')],'comment':_0xdec8('0xe')},'data3':{'type':Sequelize['STRING'],'comment':_0xdec8('0xf')},'data4':{'type':Sequelize['STRING'],'comment':'talk:[dial\x20string]'},'data5':{'type':Sequelize[_0xdec8('0x3')],'comment':'talk:[queue]'},'role':{'type':Sequelize[_0xdec8('0x3')]},'internal':{'type':Sequelize[_0xdec8('0x6')]},'uniqueid':{'type':Sequelize[_0xdec8('0x3')]}};