Built motion from commit (unavailable).|2.5.31
[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 _0x6000=['sequelize','moment','exports','LOGIN,\x20PAUSE,\x20TALKING','INTEGER','DATE','getDataValue','enterAt','diff','setDataValue','exitAt','duration','STRING','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[start]','talk:[destination]'];(function(_0xee122e,_0x58ef2e){var _0x34f98a=function(_0x18163e){while(--_0x18163e){_0xee122e['push'](_0xee122e['shift']());}};_0x34f98a(++_0x58ef2e);}(_0x6000,0x1f0));var _0x0600=function(_0x5b19cd,_0x36d019){_0x5b19cd=_0x5b19cd-0x0;var _0x389597=_0x6000[_0x5b19cd];return _0x389597;};'use strict';var Sequelize=require(_0x0600('0x0'));var moment=require(_0x0600('0x1'));module[_0x0600('0x2')]={'channel':{'type':Sequelize['STRING']},'membername':{'type':Sequelize['STRING']},'interface':{'type':Sequelize['STRING']},'type':{'type':Sequelize['STRING'],'defaultValue':'DEFAULT\x20PAUSE','comment':_0x0600('0x3')},'duration':{'type':Sequelize[_0x0600('0x4')]},'enterAt':{'type':Sequelize[_0x0600('0x5')]},'exitAt':{'type':Sequelize['DATE'],'set':function(_0x4ca78a){var _0x1cf26c=moment(_0x4ca78a);var _0x2af24e=moment(this[_0x0600('0x6')](_0x0600('0x7')));var _0x5307a5=_0x1cf26c[_0x0600('0x8')](_0x2af24e,'seconds');this[_0x0600('0x9')](_0x0600('0xa'),_0x4ca78a);this[_0x0600('0x9')](_0x0600('0xb'),_0x5307a5||null);}},'data1':{'type':Sequelize[_0x0600('0xc')],'comment':_0x0600('0xd')},'data2':{'type':Sequelize[_0x0600('0xc')],'comment':_0x0600('0xe')},'data3':{'type':Sequelize[_0x0600('0xc')],'comment':_0x0600('0xf')},'data4':{'type':Sequelize[_0x0600('0xc')],'comment':'talk:[dial\x20string]'},'data5':{'type':Sequelize['STRING'],'comment':'talk:[queue]'},'role':{'type':Sequelize[_0x0600('0xc')]},'internal':{'type':Sequelize[_0x0600('0x4')]},'uniqueid':{'type':Sequelize[_0x0600('0xc')]}};