Built motion from commit (unavailable).|2.5.31
[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 _0x292b=['duration','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[start]','talk:[destination]','talk:[dial\x20string]','exports','STRING','LOGIN,\x20PAUSE,\x20TALKING','INTEGER','DATE','getDataValue','enterAt','diff','seconds','exitAt','setDataValue'];(function(_0x1c1798,_0x24812b){var _0x4f235e=function(_0x30028e){while(--_0x30028e){_0x1c1798['push'](_0x1c1798['shift']());}};_0x4f235e(++_0x24812b);}(_0x292b,0x75));var _0xb292=function(_0xa62163,_0x4a26fb){_0xa62163=_0xa62163-0x0;var _0x46b4fb=_0x292b[_0xa62163];return _0x46b4fb;};'use strict';var Sequelize=require('sequelize');var moment=require('moment');module[_0xb292('0x0')]={'channel':{'type':Sequelize[_0xb292('0x1')]},'membername':{'type':Sequelize[_0xb292('0x1')]},'interface':{'type':Sequelize[_0xb292('0x1')]},'type':{'type':Sequelize[_0xb292('0x1')],'defaultValue':'DEFAULT\x20PAUSE','comment':_0xb292('0x2')},'duration':{'type':Sequelize[_0xb292('0x3')]},'enterAt':{'type':Sequelize[_0xb292('0x4')]},'exitAt':{'type':Sequelize[_0xb292('0x4')],'set':function(_0x42f060){var _0x2e881c=moment(_0x42f060);var _0x57061c=moment(this[_0xb292('0x5')](_0xb292('0x6')));var _0x239b1d=_0x2e881c[_0xb292('0x7')](_0x57061c,_0xb292('0x8'));this['setDataValue'](_0xb292('0x9'),_0x42f060);this[_0xb292('0xa')](_0xb292('0xb'),_0x239b1d||null);}},'data1':{'type':Sequelize[_0xb292('0x1')],'comment':_0xb292('0xc')},'data2':{'type':Sequelize[_0xb292('0x1')],'comment':_0xb292('0xd')},'data3':{'type':Sequelize[_0xb292('0x1')],'comment':_0xb292('0xe')},'data4':{'type':Sequelize[_0xb292('0x1')],'comment':_0xb292('0xf')},'data5':{'type':Sequelize[_0xb292('0x1')],'comment':'talk:[queue]'},'role':{'type':Sequelize[_0xb292('0x1')]},'internal':{'type':Sequelize[_0xb292('0x3')]},'uniqueid':{'type':Sequelize['STRING']}};