684d5df2c50fc262540c439a8fe91f968d40b1b7
[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 _0x9a3f=['fax_queues','lodash','util','../../config/logger','bluebird','path','rimraf','../../config/environment','./faxQueue.attributes','exports','define','FaxQueue'];(function(_0x3c4a8c,_0x28eab1){var _0x5a62f3=function(_0x184e6e){while(--_0x184e6e){_0x3c4a8c['push'](_0x3c4a8c['shift']());}};_0x5a62f3(++_0x28eab1);}(_0x9a3f,0x91));var _0xf9a3=function(_0xce2ed8,_0x1b5c90){_0xce2ed8=_0xce2ed8-0x0;var _0x2dc831=_0x9a3f[_0xce2ed8];return _0x2dc831;};'use strict';var _=require(_0xf9a3('0x0'));var util=require(_0xf9a3('0x1'));var logger=require(_0xf9a3('0x2'))('api');var moment=require('moment');var BPromise=require(_0xf9a3('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xf9a3('0x4'));var rimraf=require(_0xf9a3('0x5'));var config=require(_0xf9a3('0x6'));var attributes=require(_0xf9a3('0x7'));module[_0xf9a3('0x8')]=function(_0x2718fb,_0x4c8e98){return _0x2718fb[_0xf9a3('0x9')](_0xf9a3('0xa'),attributes,{'tableName':_0xf9a3('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};