1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xe589=['talk:[start]','talk:[destination]','talk:[dial\x20string]','talk:[queue]','moment','STRING','DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING','INTEGER','DATE','getDataValue','diff','seconds','setDataValue','exitAt','duration','talk:[inbound,\x20outbound],\x20pause:[reason]'];(function(_0x4ec1e6,_0x192494){var _0x2ebb85=function(_0x4ceb7c){while(--_0x4ceb7c){_0x4ec1e6['push'](_0x4ec1e6['shift']());}};_0x2ebb85(++_0x192494);}(_0xe589,0xd0));var _0x9e58=function(_0x5dde79,_0x2ed14e){_0x5dde79=_0x5dde79-0x0;var _0x3a3679=_0xe589[_0x5dde79];return _0x3a3679;};'use strict';var Sequelize=require('sequelize');var moment=require(_0x9e58('0x0'));module['exports']={'channel':{'type':Sequelize[_0x9e58('0x1')]},'membername':{'type':Sequelize[_0x9e58('0x1')]},'interface':{'type':Sequelize[_0x9e58('0x1')]},'type':{'type':Sequelize[_0x9e58('0x1')],'defaultValue':_0x9e58('0x2'),'comment':_0x9e58('0x3')},'duration':{'type':Sequelize[_0x9e58('0x4')]},'enterAt':{'type':Sequelize[_0x9e58('0x5')]},'exitAt':{'type':Sequelize['DATE'],'set':function(_0x542c23){var _0x38f9b5=moment(_0x542c23);var _0x6cb87d=moment(this[_0x9e58('0x6')]('enterAt'));var _0x4203c1=_0x38f9b5[_0x9e58('0x7')](_0x6cb87d,_0x9e58('0x8'));this[_0x9e58('0x9')](_0x9e58('0xa'),_0x542c23);this[_0x9e58('0x9')](_0x9e58('0xb'),_0x4203c1>=0x0?_0x4203c1:null);}},'data1':{'type':Sequelize['STRING'],'comment':_0x9e58('0xc')},'data2':{'type':Sequelize[_0x9e58('0x1')],'comment':_0x9e58('0xd')},'data3':{'type':Sequelize[_0x9e58('0x1')],'comment':_0x9e58('0xe')},'data4':{'type':Sequelize[_0x9e58('0x1')],'comment':_0x9e58('0xf')},'data5':{'type':Sequelize[_0x9e58('0x1')],'comment':_0x9e58('0x10')},'role':{'type':Sequelize[_0x9e58('0x1')]},'internal':{'type':Sequelize['INTEGER']},'uniqueid':{'type':Sequelize[_0x9e58('0x1')]}};