4b5904dcce8731f8fcae3105d864189cb02be111
[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 _0x415b=['fs-extra','../../components/interaction/service','../../config/environment','./jscriptyQuestionReport.controller','isAuthenticated','index','get','/describe','describe','/:id','show','post','create','put','update','delete','destroy','exports','multer','path','express','Router'];(function(_0x16ee21,_0x2b9d60){var _0x1ae6fd=function(_0x1526df){while(--_0x1526df){_0x16ee21['push'](_0x16ee21['shift']());}};_0x1ae6fd(++_0x2b9d60);}(_0x415b,0x15c));var _0xb415=function(_0x4565bf,_0x5ad9d6){_0x4565bf=_0x4565bf-0x0;var _0x5610ba=_0x415b[_0x4565bf];return _0x5610ba;};'use strict';var multer=require(_0xb415('0x0'));var util=require('util');var path=require(_0xb415('0x1'));var timeout=require('connect-timeout');var express=require(_0xb415('0x2'));var router=express[_0xb415('0x3')]();var fs_extra=require(_0xb415('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xb415('0x5'));var config=require(_0xb415('0x6'));var controller=require(_0xb415('0x7'));router['get']('/',auth[_0xb415('0x8')](),controller[_0xb415('0x9')]);router[_0xb415('0xa')](_0xb415('0xb'),auth[_0xb415('0x8')](),controller[_0xb415('0xc')]);router['get'](_0xb415('0xd'),auth[_0xb415('0x8')](),controller[_0xb415('0xe')]);router[_0xb415('0xf')]('/',auth['isAuthenticated'](),controller[_0xb415('0x10')]);router[_0xb415('0x11')]('/:id',auth[_0xb415('0x8')](),controller[_0xb415('0x12')]);router[_0xb415('0x13')](_0xb415('0xd'),auth[_0xb415('0x8')](),controller[_0xb415('0x14')]);module[_0xb415('0x15')]=router;