bcf7ea391631a93abbb3f7b24f35045bb3fc1259
[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 _0x43fd=['sequelize','moment','STRING','DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING','INTEGER','DATE','getDataValue','enterAt','diff','setDataValue','exitAt','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[start]','talk:[destination]','talk:[queue]'];(function(_0x2560f7,_0x3ad22b){var _0x4435ab=function(_0x58e6d5){while(--_0x58e6d5){_0x2560f7['push'](_0x2560f7['shift']());}};_0x4435ab(++_0x3ad22b);}(_0x43fd,0x150));var _0xd43f=function(_0x12bdf4,_0x589622){_0x12bdf4=_0x12bdf4-0x0;var _0x448165=_0x43fd[_0x12bdf4];return _0x448165;};'use strict';var Sequelize=require(_0xd43f('0x0'));var moment=require(_0xd43f('0x1'));module['exports']={'channel':{'type':Sequelize[_0xd43f('0x2')]},'membername':{'type':Sequelize['STRING']},'interface':{'type':Sequelize[_0xd43f('0x2')]},'type':{'type':Sequelize[_0xd43f('0x2')],'defaultValue':_0xd43f('0x3'),'comment':_0xd43f('0x4')},'duration':{'type':Sequelize[_0xd43f('0x5')]},'enterAt':{'type':Sequelize[_0xd43f('0x6')]},'exitAt':{'type':Sequelize[_0xd43f('0x6')],'set':function(_0x2807ed){var _0xfede84=moment(_0x2807ed);var _0x2296e1=moment(this[_0xd43f('0x7')](_0xd43f('0x8')));var _0x39a819=_0xfede84[_0xd43f('0x9')](_0x2296e1,'seconds');this[_0xd43f('0xa')](_0xd43f('0xb'),_0x2807ed);this[_0xd43f('0xa')]('duration',_0x39a819||null);}},'data1':{'type':Sequelize[_0xd43f('0x2')],'comment':_0xd43f('0xc')},'data2':{'type':Sequelize['STRING'],'comment':_0xd43f('0xd')},'data3':{'type':Sequelize[_0xd43f('0x2')],'comment':_0xd43f('0xe')},'data4':{'type':Sequelize[_0xd43f('0x2')],'comment':'talk:[dial\x20string]'},'data5':{'type':Sequelize['STRING'],'comment':_0xd43f('0xf')},'role':{'type':Sequelize[_0xd43f('0x2')]},'internal':{'type':Sequelize['INTEGER']},'uniqueid':{'type':Sequelize[_0xd43f('0x2')]}};