34586e87737d5749df5f87322baa7de03a645c4b
[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 _0x9b7d=['exports','multer','path','../../components/auth/service','../../components/interaction/service','./faxQueueReport.controller','isAuthenticated','index','get','/describe','describe','/:id','post','create','put','delete','destroy'];(function(_0x5cf556,_0xcec169){var _0x29d999=function(_0x1e4a34){while(--_0x1e4a34){_0x5cf556['push'](_0x5cf556['shift']());}};_0x29d999(++_0xcec169);}(_0x9b7d,0x1cc));var _0xd9b7=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0x9b7d[_0xa464c9];return _0x3d73c4;};'use strict';var multer=require(_0xd9b7('0x0'));var util=require('util');var path=require(_0xd9b7('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xd9b7('0x2'));var interaction=require(_0xd9b7('0x3'));var config=require('../../config/environment');var controller=require(_0xd9b7('0x4'));router['get']('/',auth[_0xd9b7('0x5')](),controller[_0xd9b7('0x6')]);router[_0xd9b7('0x7')](_0xd9b7('0x8'),auth[_0xd9b7('0x5')](),controller[_0xd9b7('0x9')]);router['get'](_0xd9b7('0xa'),auth[_0xd9b7('0x5')](),controller['show']);router[_0xd9b7('0xb')]('/',auth[_0xd9b7('0x5')](),controller[_0xd9b7('0xc')]);router[_0xd9b7('0xd')](_0xd9b7('0xa'),auth[_0xd9b7('0x5')](),controller['update']);router[_0xd9b7('0xe')](_0xd9b7('0xa'),auth[_0xd9b7('0x5')](),controller[_0xd9b7('0xf')]);module[_0xd9b7('0x10')]=router;