d1ee24f94c0acd13bf7c7eee3c589a72f615acfb
[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 _0xf438=['post','create','put','update','delete','destroy','exports','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./jscriptyQuestionReport.controller','get','isAuthenticated','/describe','describe','/:id','show'];(function(_0x26f69d,_0x411d09){var _0x49feaa=function(_0xbf0207){while(--_0xbf0207){_0x26f69d['push'](_0x26f69d['shift']());}};_0x49feaa(++_0x411d09);}(_0xf438,0x167));var _0x8f43=function(_0x45d55e,_0x2fede3){_0x45d55e=_0x45d55e-0x0;var _0x29812a=_0xf438[_0x45d55e];return _0x29812a;};'use strict';var multer=require('multer');var util=require(_0x8f43('0x0'));var path=require(_0x8f43('0x1'));var timeout=require(_0x8f43('0x2'));var express=require('express');var router=express[_0x8f43('0x3')]();var fs_extra=require(_0x8f43('0x4'));var auth=require(_0x8f43('0x5'));var interaction=require(_0x8f43('0x6'));var config=require(_0x8f43('0x7'));var controller=require(_0x8f43('0x8'));router[_0x8f43('0x9')]('/',auth[_0x8f43('0xa')](),controller['index']);router[_0x8f43('0x9')](_0x8f43('0xb'),auth[_0x8f43('0xa')](),controller[_0x8f43('0xc')]);router[_0x8f43('0x9')](_0x8f43('0xd'),auth[_0x8f43('0xa')](),controller[_0x8f43('0xe')]);router[_0x8f43('0xf')]('/',auth['isAuthenticated'](),controller[_0x8f43('0x10')]);router[_0x8f43('0x11')](_0x8f43('0xd'),auth['isAuthenticated'](),controller[_0x8f43('0x12')]);router[_0x8f43('0x13')](_0x8f43('0xd'),auth[_0x8f43('0xa')](),controller[_0x8f43('0x14')]);module[_0x8f43('0x15')]=router;