Built motion from commit 639a1a7f.|2.6.19
[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 _0xee83=['seconds','exitAt','setDataValue','duration','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[start]','talk:[destination]','talk:[queue]','sequelize','moment','STRING','DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING','INTEGER','DATE','enterAt','diff'];(function(_0xf3d909,_0xb9e263){var _0x24bab6=function(_0x4aea4f){while(--_0x4aea4f){_0xf3d909['push'](_0xf3d909['shift']());}};_0x24bab6(++_0xb9e263);}(_0xee83,0xd4));var _0x3ee8=function(_0x5627a7,_0x5bd2d1){_0x5627a7=_0x5627a7-0x0;var _0x4ea342=_0xee83[_0x5627a7];return _0x4ea342;};'use strict';var Sequelize=require(_0x3ee8('0x0'));var moment=require(_0x3ee8('0x1'));module['exports']={'channel':{'type':Sequelize[_0x3ee8('0x2')]},'membername':{'type':Sequelize[_0x3ee8('0x2')]},'interface':{'type':Sequelize[_0x3ee8('0x2')]},'type':{'type':Sequelize[_0x3ee8('0x2')],'defaultValue':_0x3ee8('0x3'),'comment':_0x3ee8('0x4')},'duration':{'type':Sequelize[_0x3ee8('0x5')]},'enterAt':{'type':Sequelize[_0x3ee8('0x6')]},'exitAt':{'type':Sequelize[_0x3ee8('0x6')],'set':function(_0x255306){var _0xcc314b=moment(_0x255306);var _0x4398d7=moment(this['getDataValue'](_0x3ee8('0x7')));var _0x39eddf=_0xcc314b[_0x3ee8('0x8')](_0x4398d7,_0x3ee8('0x9'));this['setDataValue'](_0x3ee8('0xa'),_0x255306);this[_0x3ee8('0xb')](_0x3ee8('0xc'),_0x39eddf>=0x0?_0x39eddf:null);}},'data1':{'type':Sequelize[_0x3ee8('0x2')],'comment':_0x3ee8('0xd')},'data2':{'type':Sequelize[_0x3ee8('0x2')],'comment':_0x3ee8('0xe')},'data3':{'type':Sequelize[_0x3ee8('0x2')],'comment':_0x3ee8('0xf')},'data4':{'type':Sequelize[_0x3ee8('0x2')],'comment':'talk:[dial\x20string]'},'data5':{'type':Sequelize['STRING'],'comment':_0x3ee8('0x10')},'role':{'type':Sequelize['STRING']},'internal':{'type':Sequelize[_0x3ee8('0x5')]},'uniqueid':{'type':Sequelize[_0x3ee8('0x2')]}};