4994b7f5cf753cb2ab97de68c8bdd0dd71919772
[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 _0x3c1d=['post','create','put','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/interaction/service','./jscriptyQuestionReport.controller','isAuthenticated','index','/describe','describe','get','/:id'];(function(_0x304cac,_0x12363f){var _0x43bb98=function(_0x18c147){while(--_0x18c147){_0x304cac['push'](_0x304cac['shift']());}};_0x43bb98(++_0x12363f);}(_0x3c1d,0x196));var _0xd3c1=function(_0x16b9ed,_0x56517a){_0x16b9ed=_0x16b9ed-0x0;var _0x66b1f8=_0x3c1d[_0x16b9ed];return _0x66b1f8;};'use strict';var multer=require(_0xd3c1('0x0'));var util=require(_0xd3c1('0x1'));var path=require(_0xd3c1('0x2'));var timeout=require(_0xd3c1('0x3'));var express=require(_0xd3c1('0x4'));var router=express[_0xd3c1('0x5')]();var auth=require('../../components/auth/service');var interaction=require(_0xd3c1('0x6'));var config=require('../../config/environment');var controller=require(_0xd3c1('0x7'));router['get']('/',auth[_0xd3c1('0x8')](),controller[_0xd3c1('0x9')]);router['get'](_0xd3c1('0xa'),auth[_0xd3c1('0x8')](),controller[_0xd3c1('0xb')]);router[_0xd3c1('0xc')](_0xd3c1('0xd'),auth[_0xd3c1('0x8')](),controller['show']);router[_0xd3c1('0xe')]('/',auth['isAuthenticated'](),controller[_0xd3c1('0xf')]);router[_0xd3c1('0x10')]('/:id',auth[_0xd3c1('0x8')](),controller['update']);router[_0xd3c1('0x11')](_0xd3c1('0xd'),auth[_0xd3c1('0x8')](),controller[_0xd3c1('0x12')]);module[_0xd3c1('0x13')]=router;