Built motion from commit fe909640.|2.6.8
[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 _0x94ac=['talk:[destination]','talk:[queue]','INTEGER','sequelize','moment','exports','STRING','DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING','DATE','getDataValue','diff','seconds','setDataValue','exitAt','duration','talk:[start]'];(function(_0x3f8743,_0x33973f){var _0x1f844c=function(_0x568841){while(--_0x568841){_0x3f8743['push'](_0x3f8743['shift']());}};_0x1f844c(++_0x33973f);}(_0x94ac,0x18a));var _0xc94a=function(_0xf150f1,_0x11852b){_0xf150f1=_0xf150f1-0x0;var _0x3622b3=_0x94ac[_0xf150f1];return _0x3622b3;};'use strict';var Sequelize=require(_0xc94a('0x0'));var moment=require(_0xc94a('0x1'));module[_0xc94a('0x2')]={'channel':{'type':Sequelize[_0xc94a('0x3')]},'membername':{'type':Sequelize[_0xc94a('0x3')]},'interface':{'type':Sequelize[_0xc94a('0x3')]},'type':{'type':Sequelize['STRING'],'defaultValue':_0xc94a('0x4'),'comment':_0xc94a('0x5')},'duration':{'type':Sequelize['INTEGER']},'enterAt':{'type':Sequelize['DATE']},'exitAt':{'type':Sequelize[_0xc94a('0x6')],'set':function(_0x5df5a4){var _0x122108=moment(_0x5df5a4);var _0x406418=moment(this[_0xc94a('0x7')]('enterAt'));var _0xca4508=_0x122108[_0xc94a('0x8')](_0x406418,_0xc94a('0x9'));this[_0xc94a('0xa')](_0xc94a('0xb'),_0x5df5a4);this[_0xc94a('0xa')](_0xc94a('0xc'),_0xca4508>=0x0?_0xca4508:null);}},'data1':{'type':Sequelize['STRING'],'comment':'talk:[inbound,\x20outbound],\x20pause:[reason]'},'data2':{'type':Sequelize['STRING'],'comment':_0xc94a('0xd')},'data3':{'type':Sequelize['STRING'],'comment':_0xc94a('0xe')},'data4':{'type':Sequelize['STRING'],'comment':'talk:[dial\x20string]'},'data5':{'type':Sequelize['STRING'],'comment':_0xc94a('0xf')},'role':{'type':Sequelize['STRING']},'internal':{'type':Sequelize[_0xc94a('0x10')]},'uniqueid':{'type':Sequelize[_0xc94a('0x3')]}};