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 _0x31a9=['../../config/logger','moment','path','rimraf','../../config/environment','./faxQueue.attributes','exports','define','FaxQueue','fax_queues','util'];(function(_0x28b4cd,_0x573ff1){var _0x4229cc=function(_0x2ba663){while(--_0x2ba663){_0x28b4cd['push'](_0x28b4cd['shift']());}};_0x4229cc(++_0x573ff1);}(_0x31a9,0xc5));var _0x931a=function(_0x5be8cc,_0x4a6037){_0x5be8cc=_0x5be8cc-0x0;var _0x5f1b7e=_0x31a9[_0x5be8cc];return _0x5f1b7e;};'use strict';var _=require('lodash');var util=require(_0x931a('0x0'));var logger=require(_0x931a('0x1'))('api');var moment=require(_0x931a('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x931a('0x3'));var rimraf=require(_0x931a('0x4'));var config=require(_0x931a('0x5'));var attributes=require(_0x931a('0x6'));module[_0x931a('0x7')]=function(_0x1bb8c6,_0xd362d2){return _0x1bb8c6[_0x931a('0x8')](_0x931a('0x9'),attributes,{'tableName':_0x931a('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};