Built motion from commit (unavailable).|2.5.10
[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 _0xef0c=['exitAt','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[start]','talk:[dial\x20string]','INTEGER','sequelize','moment','STRING','DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING','DATE','getDataValue','enterAt','seconds','setDataValue'];(function(_0x461cd7,_0x555589){var _0x58b3a9=function(_0x2497b5){while(--_0x2497b5){_0x461cd7['push'](_0x461cd7['shift']());}};_0x58b3a9(++_0x555589);}(_0xef0c,0x1f4));var _0xcef0=function(_0x1ee04d,_0x4b9f61){_0x1ee04d=_0x1ee04d-0x0;var _0x46a06e=_0xef0c[_0x1ee04d];return _0x46a06e;};'use strict';var Sequelize=require(_0xcef0('0x0'));var moment=require(_0xcef0('0x1'));module['exports']={'channel':{'type':Sequelize['STRING']},'membername':{'type':Sequelize[_0xcef0('0x2')]},'interface':{'type':Sequelize[_0xcef0('0x2')]},'type':{'type':Sequelize['STRING'],'defaultValue':_0xcef0('0x3'),'comment':_0xcef0('0x4')},'duration':{'type':Sequelize['INTEGER']},'enterAt':{'type':Sequelize[_0xcef0('0x5')]},'exitAt':{'type':Sequelize[_0xcef0('0x5')],'set':function(_0x16e3ec){var _0x1c6e3b=moment(_0x16e3ec);var _0x1c000b=moment(this[_0xcef0('0x6')](_0xcef0('0x7')));var _0x2093ba=_0x1c6e3b['diff'](_0x1c000b,_0xcef0('0x8'));this[_0xcef0('0x9')](_0xcef0('0xa'),_0x16e3ec);this[_0xcef0('0x9')]('duration',_0x2093ba||null);}},'data1':{'type':Sequelize[_0xcef0('0x2')],'comment':_0xcef0('0xb')},'data2':{'type':Sequelize[_0xcef0('0x2')],'comment':_0xcef0('0xc')},'data3':{'type':Sequelize[_0xcef0('0x2')],'comment':'talk:[destination]'},'data4':{'type':Sequelize['STRING'],'comment':_0xcef0('0xd')},'data5':{'type':Sequelize[_0xcef0('0x2')],'comment':'talk:[queue]'},'role':{'type':Sequelize[_0xcef0('0x2')]},'internal':{'type':Sequelize[_0xcef0('0xe')]},'uniqueid':{'type':Sequelize[_0xcef0('0x2')]}};