Built motion from commit (unavailable).|2.5.3
[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 _0x935b=['moment','exports','STRING','DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING','INTEGER','DATE','getDataValue','enterAt','seconds','setDataValue','exitAt','duration','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[start]','talk:[destination]','talk:[dial\x20string]','talk:[queue]','sequelize'];(function(_0x32fe5b,_0x464e33){var _0x2440e5=function(_0x43522f){while(--_0x43522f){_0x32fe5b['push'](_0x32fe5b['shift']());}};_0x2440e5(++_0x464e33);}(_0x935b,0x1c7));var _0xb935=function(_0x59496a,_0x24777c){_0x59496a=_0x59496a-0x0;var _0x22600a=_0x935b[_0x59496a];return _0x22600a;};'use strict';var Sequelize=require(_0xb935('0x0'));var moment=require(_0xb935('0x1'));module[_0xb935('0x2')]={'channel':{'type':Sequelize['STRING']},'membername':{'type':Sequelize[_0xb935('0x3')]},'interface':{'type':Sequelize[_0xb935('0x3')]},'type':{'type':Sequelize[_0xb935('0x3')],'defaultValue':_0xb935('0x4'),'comment':_0xb935('0x5')},'duration':{'type':Sequelize[_0xb935('0x6')]},'enterAt':{'type':Sequelize[_0xb935('0x7')]},'exitAt':{'type':Sequelize['DATE'],'set':function(_0x5b5563){var _0x498c20=moment(_0x5b5563);var _0x53a966=moment(this[_0xb935('0x8')](_0xb935('0x9')));var _0x442daf=_0x498c20['diff'](_0x53a966,_0xb935('0xa'));this[_0xb935('0xb')](_0xb935('0xc'),_0x5b5563);this[_0xb935('0xb')](_0xb935('0xd'),_0x442daf||null);}},'data1':{'type':Sequelize[_0xb935('0x3')],'comment':_0xb935('0xe')},'data2':{'type':Sequelize[_0xb935('0x3')],'comment':_0xb935('0xf')},'data3':{'type':Sequelize[_0xb935('0x3')],'comment':_0xb935('0x10')},'data4':{'type':Sequelize['STRING'],'comment':_0xb935('0x11')},'data5':{'type':Sequelize[_0xb935('0x3')],'comment':_0xb935('0x12')},'role':{'type':Sequelize[_0xb935('0x3')]},'internal':{'type':Sequelize[_0xb935('0x6')]},'uniqueid':{'type':Sequelize[_0xb935('0x3')]}};