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 _0x07a5=['VoiceQueueReport','report_queue','uniqueid','calleridnum','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./voiceQueueReport.attributes','exports','define'];(function(_0x12f85e,_0x42f763){var _0x537bac=function(_0x46101e){while(--_0x46101e){_0x12f85e['push'](_0x12f85e['shift']());}};_0x537bac(++_0x42f763);}(_0x07a5,0xd0));var _0x507a=function(_0x7b8a87,_0x2f2523){_0x7b8a87=_0x7b8a87-0x0;var _0x2131a1=_0x07a5[_0x7b8a87];return _0x2131a1;};'use strict';var _=require(_0x507a('0x0'));var util=require(_0x507a('0x1'));var logger=require(_0x507a('0x2'))(_0x507a('0x3'));var moment=require(_0x507a('0x4'));var BPromise=require(_0x507a('0x5'));var rp=require(_0x507a('0x6'));var fs=require('fs');var path=require(_0x507a('0x7'));var rimraf=require(_0x507a('0x8'));var config=require(_0x507a('0x9'));var attributes=require(_0x507a('0xa'));module[_0x507a('0xb')]=function(_0x78ef02,_0x59f54b){return _0x78ef02[_0x507a('0xc')](_0x507a('0xd'),attributes,{'tableName':_0x507a('0xe'),'paranoid':![],'indexes':[{'fields':[_0x507a('0xf')]},{'fields':[_0x507a('0x10')]}],'timestamps':!![]});};