61af9f1164c6cda8abd757d08a2c453fe57aa43b
[motion2.git] / server / api / jscriptyQuestionReport / 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 _0x0cf3=['multer','util','path','connect-timeout','../../components/auth/service','../../components/interaction/service','../../config/environment','./jscriptyQuestionReport.controller','isAuthenticated','index','get','/:id','post','create','put','update','delete','destroy','exports'];(function(_0x4823a2,_0x227df4){var _0x311071=function(_0x1b30c6){while(--_0x1b30c6){_0x4823a2['push'](_0x4823a2['shift']());}};_0x311071(++_0x227df4);}(_0x0cf3,0x1b5));var _0x30cf=function(_0x464591,_0x48aefa){_0x464591=_0x464591-0x0;var _0x21ea9b=_0x0cf3[_0x464591];return _0x21ea9b;};'use strict';var multer=require(_0x30cf('0x0'));var util=require(_0x30cf('0x1'));var path=require(_0x30cf('0x2'));var timeout=require(_0x30cf('0x3'));var express=require('express');var router=express['Router']();var auth=require(_0x30cf('0x4'));var interaction=require(_0x30cf('0x5'));var config=require(_0x30cf('0x6'));var controller=require(_0x30cf('0x7'));router['get']('/',auth[_0x30cf('0x8')](),controller[_0x30cf('0x9')]);router[_0x30cf('0xa')]('/describe',auth[_0x30cf('0x8')](),controller['describe']);router[_0x30cf('0xa')](_0x30cf('0xb'),auth[_0x30cf('0x8')](),controller['show']);router[_0x30cf('0xc')]('/',auth['isAuthenticated'](),controller[_0x30cf('0xd')]);router[_0x30cf('0xe')](_0x30cf('0xb'),auth[_0x30cf('0x8')](),controller[_0x30cf('0xf')]);router[_0x30cf('0x10')](_0x30cf('0xb'),auth[_0x30cf('0x8')](),controller[_0x30cf('0x11')]);module[_0x30cf('0x12')]=router;