Built motion from commit 449495f6.|2.6.27
[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 _0x1154=['rimraf','../../config/environment','./faxQueue.attributes','exports','define','FaxQueue','fax_queues','lodash','util','moment','request-promise','path'];(function(_0x206711,_0x4125b4){var _0x4fe02b=function(_0x27dc45){while(--_0x27dc45){_0x206711['push'](_0x206711['shift']());}};_0x4fe02b(++_0x4125b4);}(_0x1154,0x73));var _0x4115=function(_0x5b3760,_0x7b43b1){_0x5b3760=_0x5b3760-0x0;var _0x38b52c=_0x1154[_0x5b3760];return _0x38b52c;};'use strict';var _=require(_0x4115('0x0'));var util=require(_0x4115('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x4115('0x2'));var BPromise=require('bluebird');var rp=require(_0x4115('0x3'));var fs=require('fs');var path=require(_0x4115('0x4'));var rimraf=require(_0x4115('0x5'));var config=require(_0x4115('0x6'));var attributes=require(_0x4115('0x7'));module[_0x4115('0x8')]=function(_0x47b446,_0x5c1fce){return _0x47b446[_0x4115('0x9')](_0x4115('0xa'),attributes,{'tableName':_0x4115('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};