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 _0x6ebb=['define','FaxQueueReport','report_fax_queue','uniqueid','lodash','util','moment','bluebird','path','rimraf','../../config/environment','exports'];(function(_0xf2b54c,_0x90b51a){var _0x1f8bad=function(_0x5d1bfb){while(--_0x5d1bfb){_0xf2b54c['push'](_0xf2b54c['shift']());}};_0x1f8bad(++_0x90b51a);}(_0x6ebb,0xc4));var _0xb6eb=function(_0x44741b,_0xb0e278){_0x44741b=_0x44741b-0x0;var _0x1f3166=_0x6ebb[_0x44741b];return _0x1f3166;};'use strict';var _=require(_0xb6eb('0x0'));var util=require(_0xb6eb('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xb6eb('0x2'));var BPromise=require(_0xb6eb('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xb6eb('0x4'));var rimraf=require(_0xb6eb('0x5'));var config=require(_0xb6eb('0x6'));var attributes=require('./faxQueueReport.attributes');module[_0xb6eb('0x7')]=function(_0x25330c,_0x55ca15){return _0x25330c[_0xb6eb('0x8')](_0xb6eb('0x9'),attributes,{'tableName':_0xb6eb('0xa'),'paranoid':![],'indexes':[{'name':_0xb6eb('0xb'),'fields':[_0xb6eb('0xb')]}],'timestamps':!![]});};