Built motion from commit 0900f080.|2.5.45
[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 _0x3a61=['/describe','isAuthenticated','describe','/:id','show','post','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./jscriptyQuestionReport.controller','get','index'];(function(_0x16a45b,_0x3725a3){var _0x31628a=function(_0x4148a2){while(--_0x4148a2){_0x16a45b['push'](_0x16a45b['shift']());}};_0x31628a(++_0x3725a3);}(_0x3a61,0x1a4));var _0x13a6=function(_0x45e94d,_0x1fb9d0){_0x45e94d=_0x45e94d-0x0;var _0x31209d=_0x3a61[_0x45e94d];return _0x31209d;};'use strict';var multer=require(_0x13a6('0x0'));var util=require(_0x13a6('0x1'));var path=require(_0x13a6('0x2'));var timeout=require(_0x13a6('0x3'));var express=require(_0x13a6('0x4'));var router=express[_0x13a6('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x13a6('0x6'));var interaction=require(_0x13a6('0x7'));var config=require(_0x13a6('0x8'));var controller=require(_0x13a6('0x9'));router[_0x13a6('0xa')]('/',auth['isAuthenticated'](),controller[_0x13a6('0xb')]);router['get'](_0x13a6('0xc'),auth[_0x13a6('0xd')](),controller[_0x13a6('0xe')]);router['get'](_0x13a6('0xf'),auth['isAuthenticated'](),controller[_0x13a6('0x10')]);router[_0x13a6('0x11')]('/',auth[_0x13a6('0xd')](),controller[_0x13a6('0x12')]);router[_0x13a6('0x13')](_0x13a6('0xf'),auth[_0x13a6('0xd')](),controller[_0x13a6('0x14')]);router[_0x13a6('0x15')](_0x13a6('0xf'),auth[_0x13a6('0xd')](),controller[_0x13a6('0x16')]);module[_0x13a6('0x17')]=router;