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 _0xbf94=['event','lodash','util','../../config/logger','api','bluebird','path','../../config/environment','./voiceQueuesLog.attributes','define','VoiceQueuesLog','voice_queues_log','event_dtm'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xbf94,0x146));var _0x4bf9=function(_0x451b5d,_0x111619){_0x451b5d=_0x451b5d-0x0;var _0x1fe1a4=_0xbf94[_0x451b5d];return _0x1fe1a4;};'use strict';var _=require(_0x4bf9('0x0'));var util=require(_0x4bf9('0x1'));var logger=require(_0x4bf9('0x2'))(_0x4bf9('0x3'));var moment=require('moment');var BPromise=require(_0x4bf9('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x4bf9('0x5'));var rimraf=require('rimraf');var config=require(_0x4bf9('0x6'));var attributes=require(_0x4bf9('0x7'));module['exports']=function(_0x1ef7f1,_0x5a2932){return _0x1ef7f1[_0x4bf9('0x8')](_0x4bf9('0x9'),attributes,{'tableName':_0x4bf9('0xa'),'paranoid':![],'indexes':[{'name':_0x4bf9('0xb'),'fields':[_0x4bf9('0xc'),'dtm']}],'timestamps':![]});};