Built motion from commit eddce310.|2.6.12
[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 _0x676d=['seconds','setDataValue','exitAt','duration','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[destination]','talk:[dial\x20string]','talk:[queue]','sequelize','moment','exports','STRING','DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING','INTEGER','getDataValue','enterAt','diff'];(function(_0x3732ac,_0x1ff4d2){var _0x50aae6=function(_0x5179b2){while(--_0x5179b2){_0x3732ac['push'](_0x3732ac['shift']());}};_0x50aae6(++_0x1ff4d2);}(_0x676d,0x1dc));var _0xd676=function(_0x9fe42d,_0x5c16b7){_0x9fe42d=_0x9fe42d-0x0;var _0x4ca08c=_0x676d[_0x9fe42d];return _0x4ca08c;};'use strict';var Sequelize=require(_0xd676('0x0'));var moment=require(_0xd676('0x1'));module[_0xd676('0x2')]={'channel':{'type':Sequelize['STRING']},'membername':{'type':Sequelize['STRING']},'interface':{'type':Sequelize[_0xd676('0x3')]},'type':{'type':Sequelize[_0xd676('0x3')],'defaultValue':_0xd676('0x4'),'comment':_0xd676('0x5')},'duration':{'type':Sequelize[_0xd676('0x6')]},'enterAt':{'type':Sequelize['DATE']},'exitAt':{'type':Sequelize['DATE'],'set':function(_0x125e7d){var _0xcdef9e=moment(_0x125e7d);var _0x43f73b=moment(this[_0xd676('0x7')](_0xd676('0x8')));var _0x39a146=_0xcdef9e[_0xd676('0x9')](_0x43f73b,_0xd676('0xa'));this[_0xd676('0xb')](_0xd676('0xc'),_0x125e7d);this[_0xd676('0xb')](_0xd676('0xd'),_0x39a146>=0x0?_0x39a146:null);}},'data1':{'type':Sequelize['STRING'],'comment':_0xd676('0xe')},'data2':{'type':Sequelize[_0xd676('0x3')],'comment':'talk:[start]'},'data3':{'type':Sequelize[_0xd676('0x3')],'comment':_0xd676('0xf')},'data4':{'type':Sequelize[_0xd676('0x3')],'comment':_0xd676('0x10')},'data5':{'type':Sequelize['STRING'],'comment':_0xd676('0x11')},'role':{'type':Sequelize['STRING']},'internal':{'type':Sequelize['INTEGER']},'uniqueid':{'type':Sequelize[_0xd676('0x3')]}};