711e9cb8655bbaa502553e97d2eb05039c712d06
[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 _0xf3e7=['../../config/environment','./jscriptyQuestionReport.controller','get','isAuthenticated','index','/describe','describe','/:id','post','create','put','destroy','exports','path','Router','../../components/auth/service'];(function(_0xbf3f20,_0x5bf459){var _0x4b8870=function(_0x59962d){while(--_0x59962d){_0xbf3f20['push'](_0xbf3f20['shift']());}};_0x4b8870(++_0x5bf459);}(_0xf3e7,0xad));var _0x7f3e=function(_0x3802f3,_0x4364e7){_0x3802f3=_0x3802f3-0x0;var _0x212c72=_0xf3e7[_0x3802f3];return _0x212c72;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x7f3e('0x0'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x7f3e('0x1')]();var auth=require(_0x7f3e('0x2'));var interaction=require('../../components/interaction/service');var config=require(_0x7f3e('0x3'));var controller=require(_0x7f3e('0x4'));router[_0x7f3e('0x5')]('/',auth[_0x7f3e('0x6')](),controller[_0x7f3e('0x7')]);router[_0x7f3e('0x5')](_0x7f3e('0x8'),auth[_0x7f3e('0x6')](),controller[_0x7f3e('0x9')]);router['get'](_0x7f3e('0xa'),auth[_0x7f3e('0x6')](),controller['show']);router[_0x7f3e('0xb')]('/',auth[_0x7f3e('0x6')](),controller[_0x7f3e('0xc')]);router[_0x7f3e('0xd')](_0x7f3e('0xa'),auth[_0x7f3e('0x6')](),controller['update']);router['delete'](_0x7f3e('0xa'),auth[_0x7f3e('0x6')](),controller[_0x7f3e('0xe')]);module[_0x7f3e('0xf')]=router;