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 _0x56ca=['request-promise','path','rimraf','./voiceQueuesLog.attributes','exports','define','VoiceQueuesLog','event_dtm','event','dtm','util','../../config/logger','api','moment'];(function(_0x41be2a,_0x44267a){var _0xab598e=function(_0x52bc1b){while(--_0x52bc1b){_0x41be2a['push'](_0x41be2a['shift']());}};_0xab598e(++_0x44267a);}(_0x56ca,0xa4));var _0xa56c=function(_0x4d7895,_0x5c1871){_0x4d7895=_0x4d7895-0x0;var _0x2fcd90=_0x56ca[_0x4d7895];return _0x2fcd90;};'use strict';var _=require('lodash');var util=require(_0xa56c('0x0'));var logger=require(_0xa56c('0x1'))(_0xa56c('0x2'));var moment=require(_0xa56c('0x3'));var BPromise=require('bluebird');var rp=require(_0xa56c('0x4'));var fs=require('fs');var path=require(_0xa56c('0x5'));var rimraf=require(_0xa56c('0x6'));var config=require('../../config/environment');var attributes=require(_0xa56c('0x7'));module[_0xa56c('0x8')]=function(_0x226aa0,_0x353c7d){return _0x226aa0[_0xa56c('0x9')](_0xa56c('0xa'),attributes,{'tableName':'voice_queues_log','paranoid':![],'indexes':[{'name':_0xa56c('0xb'),'fields':[_0xa56c('0xc'),_0xa56c('0xd')]}],'timestamps':![]});};