Built motion from commit (unavailable).|2.4.18
[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 _0xc3bd=['LOGIN,\x20PAUSE,\x20TALKING','INTEGER','DATE','getDataValue','enterAt','seconds','setDataValue','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[destination]','talk:[queue]','sequelize','moment','exports','STRING'];(function(_0x4a04ab,_0x4d5245){var _0x19b95a=function(_0x19fd10){while(--_0x19fd10){_0x4a04ab['push'](_0x4a04ab['shift']());}};_0x19b95a(++_0x4d5245);}(_0xc3bd,0x1a0));var _0xdc3b=function(_0x277306,_0x49fa48){_0x277306=_0x277306-0x0;var _0x1694aa=_0xc3bd[_0x277306];return _0x1694aa;};'use strict';var Sequelize=require(_0xdc3b('0x0'));var moment=require(_0xdc3b('0x1'));module[_0xdc3b('0x2')]={'channel':{'type':Sequelize[_0xdc3b('0x3')]},'membername':{'type':Sequelize['STRING']},'interface':{'type':Sequelize[_0xdc3b('0x3')]},'type':{'type':Sequelize[_0xdc3b('0x3')],'defaultValue':'DEFAULT\x20PAUSE','comment':_0xdc3b('0x4')},'duration':{'type':Sequelize[_0xdc3b('0x5')]},'enterAt':{'type':Sequelize[_0xdc3b('0x6')]},'exitAt':{'type':Sequelize['DATE'],'set':function(_0x3e42c0){var _0x41cbe4=moment(_0x3e42c0);var _0x1c9935=moment(this[_0xdc3b('0x7')](_0xdc3b('0x8')));var _0x76be52=_0x41cbe4['diff'](_0x1c9935,_0xdc3b('0x9'));this[_0xdc3b('0xa')]('exitAt',_0x3e42c0);this[_0xdc3b('0xa')]('duration',_0x76be52||null);}},'data1':{'type':Sequelize['STRING'],'comment':_0xdc3b('0xb')},'data2':{'type':Sequelize[_0xdc3b('0x3')],'comment':'talk:[start]'},'data3':{'type':Sequelize['STRING'],'comment':_0xdc3b('0xc')},'data4':{'type':Sequelize[_0xdc3b('0x3')],'comment':'talk:[dial\x20string]'},'data5':{'type':Sequelize['STRING'],'comment':_0xdc3b('0xd')},'role':{'type':Sequelize[_0xdc3b('0x3')]},'internal':{'type':Sequelize[_0xdc3b('0x5')]},'uniqueid':{'type':Sequelize[_0xdc3b('0x3')]}};