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 _0xb3cb=['util','api','moment','bluebird','request-promise','../../config/environment','./voiceQueueReport.attributes','define','VoiceQueueReport','report_queue','uniqueid','calleridnum','lodash'];(function(_0x5c0f5d,_0x420011){var _0x3c10df=function(_0x4cac37){while(--_0x4cac37){_0x5c0f5d['push'](_0x5c0f5d['shift']());}};_0x3c10df(++_0x420011);}(_0xb3cb,0x103));var _0xbb3c=function(_0xad80c2,_0x482556){_0xad80c2=_0xad80c2-0x0;var _0x53935d=_0xb3cb[_0xad80c2];return _0x53935d;};'use strict';var _=require(_0xbb3c('0x0'));var util=require(_0xbb3c('0x1'));var logger=require('../../config/logger')(_0xbb3c('0x2'));var moment=require(_0xbb3c('0x3'));var BPromise=require(_0xbb3c('0x4'));var rp=require(_0xbb3c('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xbb3c('0x6'));var attributes=require(_0xbb3c('0x7'));module['exports']=function(_0x2e54b9,_0x5be295){return _0x2e54b9[_0xbb3c('0x8')](_0xbb3c('0x9'),attributes,{'tableName':_0xbb3c('0xa'),'paranoid':![],'indexes':[{'fields':[_0xbb3c('0xb')]},{'fields':[_0xbb3c('0xc')]}],'timestamps':!![]});};