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 _0xd1f6=['moment','path','../../config/environment','./voiceQueueReport.attributes','exports','define','VoiceQueueReport','report_queue','uniqueid','calleridnum'];(function(_0x315aa8,_0x262f9c){var _0x20f758=function(_0x1765e7){while(--_0x1765e7){_0x315aa8['push'](_0x315aa8['shift']());}};_0x20f758(++_0x262f9c);}(_0xd1f6,0x104));var _0x6d1f=function(_0x4141b7,_0x3b1e9a){_0x4141b7=_0x4141b7-0x0;var _0x20cb19=_0xd1f6[_0x4141b7];return _0x20cb19;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x6d1f('0x0'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x6d1f('0x1'));var rimraf=require('rimraf');var config=require(_0x6d1f('0x2'));var attributes=require(_0x6d1f('0x3'));module[_0x6d1f('0x4')]=function(_0xfad1f2,_0x5e452f){return _0xfad1f2[_0x6d1f('0x5')](_0x6d1f('0x6'),attributes,{'tableName':_0x6d1f('0x7'),'paranoid':![],'indexes':[{'fields':[_0x6d1f('0x8')]},{'fields':[_0x6d1f('0x9')]}],'timestamps':!![]});};