4c5170aee30e446d1f10f136ea8f4c2270f2efc2
[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 _0xb09a=['isAuthenticated','describe','get','show','post','create','put','/:id','delete','exports','multer','util','path','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxQueueReport.controller'];(function(_0x53b8e0,_0x55d46e){var _0x10630c=function(_0x3189aa){while(--_0x3189aa){_0x53b8e0['push'](_0x53b8e0['shift']());}};_0x10630c(++_0x55d46e);}(_0xb09a,0x12a));var _0xab09=function(_0x286bfb,_0x46ac3c){_0x286bfb=_0x286bfb-0x0;var _0x52b683=_0xb09a[_0x286bfb];return _0x52b683;};'use strict';var multer=require(_0xab09('0x0'));var util=require(_0xab09('0x1'));var path=require(_0xab09('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var fs_extra=require(_0xab09('0x3'));var auth=require(_0xab09('0x4'));var interaction=require(_0xab09('0x5'));var config=require(_0xab09('0x6'));var controller=require(_0xab09('0x7'));router['get']('/',auth[_0xab09('0x8')](),controller['index']);router['get']('/describe',auth[_0xab09('0x8')](),controller[_0xab09('0x9')]);router[_0xab09('0xa')]('/:id',auth[_0xab09('0x8')](),controller[_0xab09('0xb')]);router[_0xab09('0xc')]('/',auth['isAuthenticated'](),controller[_0xab09('0xd')]);router[_0xab09('0xe')](_0xab09('0xf'),auth[_0xab09('0x8')](),controller['update']);router[_0xab09('0x10')](_0xab09('0xf'),auth[_0xab09('0x8')](),controller['destroy']);module[_0xab09('0x11')]=router;