Built motion from commit (unavailable).|2.4.4
[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 _0xb692=['setDataValue','duration','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[start]','talk:[destination]','talk:[dial\x20string]','talk:[queue]','sequelize','exports','STRING','LOGIN,\x20PAUSE,\x20TALKING','INTEGER','DATE','getDataValue','diff','seconds'];(function(_0x211c75,_0x4f7259){var _0x53991e=function(_0x200d28){while(--_0x200d28){_0x211c75['push'](_0x211c75['shift']());}};_0x53991e(++_0x4f7259);}(_0xb692,0x77));var _0x2b69=function(_0x1ca9e9,_0x1c4391){_0x1ca9e9=_0x1ca9e9-0x0;var _0x309f3c=_0xb692[_0x1ca9e9];return _0x309f3c;};'use strict';var Sequelize=require(_0x2b69('0x0'));var moment=require('moment');module[_0x2b69('0x1')]={'channel':{'type':Sequelize['STRING']},'membername':{'type':Sequelize[_0x2b69('0x2')]},'interface':{'type':Sequelize[_0x2b69('0x2')]},'type':{'type':Sequelize[_0x2b69('0x2')],'defaultValue':'DEFAULT\x20PAUSE','comment':_0x2b69('0x3')},'duration':{'type':Sequelize[_0x2b69('0x4')]},'enterAt':{'type':Sequelize[_0x2b69('0x5')]},'exitAt':{'type':Sequelize['DATE'],'set':function(_0x16ce65){var _0x180047=moment(_0x16ce65);var _0x3133fe=moment(this[_0x2b69('0x6')]('enterAt'));var _0x228f29=_0x180047[_0x2b69('0x7')](_0x3133fe,_0x2b69('0x8'));this[_0x2b69('0x9')]('exitAt',_0x16ce65);this[_0x2b69('0x9')](_0x2b69('0xa'),_0x228f29||null);}},'data1':{'type':Sequelize['STRING'],'comment':_0x2b69('0xb')},'data2':{'type':Sequelize['STRING'],'comment':_0x2b69('0xc')},'data3':{'type':Sequelize['STRING'],'comment':_0x2b69('0xd')},'data4':{'type':Sequelize['STRING'],'comment':_0x2b69('0xe')},'data5':{'type':Sequelize[_0x2b69('0x2')],'comment':_0x2b69('0xf')},'role':{'type':Sequelize['STRING']},'internal':{'type':Sequelize['INTEGER']},'uniqueid':{'type':Sequelize['STRING']}};