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 _0x4a38=['define','FaxQueue','fax_queues','lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','exports'];(function(_0x162780,_0x47f2e2){var _0x1ea2dc=function(_0x123898){while(--_0x123898){_0x162780['push'](_0x162780['shift']());}};_0x1ea2dc(++_0x47f2e2);}(_0x4a38,0xb7));var _0x84a3=function(_0x2dd413,_0x572887){_0x2dd413=_0x2dd413-0x0;var _0x2ca759=_0x4a38[_0x2dd413];return _0x2ca759;};'use strict';var _=require(_0x84a3('0x0'));var util=require(_0x84a3('0x1'));var logger=require(_0x84a3('0x2'))('api');var moment=require(_0x84a3('0x3'));var BPromise=require(_0x84a3('0x4'));var rp=require(_0x84a3('0x5'));var fs=require('fs');var path=require(_0x84a3('0x6'));var rimraf=require(_0x84a3('0x7'));var config=require('../../config/environment');var attributes=require('./faxQueue.attributes');module[_0x84a3('0x8')]=function(_0x1bccc2,_0x728dee){return _0x1bccc2[_0x84a3('0x9')](_0x84a3('0xa'),attributes,{'tableName':_0x84a3('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};