Built motion from commit (unavailable).|2.5.6
[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 _0x22fc=['get','/:id','show','create','put','update','delete','destroy','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./jscriptyQuestionReport.controller','isAuthenticated','index','describe'];(function(_0x21a9d9,_0x4d5ac8){var _0x46adce=function(_0xfdd336){while(--_0xfdd336){_0x21a9d9['push'](_0x21a9d9['shift']());}};_0x46adce(++_0x4d5ac8);}(_0x22fc,0xbc));var _0xc22f=function(_0x127daf,_0x3e45ac){_0x127daf=_0x127daf-0x0;var _0x427ea3=_0x22fc[_0x127daf];return _0x427ea3;};'use strict';var multer=require(_0xc22f('0x0'));var util=require(_0xc22f('0x1'));var path=require(_0xc22f('0x2'));var timeout=require(_0xc22f('0x3'));var express=require('express');var router=express[_0xc22f('0x4')]();var auth=require(_0xc22f('0x5'));var interaction=require(_0xc22f('0x6'));var config=require(_0xc22f('0x7'));var controller=require(_0xc22f('0x8'));router['get']('/',auth[_0xc22f('0x9')](),controller[_0xc22f('0xa')]);router['get']('/describe',auth[_0xc22f('0x9')](),controller[_0xc22f('0xb')]);router[_0xc22f('0xc')](_0xc22f('0xd'),auth[_0xc22f('0x9')](),controller[_0xc22f('0xe')]);router['post']('/',auth[_0xc22f('0x9')](),controller[_0xc22f('0xf')]);router[_0xc22f('0x10')](_0xc22f('0xd'),auth[_0xc22f('0x9')](),controller[_0xc22f('0x11')]);router[_0xc22f('0x12')](_0xc22f('0xd'),auth[_0xc22f('0x9')](),controller[_0xc22f('0x13')]);module['exports']=router;