Built motion from commit (unavailable).|2.5.4
[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 _0x54fc=['exitAt','duration','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[start]','INTEGER','sequelize','moment','exports','STRING','DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING','DATE','getDataValue','diff','seconds','setDataValue'];(function(_0x16fd68,_0x3d394d){var _0x12cf8e=function(_0x4728c1){while(--_0x4728c1){_0x16fd68['push'](_0x16fd68['shift']());}};_0x12cf8e(++_0x3d394d);}(_0x54fc,0x195));var _0xc54f=function(_0x57b6d8,_0x29d657){_0x57b6d8=_0x57b6d8-0x0;var _0xbd9efa=_0x54fc[_0x57b6d8];return _0xbd9efa;};'use strict';var Sequelize=require(_0xc54f('0x0'));var moment=require(_0xc54f('0x1'));module[_0xc54f('0x2')]={'channel':{'type':Sequelize[_0xc54f('0x3')]},'membername':{'type':Sequelize[_0xc54f('0x3')]},'interface':{'type':Sequelize[_0xc54f('0x3')]},'type':{'type':Sequelize[_0xc54f('0x3')],'defaultValue':_0xc54f('0x4'),'comment':_0xc54f('0x5')},'duration':{'type':Sequelize['INTEGER']},'enterAt':{'type':Sequelize['DATE']},'exitAt':{'type':Sequelize[_0xc54f('0x6')],'set':function(_0x1e8cfd){var _0x3d1c3a=moment(_0x1e8cfd);var _0x562418=moment(this[_0xc54f('0x7')]('enterAt'));var _0x19ca56=_0x3d1c3a[_0xc54f('0x8')](_0x562418,_0xc54f('0x9'));this[_0xc54f('0xa')](_0xc54f('0xb'),_0x1e8cfd);this[_0xc54f('0xa')](_0xc54f('0xc'),_0x19ca56||null);}},'data1':{'type':Sequelize[_0xc54f('0x3')],'comment':_0xc54f('0xd')},'data2':{'type':Sequelize['STRING'],'comment':_0xc54f('0xe')},'data3':{'type':Sequelize['STRING'],'comment':'talk:[destination]'},'data4':{'type':Sequelize['STRING'],'comment':'talk:[dial\x20string]'},'data5':{'type':Sequelize[_0xc54f('0x3')],'comment':'talk:[queue]'},'role':{'type':Sequelize[_0xc54f('0x3')]},'internal':{'type':Sequelize[_0xc54f('0xf')]},'uniqueid':{'type':Sequelize[_0xc54f('0x3')]}};