Built motion from commit c116dc8b.|2.6.30
[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 _0x8e86=['../../config/logger','api','moment','bluebird','path','rimraf','./faxQueue.attributes','exports','define','FaxQueue','fax_queues','lodash','util'];(function(_0x13a325,_0xca4c88){var _0x5197fe=function(_0x11d983){while(--_0x11d983){_0x13a325['push'](_0x13a325['shift']());}};_0x5197fe(++_0xca4c88);}(_0x8e86,0x177));var _0x68e8=function(_0x3c3179,_0x583ff9){_0x3c3179=_0x3c3179-0x0;var _0x219728=_0x8e86[_0x3c3179];return _0x219728;};'use strict';var _=require(_0x68e8('0x0'));var util=require(_0x68e8('0x1'));var logger=require(_0x68e8('0x2'))(_0x68e8('0x3'));var moment=require(_0x68e8('0x4'));var BPromise=require(_0x68e8('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x68e8('0x6'));var rimraf=require(_0x68e8('0x7'));var config=require('../../config/environment');var attributes=require(_0x68e8('0x8'));module[_0x68e8('0x9')]=function(_0x23fb7e,_0x3504d7){return _0x23fb7e[_0x68e8('0xa')](_0x68e8('0xb'),attributes,{'tableName':_0x68e8('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};