Built motion from commit (unavailable).|2.5.31
[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 _0x35ec=['exports','define','FaxQueue','fax_queues','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./faxQueue.attributes'];(function(_0x12fc36,_0x6530d3){var _0x55c667=function(_0x39ed70){while(--_0x39ed70){_0x12fc36['push'](_0x12fc36['shift']());}};_0x55c667(++_0x6530d3);}(_0x35ec,0x197));var _0xc35e=function(_0x3064b6,_0x1477cb){_0x3064b6=_0x3064b6-0x0;var _0x43315e=_0x35ec[_0x3064b6];return _0x43315e;};'use strict';var _=require('lodash');var util=require(_0xc35e('0x0'));var logger=require(_0xc35e('0x1'))(_0xc35e('0x2'));var moment=require(_0xc35e('0x3'));var BPromise=require(_0xc35e('0x4'));var rp=require(_0xc35e('0x5'));var fs=require('fs');var path=require(_0xc35e('0x6'));var rimraf=require(_0xc35e('0x7'));var config=require('../../config/environment');var attributes=require(_0xc35e('0x8'));module[_0xc35e('0x9')]=function(_0x13efa9,_0x230250){return _0x13efa9[_0xc35e('0xa')](_0xc35e('0xb'),attributes,{'tableName':_0xc35e('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};