8ec0328f4d8f891931cb63007b241e341eb0a14a
[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 _0xcc13=['path','rimraf','define','UserFaxQueue','lodash','util','../../config/logger','moment','bluebird','request-promise'];(function(_0x191cc2,_0x5c0b6b){var _0x33288e=function(_0x510fd9){while(--_0x510fd9){_0x191cc2['push'](_0x191cc2['shift']());}};_0x33288e(++_0x5c0b6b);}(_0xcc13,0x72));var _0x3cc1=function(_0x591f59,_0x58ae57){_0x591f59=_0x591f59-0x0;var _0x4b3db4=_0xcc13[_0x591f59];return _0x4b3db4;};'use strict';var _=require(_0x3cc1('0x0'));var util=require(_0x3cc1('0x1'));var logger=require(_0x3cc1('0x2'))('api');var moment=require(_0x3cc1('0x3'));var BPromise=require(_0x3cc1('0x4'));var rp=require(_0x3cc1('0x5'));var fs=require('fs');var path=require(_0x3cc1('0x6'));var rimraf=require(_0x3cc1('0x7'));var config=require('../../config/environment');var attributes=require('./userFaxQueue.attributes');module['exports']=function(_0x158247,_0x1ff2b8){return _0x158247[_0x3cc1('0x8')](_0x3cc1('0x9'),attributes,{'tableName':'user_has_fax_queues','paranoid':![],'indexes':[],'timestamps':!![]});};