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 _0x1d1a=['request-promise','path','../../config/environment','exports','define','event','lodash','util','bluebird'];(function(_0x23724f,_0x19e182){var _0x17c793=function(_0x7934bc){while(--_0x7934bc){_0x23724f['push'](_0x23724f['shift']());}};_0x17c793(++_0x19e182);}(_0x1d1a,0x1ec));var _0xa1d1=function(_0x3f8d5d,_0x51d4f2){_0x3f8d5d=_0x3f8d5d-0x0;var _0x1972e0=_0x1d1a[_0x3f8d5d];return _0x1972e0;};'use strict';var _=require(_0xa1d1('0x0'));var util=require(_0xa1d1('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0xa1d1('0x2'));var rp=require(_0xa1d1('0x3'));var fs=require('fs');var path=require(_0xa1d1('0x4'));var rimraf=require('rimraf');var config=require(_0xa1d1('0x5'));var attributes=require('./voiceQueuesLog.attributes');module[_0xa1d1('0x6')]=function(_0xeba9e8,_0x42403d){return _0xeba9e8[_0xa1d1('0x7')]('VoiceQueuesLog',attributes,{'tableName':'voice_queues_log','paranoid':![],'indexes':[{'name':'event_dtm','fields':[_0xa1d1('0x8'),'dtm']}],'timestamps':![]});};