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 _0xc526=['report_fax_transfer','uniqueid','util','api','moment','bluebird','path','exports','define','FaxTransferReport'];(function(_0x43c404,_0x2ead88){var _0x5986ec=function(_0x25482c){while(--_0x25482c){_0x43c404['push'](_0x43c404['shift']());}};_0x5986ec(++_0x2ead88);}(_0xc526,0x124));var _0x6c52=function(_0x56e9b6,_0x2b69a5){_0x56e9b6=_0x56e9b6-0x0;var _0x3a8f55=_0xc526[_0x56e9b6];return _0x3a8f55;};'use strict';var _=require('lodash');var util=require(_0x6c52('0x0'));var logger=require('../../config/logger')(_0x6c52('0x1'));var moment=require(_0x6c52('0x2'));var BPromise=require(_0x6c52('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x6c52('0x4'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./faxTransferReport.attributes');module[_0x6c52('0x5')]=function(_0x23e200,_0x20228a){return _0x23e200[_0x6c52('0x6')](_0x6c52('0x7'),attributes,{'tableName':_0x6c52('0x8'),'paranoid':![],'indexes':[{'name':_0x6c52('0x9'),'fields':[_0x6c52('0x9')]}],'timestamps':!![]});};