Built motion from commit 43538d75.|2.5.35
[motion2.git] / server / api / userFaxQueue / userFaxQueue.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 _0x4b3e=['user_has_fax_queues','lodash','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','exports','define','UserFaxQueue'];(function(_0x599f41,_0x4db732){var _0x2e4d58=function(_0x14c882){while(--_0x14c882){_0x599f41['push'](_0x599f41['shift']());}};_0x2e4d58(++_0x4db732);}(_0x4b3e,0x85));var _0xe4b3=function(_0x50aa2e,_0xfbd6f0){_0x50aa2e=_0x50aa2e-0x0;var _0x5e07f0=_0x4b3e[_0x50aa2e];return _0x5e07f0;};'use strict';var _=require(_0xe4b3('0x0'));var util=require('util');var logger=require(_0xe4b3('0x1'))(_0xe4b3('0x2'));var moment=require(_0xe4b3('0x3'));var BPromise=require(_0xe4b3('0x4'));var rp=require(_0xe4b3('0x5'));var fs=require('fs');var path=require(_0xe4b3('0x6'));var rimraf=require(_0xe4b3('0x7'));var config=require('../../config/environment');var attributes=require('./userFaxQueue.attributes');module[_0xe4b3('0x8')]=function(_0x1bd5d2,_0x19be25){return _0x1bd5d2[_0xe4b3('0x9')](_0xe4b3('0xa'),attributes,{'tableName':_0xe4b3('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};