Built motion from commit (unavailable).|2.5.5
[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 _0x0553=['talk:[destination]','talk:[dial\x20string]','talk:[queue]','sequelize','moment','STRING','DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING','DATE','getDataValue','diff','seconds','setDataValue','exitAt','duration','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[start]'];(function(_0x109e39,_0x27f91c){var _0x3b142f=function(_0xec4d82){while(--_0xec4d82){_0x109e39['push'](_0x109e39['shift']());}};_0x3b142f(++_0x27f91c);}(_0x0553,0x1f0));var _0x3055=function(_0x56482c,_0x16118d){_0x56482c=_0x56482c-0x0;var _0x5aae7a=_0x0553[_0x56482c];return _0x5aae7a;};'use strict';var Sequelize=require(_0x3055('0x0'));var moment=require(_0x3055('0x1'));module['exports']={'channel':{'type':Sequelize[_0x3055('0x2')]},'membername':{'type':Sequelize[_0x3055('0x2')]},'interface':{'type':Sequelize[_0x3055('0x2')]},'type':{'type':Sequelize['STRING'],'defaultValue':_0x3055('0x3'),'comment':_0x3055('0x4')},'duration':{'type':Sequelize['INTEGER']},'enterAt':{'type':Sequelize[_0x3055('0x5')]},'exitAt':{'type':Sequelize[_0x3055('0x5')],'set':function(_0x3d1d50){var _0x31773e=moment(_0x3d1d50);var _0x1d7b14=moment(this[_0x3055('0x6')]('enterAt'));var _0x44fca3=_0x31773e[_0x3055('0x7')](_0x1d7b14,_0x3055('0x8'));this[_0x3055('0x9')](_0x3055('0xa'),_0x3d1d50);this['setDataValue'](_0x3055('0xb'),_0x44fca3||null);}},'data1':{'type':Sequelize[_0x3055('0x2')],'comment':_0x3055('0xc')},'data2':{'type':Sequelize[_0x3055('0x2')],'comment':_0x3055('0xd')},'data3':{'type':Sequelize['STRING'],'comment':_0x3055('0xe')},'data4':{'type':Sequelize[_0x3055('0x2')],'comment':_0x3055('0xf')},'data5':{'type':Sequelize[_0x3055('0x2')],'comment':_0x3055('0x10')},'role':{'type':Sequelize['STRING']},'internal':{'type':Sequelize['INTEGER']},'uniqueid':{'type':Sequelize[_0x3055('0x2')]}};