Built motion from commit b0a9a629.|2.6.33
[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 _0x0fe9=['../../config/logger','moment','bluebird','request-promise','path','rimraf','exports','define','UserFaxQueue','user_has_fax_queues','util'];(function(_0x30f030,_0xd03b7a){var _0xf7614f=function(_0x261cac){while(--_0x261cac){_0x30f030['push'](_0x30f030['shift']());}};_0xf7614f(++_0xd03b7a);}(_0x0fe9,0x16a));var _0x90fe=function(_0x1a93ce,_0x5aeeb1){_0x1a93ce=_0x1a93ce-0x0;var _0x28371e=_0x0fe9[_0x1a93ce];return _0x28371e;};'use strict';var _=require('lodash');var util=require(_0x90fe('0x0'));var logger=require(_0x90fe('0x1'))('api');var moment=require(_0x90fe('0x2'));var BPromise=require(_0x90fe('0x3'));var rp=require(_0x90fe('0x4'));var fs=require('fs');var path=require(_0x90fe('0x5'));var rimraf=require(_0x90fe('0x6'));var config=require('../../config/environment');var attributes=require('./userFaxQueue.attributes');module[_0x90fe('0x7')]=function(_0x5b1c0b,_0x4f3346){return _0x5b1c0b[_0x90fe('0x8')](_0x90fe('0x9'),attributes,{'tableName':_0x90fe('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};