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 _0x49a9=['../../config/environment','./voiceQueueReport.attributes','exports','define','VoiceQueueReport','report_queue','uniqueid','lodash','bluebird','request-promise','path'];(function(_0x437848,_0x4856e8){var _0x16e76b=function(_0x3f4162){while(--_0x3f4162){_0x437848['push'](_0x437848['shift']());}};_0x16e76b(++_0x4856e8);}(_0x49a9,0x1eb));var _0x949a=function(_0x23e8ac,_0x347de6){_0x23e8ac=_0x23e8ac-0x0;var _0x130907=_0x49a9[_0x23e8ac];return _0x130907;};'use strict';var _=require(_0x949a('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0x949a('0x1'));var rp=require(_0x949a('0x2'));var fs=require('fs');var path=require(_0x949a('0x3'));var rimraf=require('rimraf');var config=require(_0x949a('0x4'));var attributes=require(_0x949a('0x5'));module[_0x949a('0x6')]=function(_0x4cd673,_0x2f029f){return _0x4cd673[_0x949a('0x7')](_0x949a('0x8'),attributes,{'tableName':_0x949a('0x9'),'paranoid':![],'indexes':[{'fields':[_0x949a('0xa')]},{'fields':['calleridnum']}],'timestamps':!![]});};