d7837bfafd6e766c01d1a8729f52c4303bc7aa8b
[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 _0xf582=['INTEGER','getDataValue','enterAt','diff','seconds','setDataValue','exitAt','duration','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[start]','talk:[destination]','talk:[dial\x20string]','talk:[queue]','sequelize','moment','exports','STRING','DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING'];(function(_0x10d620,_0x1fccb3){var _0x4856=function(_0x36223d){while(--_0x36223d){_0x10d620['push'](_0x10d620['shift']());}};_0x4856(++_0x1fccb3);}(_0xf582,0x1af));var _0x2f58=function(_0x5d660b,_0x2b6023){_0x5d660b=_0x5d660b-0x0;var _0x29263a=_0xf582[_0x5d660b];return _0x29263a;};'use strict';var Sequelize=require(_0x2f58('0x0'));var moment=require(_0x2f58('0x1'));module[_0x2f58('0x2')]={'channel':{'type':Sequelize['STRING']},'membername':{'type':Sequelize[_0x2f58('0x3')]},'interface':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0x2f58('0x3')],'defaultValue':_0x2f58('0x4'),'comment':_0x2f58('0x5')},'duration':{'type':Sequelize[_0x2f58('0x6')]},'enterAt':{'type':Sequelize['DATE']},'exitAt':{'type':Sequelize['DATE'],'set':function(_0x9d6e2d){var _0x583e72=moment(_0x9d6e2d);var _0x1ae696=moment(this[_0x2f58('0x7')](_0x2f58('0x8')));var _0x24aa33=_0x583e72[_0x2f58('0x9')](_0x1ae696,_0x2f58('0xa'));this[_0x2f58('0xb')](_0x2f58('0xc'),_0x9d6e2d);this[_0x2f58('0xb')](_0x2f58('0xd'),_0x24aa33||null);}},'data1':{'type':Sequelize['STRING'],'comment':_0x2f58('0xe')},'data2':{'type':Sequelize[_0x2f58('0x3')],'comment':_0x2f58('0xf')},'data3':{'type':Sequelize[_0x2f58('0x3')],'comment':_0x2f58('0x10')},'data4':{'type':Sequelize['STRING'],'comment':_0x2f58('0x11')},'data5':{'type':Sequelize[_0x2f58('0x3')],'comment':_0x2f58('0x12')},'role':{'type':Sequelize[_0x2f58('0x3')]},'internal':{'type':Sequelize['INTEGER']},'uniqueid':{'type':Sequelize['STRING']}};