Built motion from commit fa4c4286.|2.6.29
[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 _0x559f=['moment','bluebird','request-promise','path','../../config/environment','./faxQueue.attributes','util','../../config/logger','api'];(function(_0x264b61,_0x4a5017){var _0x8fff4f=function(_0x25c21e){while(--_0x25c21e){_0x264b61['push'](_0x264b61['shift']());}};_0x8fff4f(++_0x4a5017);}(_0x559f,0x1c8));var _0xf559=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x559f[_0x3dd15e];return _0x231fd0;};'use strict';var _=require('lodash');var util=require(_0xf559('0x0'));var logger=require(_0xf559('0x1'))(_0xf559('0x2'));var moment=require(_0xf559('0x3'));var BPromise=require(_0xf559('0x4'));var rp=require(_0xf559('0x5'));var fs=require('fs');var path=require(_0xf559('0x6'));var rimraf=require('rimraf');var config=require(_0xf559('0x7'));var attributes=require(_0xf559('0x8'));module['exports']=function(_0x15697e,_0x17df02){return _0x15697e['define']('FaxQueue',attributes,{'tableName':'fax_queues','paranoid':![],'indexes':[],'timestamps':!![]});};