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 _0x4b8a=['exports','define','VoiceQueueReport','report_queue','calleridnum','lodash','util','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','./voiceQueueReport.attributes'];(function(_0x31d03c,_0x158cef){var _0x420e61=function(_0x1ddac1){while(--_0x1ddac1){_0x31d03c['push'](_0x31d03c['shift']());}};_0x420e61(++_0x158cef);}(_0x4b8a,0x9b));var _0xa4b8=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0x4b8a[_0x2dafbe];return _0x58a45a;};'use strict';var _=require(_0xa4b8('0x0'));var util=require(_0xa4b8('0x1'));var logger=require(_0xa4b8('0x2'))(_0xa4b8('0x3'));var moment=require(_0xa4b8('0x4'));var BPromise=require('bluebird');var rp=require(_0xa4b8('0x5'));var fs=require('fs');var path=require(_0xa4b8('0x6'));var rimraf=require(_0xa4b8('0x7'));var config=require(_0xa4b8('0x8'));var attributes=require(_0xa4b8('0x9'));module[_0xa4b8('0xa')]=function(_0x46d5e6,_0x433fd8){return _0x46d5e6[_0xa4b8('0xb')](_0xa4b8('0xc'),attributes,{'tableName':_0xa4b8('0xd'),'paranoid':![],'indexes':[{'fields':['uniqueid']},{'fields':[_0xa4b8('0xe')]}],'timestamps':!![]});};