Built motion from commit (unavailable).|2.5.17
[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 _0x2da9=['moment','exports','STRING','DEFAULT\x20PAUSE','INTEGER','DATE','getDataValue','enterAt','diff','seconds','setDataValue','exitAt','duration','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[start]','talk:[destination]','talk:[queue]','sequelize'];(function(_0x12c475,_0x258c2c){var _0x533845=function(_0x59ad69){while(--_0x59ad69){_0x12c475['push'](_0x12c475['shift']());}};_0x533845(++_0x258c2c);}(_0x2da9,0x1e5));var _0x92da=function(_0x3edf06,_0x228904){_0x3edf06=_0x3edf06-0x0;var _0x593369=_0x2da9[_0x3edf06];return _0x593369;};'use strict';var Sequelize=require(_0x92da('0x0'));var moment=require(_0x92da('0x1'));module[_0x92da('0x2')]={'channel':{'type':Sequelize['STRING']},'membername':{'type':Sequelize[_0x92da('0x3')]},'interface':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0x92da('0x3')],'defaultValue':_0x92da('0x4'),'comment':'LOGIN,\x20PAUSE,\x20TALKING'},'duration':{'type':Sequelize[_0x92da('0x5')]},'enterAt':{'type':Sequelize[_0x92da('0x6')]},'exitAt':{'type':Sequelize[_0x92da('0x6')],'set':function(_0xe23f77){var _0x2721c1=moment(_0xe23f77);var _0x19a80f=moment(this[_0x92da('0x7')](_0x92da('0x8')));var _0x373ca3=_0x2721c1[_0x92da('0x9')](_0x19a80f,_0x92da('0xa'));this[_0x92da('0xb')](_0x92da('0xc'),_0xe23f77);this['setDataValue'](_0x92da('0xd'),_0x373ca3||null);}},'data1':{'type':Sequelize[_0x92da('0x3')],'comment':_0x92da('0xe')},'data2':{'type':Sequelize[_0x92da('0x3')],'comment':_0x92da('0xf')},'data3':{'type':Sequelize['STRING'],'comment':_0x92da('0x10')},'data4':{'type':Sequelize[_0x92da('0x3')],'comment':'talk:[dial\x20string]'},'data5':{'type':Sequelize[_0x92da('0x3')],'comment':_0x92da('0x11')},'role':{'type':Sequelize['STRING']},'internal':{'type':Sequelize[_0x92da('0x5')]},'uniqueid':{'type':Sequelize[_0x92da('0x3')]}};