Built motion from commit (unavailable).|2.2.0
[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 _0x408f=['exitAt','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[start]','talk:[destination]','talk:[dial\x20string]','talk:[queue]','INTEGER','sequelize','moment','exports','STRING','DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING','DATE','getDataValue','enterAt','seconds','setDataValue'];(function(_0x1fd031,_0x4d585e){var _0x1b29db=function(_0x1ae237){while(--_0x1ae237){_0x1fd031['push'](_0x1fd031['shift']());}};_0x1b29db(++_0x4d585e);}(_0x408f,0x85));var _0xf408=function(_0x60569,_0x3c15fb){_0x60569=_0x60569-0x0;var _0x8fe02=_0x408f[_0x60569];return _0x8fe02;};'use strict';var Sequelize=require(_0xf408('0x0'));var moment=require(_0xf408('0x1'));module[_0xf408('0x2')]={'channel':{'type':Sequelize[_0xf408('0x3')]},'membername':{'type':Sequelize[_0xf408('0x3')]},'interface':{'type':Sequelize[_0xf408('0x3')]},'type':{'type':Sequelize[_0xf408('0x3')],'defaultValue':_0xf408('0x4'),'comment':_0xf408('0x5')},'duration':{'type':Sequelize['INTEGER']},'enterAt':{'type':Sequelize['DATE']},'exitAt':{'type':Sequelize[_0xf408('0x6')],'set':function(_0x40224f){var _0x5b2c07=moment(_0x40224f);var _0x1a2842=moment(this[_0xf408('0x7')](_0xf408('0x8')));var _0x2eb5e0=_0x5b2c07['diff'](_0x1a2842,_0xf408('0x9'));this[_0xf408('0xa')](_0xf408('0xb'),_0x40224f);this[_0xf408('0xa')]('duration',_0x2eb5e0||null);}},'data1':{'type':Sequelize['STRING'],'comment':_0xf408('0xc')},'data2':{'type':Sequelize[_0xf408('0x3')],'comment':_0xf408('0xd')},'data3':{'type':Sequelize[_0xf408('0x3')],'comment':_0xf408('0xe')},'data4':{'type':Sequelize[_0xf408('0x3')],'comment':_0xf408('0xf')},'data5':{'type':Sequelize[_0xf408('0x3')],'comment':_0xf408('0x10')},'role':{'type':Sequelize[_0xf408('0x3')]},'internal':{'type':Sequelize[_0xf408('0x11')]},'uniqueid':{'type':Sequelize[_0xf408('0x3')]}};