Built motion from commit 43538d75.|2.5.35
[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 _0xc30d=['STRING','LOGIN,\x20PAUSE,\x20TALKING','DATE','getDataValue','diff','seconds','setDataValue','exitAt','duration','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[destination]','talk:[dial\x20string]','talk:[queue]','INTEGER','sequelize','exports'];(function(_0x2c21ec,_0x101c8c){var _0x3f814b=function(_0x49e3cc){while(--_0x49e3cc){_0x2c21ec['push'](_0x2c21ec['shift']());}};_0x3f814b(++_0x101c8c);}(_0xc30d,0x6e));var _0xdc30=function(_0x5cb4f0,_0xb16665){_0x5cb4f0=_0x5cb4f0-0x0;var _0x22208=_0xc30d[_0x5cb4f0];return _0x22208;};'use strict';var Sequelize=require(_0xdc30('0x0'));var moment=require('moment');module[_0xdc30('0x1')]={'channel':{'type':Sequelize[_0xdc30('0x2')]},'membername':{'type':Sequelize[_0xdc30('0x2')]},'interface':{'type':Sequelize[_0xdc30('0x2')]},'type':{'type':Sequelize[_0xdc30('0x2')],'defaultValue':'DEFAULT\x20PAUSE','comment':_0xdc30('0x3')},'duration':{'type':Sequelize['INTEGER']},'enterAt':{'type':Sequelize[_0xdc30('0x4')]},'exitAt':{'type':Sequelize[_0xdc30('0x4')],'set':function(_0x1d2db4){var _0x3e480e=moment(_0x1d2db4);var _0x4011da=moment(this[_0xdc30('0x5')]('enterAt'));var _0x1cdfb4=_0x3e480e[_0xdc30('0x6')](_0x4011da,_0xdc30('0x7'));this[_0xdc30('0x8')](_0xdc30('0x9'),_0x1d2db4);this[_0xdc30('0x8')](_0xdc30('0xa'),_0x1cdfb4||null);}},'data1':{'type':Sequelize[_0xdc30('0x2')],'comment':_0xdc30('0xb')},'data2':{'type':Sequelize['STRING'],'comment':'talk:[start]'},'data3':{'type':Sequelize['STRING'],'comment':_0xdc30('0xc')},'data4':{'type':Sequelize[_0xdc30('0x2')],'comment':_0xdc30('0xd')},'data5':{'type':Sequelize[_0xdc30('0x2')],'comment':_0xdc30('0xe')},'role':{'type':Sequelize[_0xdc30('0x2')]},'internal':{'type':Sequelize[_0xdc30('0xf')]},'uniqueid':{'type':Sequelize['STRING']}};