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 _0x783b=['bluebird','request-promise','path','exports','VoiceQueuesLog','voice_queues_log','event_dtm','event','dtm','lodash','util','../../config/logger','api','moment'];(function(_0x4f7742,_0x15ce9a){var _0x270a53=function(_0x55f52f){while(--_0x55f52f){_0x4f7742['push'](_0x4f7742['shift']());}};_0x270a53(++_0x15ce9a);}(_0x783b,0x95));var _0xb783=function(_0xc72e3e,_0xcc80ba){_0xc72e3e=_0xc72e3e-0x0;var _0x5c2609=_0x783b[_0xc72e3e];return _0x5c2609;};'use strict';var _=require(_0xb783('0x0'));var util=require(_0xb783('0x1'));var logger=require(_0xb783('0x2'))(_0xb783('0x3'));var moment=require(_0xb783('0x4'));var BPromise=require(_0xb783('0x5'));var rp=require(_0xb783('0x6'));var fs=require('fs');var path=require(_0xb783('0x7'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./voiceQueuesLog.attributes');module[_0xb783('0x8')]=function(_0x58594f,_0x521373){return _0x58594f['define'](_0xb783('0x9'),attributes,{'tableName':_0xb783('0xa'),'paranoid':![],'indexes':[{'name':_0xb783('0xb'),'fields':[_0xb783('0xc'),_0xb783('0xd')]}],'timestamps':![]});};