Built motion from commit 14588770.|2.5.38
[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 _0xf480=['exports','STRING','INTEGER','DATE','getDataValue','enterAt','diff','seconds','setDataValue','exitAt','duration','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[start]','talk:[destination]','talk:[dial\x20string]','talk:[queue]','moment'];(function(_0x3351bf,_0x1acad8){var _0x535d15=function(_0x22518d){while(--_0x22518d){_0x3351bf['push'](_0x3351bf['shift']());}};_0x535d15(++_0x1acad8);}(_0xf480,0x1ca));var _0x0f48=function(_0xe54280,_0x134bb5){_0xe54280=_0xe54280-0x0;var _0x133eeb=_0xf480[_0xe54280];return _0x133eeb;};'use strict';var Sequelize=require('sequelize');var moment=require(_0x0f48('0x0'));module[_0x0f48('0x1')]={'channel':{'type':Sequelize[_0x0f48('0x2')]},'membername':{'type':Sequelize[_0x0f48('0x2')]},'interface':{'type':Sequelize[_0x0f48('0x2')]},'type':{'type':Sequelize[_0x0f48('0x2')],'defaultValue':'DEFAULT\x20PAUSE','comment':'LOGIN,\x20PAUSE,\x20TALKING'},'duration':{'type':Sequelize[_0x0f48('0x3')]},'enterAt':{'type':Sequelize[_0x0f48('0x4')]},'exitAt':{'type':Sequelize[_0x0f48('0x4')],'set':function(_0x34eb4e){var _0xdf8177=moment(_0x34eb4e);var _0xa3dfda=moment(this[_0x0f48('0x5')](_0x0f48('0x6')));var _0x3ee064=_0xdf8177[_0x0f48('0x7')](_0xa3dfda,_0x0f48('0x8'));this[_0x0f48('0x9')](_0x0f48('0xa'),_0x34eb4e);this['setDataValue'](_0x0f48('0xb'),_0x3ee064>=0x0?_0x3ee064:null);}},'data1':{'type':Sequelize[_0x0f48('0x2')],'comment':_0x0f48('0xc')},'data2':{'type':Sequelize['STRING'],'comment':_0x0f48('0xd')},'data3':{'type':Sequelize[_0x0f48('0x2')],'comment':_0x0f48('0xe')},'data4':{'type':Sequelize[_0x0f48('0x2')],'comment':_0x0f48('0xf')},'data5':{'type':Sequelize[_0x0f48('0x2')],'comment':_0x0f48('0x10')},'role':{'type':Sequelize[_0x0f48('0x2')]},'internal':{'type':Sequelize[_0x0f48('0x3')]},'uniqueid':{'type':Sequelize[_0x0f48('0x2')]}};