Built motion from commit 753c950e.|2.5.42
[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 _0x20a9=['bluebird','rimraf','../../config/environment','./faxQueue.attributes','exports','define','fax_queues','lodash','util','api'];(function(_0xa65e7e,_0x46c8e4){var _0x35473c=function(_0xbae351){while(--_0xbae351){_0xa65e7e['push'](_0xa65e7e['shift']());}};_0x35473c(++_0x46c8e4);}(_0x20a9,0x1a1));var _0x920a=function(_0x13ea00,_0x12f610){_0x13ea00=_0x13ea00-0x0;var _0x1f7347=_0x20a9[_0x13ea00];return _0x1f7347;};'use strict';var _=require(_0x920a('0x0'));var util=require(_0x920a('0x1'));var logger=require('../../config/logger')(_0x920a('0x2'));var moment=require('moment');var BPromise=require(_0x920a('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x920a('0x4'));var config=require(_0x920a('0x5'));var attributes=require(_0x920a('0x6'));module[_0x920a('0x7')]=function(_0x15879b,_0x23946f){return _0x15879b[_0x920a('0x8')]('FaxQueue',attributes,{'tableName':_0x920a('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};