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 _0xf878=['exports','define','VoiceQueuesLog','voice_queues_log','event_dtm','dtm','../../config/logger','moment','bluebird','request-promise','path','rimraf','./voiceQueuesLog.attributes'];(function(_0x392dc2,_0x47c3f3){var _0x14150f=function(_0x9f305a){while(--_0x9f305a){_0x392dc2['push'](_0x392dc2['shift']());}};_0x14150f(++_0x47c3f3);}(_0xf878,0x88));var _0x8f87=function(_0x3aaeed,_0x1ec4fa){_0x3aaeed=_0x3aaeed-0x0;var _0x55ed49=_0xf878[_0x3aaeed];return _0x55ed49;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x8f87('0x0'))('api');var moment=require(_0x8f87('0x1'));var BPromise=require(_0x8f87('0x2'));var rp=require(_0x8f87('0x3'));var fs=require('fs');var path=require(_0x8f87('0x4'));var rimraf=require(_0x8f87('0x5'));var config=require('../../config/environment');var attributes=require(_0x8f87('0x6'));module[_0x8f87('0x7')]=function(_0x3fe6d5,_0x2f4ab5){return _0x3fe6d5[_0x8f87('0x8')](_0x8f87('0x9'),attributes,{'tableName':_0x8f87('0xa'),'paranoid':![],'indexes':[{'name':_0x8f87('0xb'),'fields':['event',_0x8f87('0xc')]}],'timestamps':![]});};