Built motion from commit (unavailable).|2.6.0
[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 _0xf071=['DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING','INTEGER','DATE','getDataValue','enterAt','diff','seconds','setDataValue','exitAt','duration','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[destination]','talk:[dial\x20string]','talk:[queue]','sequelize','exports','STRING'];(function(_0x18bf36,_0x45dfd3){var _0x2234d6=function(_0x366e21){while(--_0x366e21){_0x18bf36['push'](_0x18bf36['shift']());}};_0x2234d6(++_0x45dfd3);}(_0xf071,0x189));var _0x1f07=function(_0x5a009e,_0x287cf6){_0x5a009e=_0x5a009e-0x0;var _0x413e16=_0xf071[_0x5a009e];return _0x413e16;};'use strict';var Sequelize=require(_0x1f07('0x0'));var moment=require('moment');module[_0x1f07('0x1')]={'channel':{'type':Sequelize['STRING']},'membername':{'type':Sequelize[_0x1f07('0x2')]},'interface':{'type':Sequelize[_0x1f07('0x2')]},'type':{'type':Sequelize[_0x1f07('0x2')],'defaultValue':_0x1f07('0x3'),'comment':_0x1f07('0x4')},'duration':{'type':Sequelize[_0x1f07('0x5')]},'enterAt':{'type':Sequelize[_0x1f07('0x6')]},'exitAt':{'type':Sequelize[_0x1f07('0x6')],'set':function(_0x32a300){var _0x121abf=moment(_0x32a300);var _0x1fd08f=moment(this[_0x1f07('0x7')](_0x1f07('0x8')));var _0x48724c=_0x121abf[_0x1f07('0x9')](_0x1fd08f,_0x1f07('0xa'));this[_0x1f07('0xb')](_0x1f07('0xc'),_0x32a300);this[_0x1f07('0xb')](_0x1f07('0xd'),_0x48724c||null);}},'data1':{'type':Sequelize[_0x1f07('0x2')],'comment':_0x1f07('0xe')},'data2':{'type':Sequelize[_0x1f07('0x2')],'comment':'talk:[start]'},'data3':{'type':Sequelize[_0x1f07('0x2')],'comment':_0x1f07('0xf')},'data4':{'type':Sequelize[_0x1f07('0x2')],'comment':_0x1f07('0x10')},'data5':{'type':Sequelize[_0x1f07('0x2')],'comment':_0x1f07('0x11')},'role':{'type':Sequelize['STRING']},'internal':{'type':Sequelize[_0x1f07('0x5')]},'uniqueid':{'type':Sequelize['STRING']}};