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 _0x5a65=['./faxQueueReport.attributes','exports','define','FaxQueueReport','report_fax_queue','uniqueid','../../config/logger','api','moment','bluebird','path'];(function(_0x3bdba2,_0x5a652d){var _0x2565aa=function(_0x5b0846){while(--_0x5b0846){_0x3bdba2['push'](_0x3bdba2['shift']());}};_0x2565aa(++_0x5a652d);}(_0x5a65,0x124));var _0x55a6=function(_0x2925b1,_0xb59e00){_0x2925b1=_0x2925b1-0x0;var _0x2fb1ab=_0x5a65[_0x2925b1];return _0x2fb1ab;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x55a6('0x0'))(_0x55a6('0x1'));var moment=require(_0x55a6('0x2'));var BPromise=require(_0x55a6('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x55a6('0x4'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x55a6('0x5'));module[_0x55a6('0x6')]=function(_0x10715b,_0x58cd12){return _0x10715b[_0x55a6('0x7')](_0x55a6('0x8'),attributes,{'tableName':_0x55a6('0x9'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0x55a6('0xa')]}],'timestamps':!![]});};