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 _0x0964=['request-promise','path','rimraf','../../config/environment','./userFaxQueue.attributes','exports','define','UserFaxQueue','user_has_fax_queues','util','api'];(function(_0x440da0,_0x1b036e){var _0x14c252=function(_0x260040){while(--_0x260040){_0x440da0['push'](_0x440da0['shift']());}};_0x14c252(++_0x1b036e);}(_0x0964,0x15e));var _0x4096=function(_0x19b3f9,_0xade753){_0x19b3f9=_0x19b3f9-0x0;var _0x18c3f6=_0x0964[_0x19b3f9];return _0x18c3f6;};'use strict';var _=require('lodash');var util=require(_0x4096('0x0'));var logger=require('../../config/logger')(_0x4096('0x1'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x4096('0x2'));var fs=require('fs');var path=require(_0x4096('0x3'));var rimraf=require(_0x4096('0x4'));var config=require(_0x4096('0x5'));var attributes=require(_0x4096('0x6'));module[_0x4096('0x7')]=function(_0xc02c24,_0xb99659){return _0xc02c24[_0x4096('0x8')](_0x4096('0x9'),attributes,{'tableName':_0x4096('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};