Built motion from commit b5413ace.|2.6.9
[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 _0x4927=['STRING','DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING','INTEGER','DATE','getDataValue','enterAt','diff','seconds','setDataValue','duration','talk:[start]','talk:[destination]','talk:[dial\x20string]','talk:[queue]','sequelize','moment','exports'];(function(_0x420f2a,_0x2cc58d){var _0x28f802=function(_0x3329cc){while(--_0x3329cc){_0x420f2a['push'](_0x420f2a['shift']());}};_0x28f802(++_0x2cc58d);}(_0x4927,0x69));var _0x7492=function(_0x397e5f,_0x454c8f){_0x397e5f=_0x397e5f-0x0;var _0x5302b8=_0x4927[_0x397e5f];return _0x5302b8;};'use strict';var Sequelize=require(_0x7492('0x0'));var moment=require(_0x7492('0x1'));module[_0x7492('0x2')]={'channel':{'type':Sequelize[_0x7492('0x3')]},'membername':{'type':Sequelize[_0x7492('0x3')]},'interface':{'type':Sequelize[_0x7492('0x3')]},'type':{'type':Sequelize[_0x7492('0x3')],'defaultValue':_0x7492('0x4'),'comment':_0x7492('0x5')},'duration':{'type':Sequelize[_0x7492('0x6')]},'enterAt':{'type':Sequelize[_0x7492('0x7')]},'exitAt':{'type':Sequelize['DATE'],'set':function(_0x5de04e){var _0x18097a=moment(_0x5de04e);var _0x17e4aa=moment(this[_0x7492('0x8')](_0x7492('0x9')));var _0x1d6338=_0x18097a[_0x7492('0xa')](_0x17e4aa,_0x7492('0xb'));this[_0x7492('0xc')]('exitAt',_0x5de04e);this['setDataValue'](_0x7492('0xd'),_0x1d6338>=0x0?_0x1d6338:null);}},'data1':{'type':Sequelize[_0x7492('0x3')],'comment':'talk:[inbound,\x20outbound],\x20pause:[reason]'},'data2':{'type':Sequelize[_0x7492('0x3')],'comment':_0x7492('0xe')},'data3':{'type':Sequelize[_0x7492('0x3')],'comment':_0x7492('0xf')},'data4':{'type':Sequelize[_0x7492('0x3')],'comment':_0x7492('0x10')},'data5':{'type':Sequelize[_0x7492('0x3')],'comment':_0x7492('0x11')},'role':{'type':Sequelize[_0x7492('0x3')]},'internal':{'type':Sequelize['INTEGER']},'uniqueid':{'type':Sequelize[_0x7492('0x3')]}};