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 _0xf418=['voice_queues_log','event_dtm','lodash','../../config/logger','moment','bluebird','request-promise','path','../../config/environment','./voiceQueuesLog.attributes','exports','define','VoiceQueuesLog'];(function(_0x19e35c,_0x29cd1e){var _0x3e1fe8=function(_0x17258b){while(--_0x17258b){_0x19e35c['push'](_0x19e35c['shift']());}};_0x3e1fe8(++_0x29cd1e);}(_0xf418,0x1e3));var _0x8f41=function(_0x4b447f,_0x215797){_0x4b447f=_0x4b447f-0x0;var _0x534b98=_0xf418[_0x4b447f];return _0x534b98;};'use strict';var _=require(_0x8f41('0x0'));var util=require('util');var logger=require(_0x8f41('0x1'))('api');var moment=require(_0x8f41('0x2'));var BPromise=require(_0x8f41('0x3'));var rp=require(_0x8f41('0x4'));var fs=require('fs');var path=require(_0x8f41('0x5'));var rimraf=require('rimraf');var config=require(_0x8f41('0x6'));var attributes=require(_0x8f41('0x7'));module[_0x8f41('0x8')]=function(_0x133c9f,_0x54eff0){return _0x133c9f[_0x8f41('0x9')](_0x8f41('0xa'),attributes,{'tableName':_0x8f41('0xb'),'paranoid':![],'indexes':[{'name':_0x8f41('0xc'),'fields':['event','dtm']}],'timestamps':![]});};