Built motion from commit (unavailable).|2.4.17
[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=['talk:[dial\x20string]','talk:[queue]','sequelize','moment','exports','STRING','LOGIN,\x20PAUSE,\x20TALKING','INTEGER','DATE','getDataValue','enterAt','seconds','setDataValue','exitAt','duration','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[start]'];(function(_0x533e68,_0x406473){var _0x37f705=function(_0x256ff7){while(--_0x256ff7){_0x533e68['push'](_0x533e68['shift']());}};_0x37f705(++_0x406473);}(_0xf582,0x8a));var _0x2f58=function(_0x453e1c,_0x274193){_0x453e1c=_0x453e1c-0x0;var _0x28fb31=_0xf582[_0x453e1c];return _0x28fb31;};'use strict';var Sequelize=require(_0x2f58('0x0'));var moment=require(_0x2f58('0x1'));module[_0x2f58('0x2')]={'channel':{'type':Sequelize[_0x2f58('0x3')]},'membername':{'type':Sequelize[_0x2f58('0x3')]},'interface':{'type':Sequelize[_0x2f58('0x3')]},'type':{'type':Sequelize[_0x2f58('0x3')],'defaultValue':'DEFAULT\x20PAUSE','comment':_0x2f58('0x4')},'duration':{'type':Sequelize[_0x2f58('0x5')]},'enterAt':{'type':Sequelize['DATE']},'exitAt':{'type':Sequelize[_0x2f58('0x6')],'set':function(_0x3c18e3){var _0xb4b262=moment(_0x3c18e3);var _0x238ba1=moment(this[_0x2f58('0x7')](_0x2f58('0x8')));var _0x37dae2=_0xb4b262['diff'](_0x238ba1,_0x2f58('0x9'));this[_0x2f58('0xa')](_0x2f58('0xb'),_0x3c18e3);this[_0x2f58('0xa')](_0x2f58('0xc'),_0x37dae2||null);}},'data1':{'type':Sequelize[_0x2f58('0x3')],'comment':_0x2f58('0xd')},'data2':{'type':Sequelize[_0x2f58('0x3')],'comment':_0x2f58('0xe')},'data3':{'type':Sequelize[_0x2f58('0x3')],'comment':'talk:[destination]'},'data4':{'type':Sequelize['STRING'],'comment':_0x2f58('0xf')},'data5':{'type':Sequelize[_0x2f58('0x3')],'comment':_0x2f58('0x10')},'role':{'type':Sequelize['STRING']},'internal':{'type':Sequelize[_0x2f58('0x5')]},'uniqueid':{'type':Sequelize[_0x2f58('0x3')]}};