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 _0x0c3d=['bluebird','request-promise','rimraf','exports','define','FaxQueue','fax_queues','lodash'];(function(_0x3ba900,_0x4b91ea){var _0x51f8ea=function(_0x28617a){while(--_0x28617a){_0x3ba900['push'](_0x3ba900['shift']());}};_0x51f8ea(++_0x4b91ea);}(_0x0c3d,0x10f));var _0xd0c3=function(_0x1c1b8c,_0x4c253d){_0x1c1b8c=_0x1c1b8c-0x0;var _0x1ee4c4=_0x0c3d[_0x1c1b8c];return _0x1ee4c4;};'use strict';var _=require(_0xd0c3('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0xd0c3('0x1'));var rp=require(_0xd0c3('0x2'));var fs=require('fs');var path=require('path');var rimraf=require(_0xd0c3('0x3'));var config=require('../../config/environment');var attributes=require('./faxQueue.attributes');module[_0xd0c3('0x4')]=function(_0x2b36f5,_0xc3a717){return _0x2b36f5[_0xd0c3('0x5')](_0xd0c3('0x6'),attributes,{'tableName':_0xd0c3('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};