Built motion from commit ddca4d0d.|2.5.47
[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 _0x7e67=['exports','util','path','connect-timeout','express','../../components/auth/service','../../config/environment','isAuthenticated','index','get','/describe','describe','/:id','show','create','put','update','destroy'];(function(_0x3adae9,_0x3b79b2){var _0x7b05c6=function(_0x5e2f51){while(--_0x5e2f51){_0x3adae9['push'](_0x3adae9['shift']());}};_0x7b05c6(++_0x3b79b2);}(_0x7e67,0x1c3));var _0x77e6=function(_0x383394,_0x493746){_0x383394=_0x383394-0x0;var _0x100a17=_0x7e67[_0x383394];return _0x100a17;};'use strict';var multer=require('multer');var util=require(_0x77e6('0x0'));var path=require(_0x77e6('0x1'));var timeout=require(_0x77e6('0x2'));var express=require(_0x77e6('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x77e6('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x77e6('0x5'));var controller=require('./faxQueueReport.controller');router['get']('/',auth[_0x77e6('0x6')](),controller[_0x77e6('0x7')]);router[_0x77e6('0x8')](_0x77e6('0x9'),auth['isAuthenticated'](),controller[_0x77e6('0xa')]);router[_0x77e6('0x8')](_0x77e6('0xb'),auth[_0x77e6('0x6')](),controller[_0x77e6('0xc')]);router['post']('/',auth[_0x77e6('0x6')](),controller[_0x77e6('0xd')]);router[_0x77e6('0xe')](_0x77e6('0xb'),auth['isAuthenticated'](),controller[_0x77e6('0xf')]);router['delete'](_0x77e6('0xb'),auth[_0x77e6('0x6')](),controller[_0x77e6('0x10')]);module[_0x77e6('0x11')]=router;