Built motion from commit 5ae82ce5.|2.6.7
[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 _0x311e=['talk:[start]','talk:[destination]','talk:[dial\x20string]','talk:[queue]','INTEGER','moment','exports','STRING','DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING','DATE','getDataValue','enterAt','diff','seconds','setDataValue','duration'];(function(_0x138adb,_0x193fee){var _0x1b27f2=function(_0x5e97a2){while(--_0x5e97a2){_0x138adb['push'](_0x138adb['shift']());}};_0x1b27f2(++_0x193fee);}(_0x311e,0xc0));var _0xe311=function(_0x53fc2d,_0x5195db){_0x53fc2d=_0x53fc2d-0x0;var _0x5dde27=_0x311e[_0x53fc2d];return _0x5dde27;};'use strict';var Sequelize=require('sequelize');var moment=require(_0xe311('0x0'));module[_0xe311('0x1')]={'channel':{'type':Sequelize[_0xe311('0x2')]},'membername':{'type':Sequelize[_0xe311('0x2')]},'interface':{'type':Sequelize[_0xe311('0x2')]},'type':{'type':Sequelize[_0xe311('0x2')],'defaultValue':_0xe311('0x3'),'comment':_0xe311('0x4')},'duration':{'type':Sequelize['INTEGER']},'enterAt':{'type':Sequelize['DATE']},'exitAt':{'type':Sequelize[_0xe311('0x5')],'set':function(_0x309187){var _0x24f938=moment(_0x309187);var _0x1dea76=moment(this[_0xe311('0x6')](_0xe311('0x7')));var _0x2d9add=_0x24f938[_0xe311('0x8')](_0x1dea76,_0xe311('0x9'));this[_0xe311('0xa')]('exitAt',_0x309187);this[_0xe311('0xa')](_0xe311('0xb'),_0x2d9add>=0x0?_0x2d9add:null);}},'data1':{'type':Sequelize[_0xe311('0x2')],'comment':'talk:[inbound,\x20outbound],\x20pause:[reason]'},'data2':{'type':Sequelize['STRING'],'comment':_0xe311('0xc')},'data3':{'type':Sequelize['STRING'],'comment':_0xe311('0xd')},'data4':{'type':Sequelize[_0xe311('0x2')],'comment':_0xe311('0xe')},'data5':{'type':Sequelize[_0xe311('0x2')],'comment':_0xe311('0xf')},'role':{'type':Sequelize[_0xe311('0x2')]},'internal':{'type':Sequelize[_0xe311('0x10')]},'uniqueid':{'type':Sequelize[_0xe311('0x2')]}};