5dde4d76d96c6424f36fe8ae44be4bfd2fab579e
[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 _0x6df5=['util','../../config/logger','api','request-promise','path','rimraf','../../config/environment','define','UserFaxQueue','lodash'];(function(_0x2c7618,_0x26be9c){var _0x5ce3f0=function(_0x1837b3){while(--_0x1837b3){_0x2c7618['push'](_0x2c7618['shift']());}};_0x5ce3f0(++_0x26be9c);}(_0x6df5,0x1e9));var _0x56df=function(_0x4f839f,_0x292796){_0x4f839f=_0x4f839f-0x0;var _0x598e94=_0x6df5[_0x4f839f];return _0x598e94;};'use strict';var _=require(_0x56df('0x0'));var util=require(_0x56df('0x1'));var logger=require(_0x56df('0x2'))(_0x56df('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x56df('0x4'));var fs=require('fs');var path=require(_0x56df('0x5'));var rimraf=require(_0x56df('0x6'));var config=require(_0x56df('0x7'));var attributes=require('./userFaxQueue.attributes');module['exports']=function(_0x5e5538,_0x5f2903){return _0x5e5538[_0x56df('0x8')](_0x56df('0x9'),attributes,{'tableName':'user_has_fax_queues','paranoid':![],'indexes':[],'timestamps':!![]});};