Built motion from commit 5b761a7b.|2.5.36
[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 _0x1ff2=['request-promise','path','../../config/environment','exports','define','lodash','util','../../config/logger','api','bluebird'];(function(_0x4bf61d,_0x4f0ed9){var _0xce5677=function(_0x4931fc){while(--_0x4931fc){_0x4bf61d['push'](_0x4bf61d['shift']());}};_0xce5677(++_0x4f0ed9);}(_0x1ff2,0x73));var _0x21ff=function(_0x111253,_0x2617a8){_0x111253=_0x111253-0x0;var _0x384839=_0x1ff2[_0x111253];return _0x384839;};'use strict';var _=require(_0x21ff('0x0'));var util=require(_0x21ff('0x1'));var logger=require(_0x21ff('0x2'))(_0x21ff('0x3'));var moment=require('moment');var BPromise=require(_0x21ff('0x4'));var rp=require(_0x21ff('0x5'));var fs=require('fs');var path=require(_0x21ff('0x6'));var rimraf=require('rimraf');var config=require(_0x21ff('0x7'));var attributes=require('./faxQueue.attributes');module[_0x21ff('0x8')]=function(_0x4532d4,_0x582295){return _0x4532d4[_0x21ff('0x9')]('FaxQueue',attributes,{'tableName':'fax_queues','paranoid':![],'indexes':[],'timestamps':!![]});};