Built motion from commit (unavailable).|2.4.18
[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 _0x0419=['STRING','DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING','DATE','diff','setDataValue','exitAt','duration','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[start]','talk:[destination]','talk:[dial\x20string]','talk:[queue]','sequelize','exports'];(function(_0x5b2742,_0x2f8729){var _0x2e5723=function(_0x35f2b9){while(--_0x35f2b9){_0x5b2742['push'](_0x5b2742['shift']());}};_0x2e5723(++_0x2f8729);}(_0x0419,0x67));var _0x9041=function(_0xb4f240,_0x15f734){_0xb4f240=_0xb4f240-0x0;var _0x30682a=_0x0419[_0xb4f240];return _0x30682a;};'use strict';var Sequelize=require(_0x9041('0x0'));var moment=require('moment');module[_0x9041('0x1')]={'channel':{'type':Sequelize[_0x9041('0x2')]},'membername':{'type':Sequelize['STRING']},'interface':{'type':Sequelize[_0x9041('0x2')]},'type':{'type':Sequelize[_0x9041('0x2')],'defaultValue':_0x9041('0x3'),'comment':_0x9041('0x4')},'duration':{'type':Sequelize['INTEGER']},'enterAt':{'type':Sequelize[_0x9041('0x5')]},'exitAt':{'type':Sequelize[_0x9041('0x5')],'set':function(_0x2ccb96){var _0x23d7d6=moment(_0x2ccb96);var _0x24ebe3=moment(this['getDataValue']('enterAt'));var _0x3e81b7=_0x23d7d6[_0x9041('0x6')](_0x24ebe3,'seconds');this[_0x9041('0x7')](_0x9041('0x8'),_0x2ccb96);this['setDataValue'](_0x9041('0x9'),_0x3e81b7||null);}},'data1':{'type':Sequelize[_0x9041('0x2')],'comment':_0x9041('0xa')},'data2':{'type':Sequelize[_0x9041('0x2')],'comment':_0x9041('0xb')},'data3':{'type':Sequelize[_0x9041('0x2')],'comment':_0x9041('0xc')},'data4':{'type':Sequelize['STRING'],'comment':_0x9041('0xd')},'data5':{'type':Sequelize['STRING'],'comment':_0x9041('0xe')},'role':{'type':Sequelize[_0x9041('0x2')]},'internal':{'type':Sequelize['INTEGER']},'uniqueid':{'type':Sequelize[_0x9041('0x2')]}};