Built motion from commit 64440dd5.|2.6.29
[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 _0x903e=['talk:[destination]','talk:[dial\x20string]','talk:[queue]','sequelize','STRING','LOGIN,\x20PAUSE,\x20TALKING','INTEGER','DATE','getDataValue','seconds','setDataValue','duration','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[start]'];(function(_0x5b8a99,_0x2e0c12){var _0x31fa01=function(_0x21396c){while(--_0x21396c){_0x5b8a99['push'](_0x5b8a99['shift']());}};_0x31fa01(++_0x2e0c12);}(_0x903e,0x1b5));var _0xe903=function(_0x602ca8,_0x568e82){_0x602ca8=_0x602ca8-0x0;var _0x26e8ab=_0x903e[_0x602ca8];return _0x26e8ab;};'use strict';var Sequelize=require(_0xe903('0x0'));var moment=require('moment');module['exports']={'channel':{'type':Sequelize[_0xe903('0x1')]},'membername':{'type':Sequelize[_0xe903('0x1')]},'interface':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0xe903('0x1')],'defaultValue':'DEFAULT\x20PAUSE','comment':_0xe903('0x2')},'duration':{'type':Sequelize[_0xe903('0x3')]},'enterAt':{'type':Sequelize[_0xe903('0x4')]},'exitAt':{'type':Sequelize[_0xe903('0x4')],'set':function(_0x15c13a){var _0x43f290=moment(_0x15c13a);var _0x5591cf=moment(this[_0xe903('0x5')]('enterAt'));var _0x426379=_0x43f290['diff'](_0x5591cf,_0xe903('0x6'));this[_0xe903('0x7')]('exitAt',_0x15c13a);this[_0xe903('0x7')](_0xe903('0x8'),_0x426379>=0x0?_0x426379:null);}},'data1':{'type':Sequelize[_0xe903('0x1')],'comment':_0xe903('0x9')},'data2':{'type':Sequelize[_0xe903('0x1')],'comment':_0xe903('0xa')},'data3':{'type':Sequelize[_0xe903('0x1')],'comment':_0xe903('0xb')},'data4':{'type':Sequelize[_0xe903('0x1')],'comment':_0xe903('0xc')},'data5':{'type':Sequelize[_0xe903('0x1')],'comment':_0xe903('0xd')},'role':{'type':Sequelize[_0xe903('0x1')]},'internal':{'type':Sequelize['INTEGER']},'uniqueid':{'type':Sequelize[_0xe903('0x1')]}};