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 _0xc272=['define','FaxQueueReport','report_fax_queue','uniqueid','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./faxQueueReport.attributes','exports'];(function(_0x587c44,_0x5ee8ff){var _0x5cc530=function(_0x280cd8){while(--_0x280cd8){_0x587c44['push'](_0x587c44['shift']());}};_0x5cc530(++_0x5ee8ff);}(_0xc272,0x10e));var _0x2c27=function(_0x3ab353,_0x5d5283){_0x3ab353=_0x3ab353-0x0;var _0x1e2285=_0xc272[_0x3ab353];return _0x1e2285;};'use strict';var _=require('lodash');var util=require(_0x2c27('0x0'));var logger=require(_0x2c27('0x1'))('api');var moment=require(_0x2c27('0x2'));var BPromise=require(_0x2c27('0x3'));var rp=require(_0x2c27('0x4'));var fs=require('fs');var path=require(_0x2c27('0x5'));var rimraf=require(_0x2c27('0x6'));var config=require(_0x2c27('0x7'));var attributes=require(_0x2c27('0x8'));module[_0x2c27('0x9')]=function(_0x105bca,_0x55c62e){return _0x105bca[_0x2c27('0xa')](_0x2c27('0xb'),attributes,{'tableName':_0x2c27('0xc'),'paranoid':![],'indexes':[{'name':_0x2c27('0xd'),'fields':[_0x2c27('0xd')]}],'timestamps':!![]});};