2fea0d44b1e37888c5e1f1088378c3551bccce3d
[motion2.git] / server / api / faxQueue / faxQueue.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x19f6=['util','../../config/logger','moment','bluebird','request-promise','path','rimraf','./faxQueue.attributes','exports','define','FaxQueue','fax_queues','lodash'];(function(_0x5db657,_0x2f40b3){var _0x2d6e70=function(_0x358ed2){while(--_0x358ed2){_0x5db657['push'](_0x5db657['shift']());}};_0x2d6e70(++_0x2f40b3);}(_0x19f6,0x144));var _0x619f=function(_0x1fcbb7,_0x21ff69){_0x1fcbb7=_0x1fcbb7-0x0;var _0x1a5046=_0x19f6[_0x1fcbb7];return _0x1a5046;};'use strict';var _=require(_0x619f('0x0'));var util=require(_0x619f('0x1'));var logger=require(_0x619f('0x2'))('api');var moment=require(_0x619f('0x3'));var BPromise=require(_0x619f('0x4'));var rp=require(_0x619f('0x5'));var fs=require('fs');var path=require(_0x619f('0x6'));var rimraf=require(_0x619f('0x7'));var config=require('../../config/environment');var attributes=require(_0x619f('0x8'));module[_0x619f('0x9')]=function(_0x37a8f0,_0x4b5866){return _0x37a8f0[_0x619f('0xa')](_0x619f('0xb'),attributes,{'tableName':_0x619f('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};