fe9f3165bedbe95608af8346fd83ddb31ca9c062
[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 _0x42af=['talk:[dial\x20string]','talk:[queue]','sequelize','moment','exports','STRING','DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING','INTEGER','DATE','getDataValue','enterAt','diff','seconds','setDataValue','exitAt','duration','talk:[destination]'];(function(_0x23475c,_0x5f5628){var _0x5ef9b5=function(_0x9ab53){while(--_0x9ab53){_0x23475c['push'](_0x23475c['shift']());}};_0x5ef9b5(++_0x5f5628);}(_0x42af,0x122));var _0xf42a=function(_0x41a56a,_0x5c6725){_0x41a56a=_0x41a56a-0x0;var _0x1ed0b6=_0x42af[_0x41a56a];return _0x1ed0b6;};'use strict';var Sequelize=require(_0xf42a('0x0'));var moment=require(_0xf42a('0x1'));module[_0xf42a('0x2')]={'channel':{'type':Sequelize[_0xf42a('0x3')]},'membername':{'type':Sequelize['STRING']},'interface':{'type':Sequelize[_0xf42a('0x3')]},'type':{'type':Sequelize['STRING'],'defaultValue':_0xf42a('0x4'),'comment':_0xf42a('0x5')},'duration':{'type':Sequelize[_0xf42a('0x6')]},'enterAt':{'type':Sequelize['DATE']},'exitAt':{'type':Sequelize[_0xf42a('0x7')],'set':function(_0x2ef82c){var _0xf164e1=moment(_0x2ef82c);var _0x3c8470=moment(this[_0xf42a('0x8')](_0xf42a('0x9')));var _0x33141c=_0xf164e1[_0xf42a('0xa')](_0x3c8470,_0xf42a('0xb'));this[_0xf42a('0xc')](_0xf42a('0xd'),_0x2ef82c);this[_0xf42a('0xc')](_0xf42a('0xe'),_0x33141c>=0x0?_0x33141c:null);}},'data1':{'type':Sequelize[_0xf42a('0x3')],'comment':'talk:[inbound,\x20outbound],\x20pause:[reason]'},'data2':{'type':Sequelize[_0xf42a('0x3')],'comment':'talk:[start]'},'data3':{'type':Sequelize[_0xf42a('0x3')],'comment':_0xf42a('0xf')},'data4':{'type':Sequelize[_0xf42a('0x3')],'comment':_0xf42a('0x10')},'data5':{'type':Sequelize[_0xf42a('0x3')],'comment':_0xf42a('0x11')},'role':{'type':Sequelize['STRING']},'internal':{'type':Sequelize['INTEGER']},'uniqueid':{'type':Sequelize[_0xf42a('0x3')]}};