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 _0x3b6d=['../../config/logger','bluebird','path','rimraf','../../config/environment','./voiceQueuesLog.attributes','exports','define','VoiceQueuesLog','event_dtm','event','dtm','lodash'];(function(_0x325a08,_0x571fff){var _0x436e01=function(_0x2c7719){while(--_0x2c7719){_0x325a08['push'](_0x325a08['shift']());}};_0x436e01(++_0x571fff);}(_0x3b6d,0x67));var _0xd3b6=function(_0xece93a,_0x182adb){_0xece93a=_0xece93a-0x0;var _0x42c33e=_0x3b6d[_0xece93a];return _0x42c33e;};'use strict';var _=require(_0xd3b6('0x0'));var util=require('util');var logger=require(_0xd3b6('0x1'))('api');var moment=require('moment');var BPromise=require(_0xd3b6('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xd3b6('0x3'));var rimraf=require(_0xd3b6('0x4'));var config=require(_0xd3b6('0x5'));var attributes=require(_0xd3b6('0x6'));module[_0xd3b6('0x7')]=function(_0xbff4a8,_0x154007){return _0xbff4a8[_0xd3b6('0x8')](_0xd3b6('0x9'),attributes,{'tableName':'voice_queues_log','paranoid':![],'indexes':[{'name':_0xd3b6('0xa'),'fields':[_0xd3b6('0xb'),_0xd3b6('0xc')]}],'timestamps':![]});};