Built motion from commit 449495f6.|2.6.27
[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 _0x4d72=['exitAt','duration','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[start]','talk:[destination]','talk:[dial\x20string]','talk:[queue]','sequelize','STRING','DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING','DATE','getDataValue','enterAt','seconds','setDataValue'];(function(_0xf7cd98,_0x458cca){var _0x5d8d0e=function(_0x4873ba){while(--_0x4873ba){_0xf7cd98['push'](_0xf7cd98['shift']());}};_0x5d8d0e(++_0x458cca);}(_0x4d72,0x147));var _0x24d7=function(_0x38049c,_0x7516ac){_0x38049c=_0x38049c-0x0;var _0xa4ab99=_0x4d72[_0x38049c];return _0xa4ab99;};'use strict';var Sequelize=require(_0x24d7('0x0'));var moment=require('moment');module['exports']={'channel':{'type':Sequelize[_0x24d7('0x1')]},'membername':{'type':Sequelize[_0x24d7('0x1')]},'interface':{'type':Sequelize[_0x24d7('0x1')]},'type':{'type':Sequelize[_0x24d7('0x1')],'defaultValue':_0x24d7('0x2'),'comment':_0x24d7('0x3')},'duration':{'type':Sequelize['INTEGER']},'enterAt':{'type':Sequelize[_0x24d7('0x4')]},'exitAt':{'type':Sequelize[_0x24d7('0x4')],'set':function(_0x806ff4){var _0x45741a=moment(_0x806ff4);var _0x4c5928=moment(this[_0x24d7('0x5')](_0x24d7('0x6')));var _0x43d430=_0x45741a['diff'](_0x4c5928,_0x24d7('0x7'));this[_0x24d7('0x8')](_0x24d7('0x9'),_0x806ff4);this[_0x24d7('0x8')](_0x24d7('0xa'),_0x43d430>=0x0?_0x43d430:null);}},'data1':{'type':Sequelize['STRING'],'comment':_0x24d7('0xb')},'data2':{'type':Sequelize[_0x24d7('0x1')],'comment':_0x24d7('0xc')},'data3':{'type':Sequelize[_0x24d7('0x1')],'comment':_0x24d7('0xd')},'data4':{'type':Sequelize['STRING'],'comment':_0x24d7('0xe')},'data5':{'type':Sequelize[_0x24d7('0x1')],'comment':_0x24d7('0xf')},'role':{'type':Sequelize['STRING']},'internal':{'type':Sequelize['INTEGER']},'uniqueid':{'type':Sequelize[_0x24d7('0x1')]}};