Built motion from commit ffdca78c.|2.6.24
[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 _0xb90b=['request-promise','path','rimraf','util','../../config/logger','api'];(function(_0x11b19b,_0x213234){var _0x1daac1=function(_0x516d3b){while(--_0x516d3b){_0x11b19b['push'](_0x11b19b['shift']());}};_0x1daac1(++_0x213234);}(_0xb90b,0xbd));var _0xbb90=function(_0x36e548,_0xf70db5){_0x36e548=_0x36e548-0x0;var _0x5bfeca=_0xb90b[_0x36e548];return _0x5bfeca;};'use strict';var _=require('lodash');var util=require(_0xbb90('0x0'));var logger=require(_0xbb90('0x1'))(_0xbb90('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xbb90('0x3'));var fs=require('fs');var path=require(_0xbb90('0x4'));var rimraf=require(_0xbb90('0x5'));var config=require('../../config/environment');var attributes=require('./faxQueue.attributes');module['exports']=function(_0x5c89b1,_0x2a7dee){return _0x5c89b1['define']('FaxQueue',attributes,{'tableName':'fax_queues','paranoid':![],'indexes':[],'timestamps':!![]});};