Built motion from commit (unavailable).|2.0.79
[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 _0xffaa=['LOGIN,\x20PAUSE,\x20TALKING','INTEGER','DATE','getDataValue','enterAt','diff','seconds','exitAt','setDataValue','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[destination]','talk:[dial\x20string]','talk:[queue]','sequelize','exports','STRING','DEFAULT\x20PAUSE'];(function(_0x3f61d3,_0x281ea7){var _0x3e00fe=function(_0x54ab45){while(--_0x54ab45){_0x3f61d3['push'](_0x3f61d3['shift']());}};_0x3e00fe(++_0x281ea7);}(_0xffaa,0x183));var _0xaffa=function(_0x41e2ef,_0x14427f){_0x41e2ef=_0x41e2ef-0x0;var _0x16301f=_0xffaa[_0x41e2ef];return _0x16301f;};'use strict';var Sequelize=require(_0xaffa('0x0'));var moment=require('moment');module[_0xaffa('0x1')]={'channel':{'type':Sequelize[_0xaffa('0x2')]},'membername':{'type':Sequelize[_0xaffa('0x2')]},'interface':{'type':Sequelize['STRING']},'type':{'type':Sequelize['STRING'],'defaultValue':_0xaffa('0x3'),'comment':_0xaffa('0x4')},'duration':{'type':Sequelize[_0xaffa('0x5')]},'enterAt':{'type':Sequelize[_0xaffa('0x6')]},'exitAt':{'type':Sequelize['DATE'],'set':function(_0xa0fa6b){var _0x4c8d1e=moment(_0xa0fa6b);var _0x1352c8=moment(this[_0xaffa('0x7')](_0xaffa('0x8')));var _0x49b734=_0x4c8d1e[_0xaffa('0x9')](_0x1352c8,_0xaffa('0xa'));this['setDataValue'](_0xaffa('0xb'),_0xa0fa6b);this[_0xaffa('0xc')]('duration',_0x49b734||null);}},'data1':{'type':Sequelize[_0xaffa('0x2')],'comment':_0xaffa('0xd')},'data2':{'type':Sequelize['STRING'],'comment':'talk:[start]'},'data3':{'type':Sequelize['STRING'],'comment':_0xaffa('0xe')},'data4':{'type':Sequelize[_0xaffa('0x2')],'comment':_0xaffa('0xf')},'data5':{'type':Sequelize[_0xaffa('0x2')],'comment':_0xaffa('0x10')},'role':{'type':Sequelize[_0xaffa('0x2')]},'internal':{'type':Sequelize[_0xaffa('0x5')]},'uniqueid':{'type':Sequelize['STRING']}};