6a36b5812d6b87017cf24af4ab3a1e4bc0fdabab
[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 _0x69be=['talk:[start]','talk:[dial\x20string]','talk:[queue]','sequelize','moment','exports','STRING','DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING','INTEGER','DATE','getDataValue','enterAt','diff','setDataValue','exitAt','duration'];(function(_0x2bd66b,_0x13a4a9){var _0x2f30fe=function(_0x33e69a){while(--_0x33e69a){_0x2bd66b['push'](_0x2bd66b['shift']());}};_0x2f30fe(++_0x13a4a9);}(_0x69be,0x1f0));var _0xe69b=function(_0xca00ad,_0x157742){_0xca00ad=_0xca00ad-0x0;var _0x324aef=_0x69be[_0xca00ad];return _0x324aef;};'use strict';var Sequelize=require(_0xe69b('0x0'));var moment=require(_0xe69b('0x1'));module[_0xe69b('0x2')]={'channel':{'type':Sequelize['STRING']},'membername':{'type':Sequelize[_0xe69b('0x3')]},'interface':{'type':Sequelize[_0xe69b('0x3')]},'type':{'type':Sequelize[_0xe69b('0x3')],'defaultValue':_0xe69b('0x4'),'comment':_0xe69b('0x5')},'duration':{'type':Sequelize[_0xe69b('0x6')]},'enterAt':{'type':Sequelize[_0xe69b('0x7')]},'exitAt':{'type':Sequelize[_0xe69b('0x7')],'set':function(_0x159113){var _0x3cc10b=moment(_0x159113);var _0x544b12=moment(this[_0xe69b('0x8')](_0xe69b('0x9')));var _0x34caa0=_0x3cc10b[_0xe69b('0xa')](_0x544b12,'seconds');this[_0xe69b('0xb')](_0xe69b('0xc'),_0x159113);this[_0xe69b('0xb')](_0xe69b('0xd'),_0x34caa0||null);}},'data1':{'type':Sequelize[_0xe69b('0x3')],'comment':'talk:[inbound,\x20outbound],\x20pause:[reason]'},'data2':{'type':Sequelize['STRING'],'comment':_0xe69b('0xe')},'data3':{'type':Sequelize['STRING'],'comment':'talk:[destination]'},'data4':{'type':Sequelize[_0xe69b('0x3')],'comment':_0xe69b('0xf')},'data5':{'type':Sequelize['STRING'],'comment':_0xe69b('0x10')},'role':{'type':Sequelize[_0xe69b('0x3')]},'internal':{'type':Sequelize[_0xe69b('0x6')]},'uniqueid':{'type':Sequelize[_0xe69b('0x3')]}};