c180a8de05b48f4bbf700a5554f37f1bc9c8f466
[motion2.git] / server / api / faxQueueReport / index.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 _0xa948=['isAuthenticated','/describe','describe','/:id','show','post','update','delete','destroy','exports','multer','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./faxQueueReport.controller','get'];(function(_0x5ea952,_0xc78c71){var _0x45d14e=function(_0x7f3429){while(--_0x7f3429){_0x5ea952['push'](_0x5ea952['shift']());}};_0x45d14e(++_0xc78c71);}(_0xa948,0x199));var _0x8a94=function(_0x1d20e5,_0x3d4f74){_0x1d20e5=_0x1d20e5-0x0;var _0x14c8d3=_0xa948[_0x1d20e5];return _0x14c8d3;};'use strict';var multer=require(_0x8a94('0x0'));var util=require('util');var path=require(_0x8a94('0x1'));var timeout=require(_0x8a94('0x2'));var express=require(_0x8a94('0x3'));var router=express[_0x8a94('0x4')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x8a94('0x5'));var config=require(_0x8a94('0x6'));var controller=require(_0x8a94('0x7'));router[_0x8a94('0x8')]('/',auth[_0x8a94('0x9')](),controller['index']);router[_0x8a94('0x8')](_0x8a94('0xa'),auth[_0x8a94('0x9')](),controller[_0x8a94('0xb')]);router[_0x8a94('0x8')](_0x8a94('0xc'),auth[_0x8a94('0x9')](),controller[_0x8a94('0xd')]);router[_0x8a94('0xe')]('/',auth['isAuthenticated'](),controller['create']);router['put'](_0x8a94('0xc'),auth[_0x8a94('0x9')](),controller[_0x8a94('0xf')]);router[_0x8a94('0x10')](_0x8a94('0xc'),auth[_0x8a94('0x9')](),controller[_0x8a94('0x11')]);module[_0x8a94('0x12')]=router;