Built motion from commit e6806ed6.|2.6.0
[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 _0xe5ac=['exports','define','FaxQueue','fax_queues','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./faxQueue.attributes'];(function(_0x1caf6a,_0x26a5bf){var _0x1bf493=function(_0x3982f5){while(--_0x3982f5){_0x1caf6a['push'](_0x1caf6a['shift']());}};_0x1bf493(++_0x26a5bf);}(_0xe5ac,0x103));var _0xce5a=function(_0x54c2fd,_0x4fd118){_0x54c2fd=_0x54c2fd-0x0;var _0xcb6a38=_0xe5ac[_0x54c2fd];return _0xcb6a38;};'use strict';var _=require(_0xce5a('0x0'));var util=require(_0xce5a('0x1'));var logger=require(_0xce5a('0x2'))(_0xce5a('0x3'));var moment=require(_0xce5a('0x4'));var BPromise=require(_0xce5a('0x5'));var rp=require(_0xce5a('0x6'));var fs=require('fs');var path=require(_0xce5a('0x7'));var rimraf=require(_0xce5a('0x8'));var config=require(_0xce5a('0x9'));var attributes=require(_0xce5a('0xa'));module[_0xce5a('0xb')]=function(_0x50e3d2,_0x4310dd){return _0x50e3d2[_0xce5a('0xc')](_0xce5a('0xd'),attributes,{'tableName':_0xce5a('0xe'),'paranoid':![],'indexes':[],'timestamps':!![]});};