Built motion from commit (unavailable).|2.4.19
[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 _0x545a=['rimraf','exports','define','fax_queues','util','request-promise'];(function(_0x9647da,_0x1f7117){var _0x25c414=function(_0x260ce6){while(--_0x260ce6){_0x9647da['push'](_0x9647da['shift']());}};_0x25c414(++_0x1f7117);}(_0x545a,0xc4));var _0xa545=function(_0x5c2e3e,_0x26ecd3){_0x5c2e3e=_0x5c2e3e-0x0;var _0x53f64a=_0x545a[_0x5c2e3e];return _0x53f64a;};'use strict';var _=require('lodash');var util=require(_0xa545('0x0'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xa545('0x1'));var fs=require('fs');var path=require('path');var rimraf=require(_0xa545('0x2'));var config=require('../../config/environment');var attributes=require('./faxQueue.attributes');module[_0xa545('0x3')]=function(_0x16a408,_0x34929c){return _0x16a408[_0xa545('0x4')]('FaxQueue',attributes,{'tableName':_0xa545('0x5'),'paranoid':![],'indexes':[],'timestamps':!![]});};