Built motion from commit (unavailable).|2.5.4
[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 _0x24bc=['/:id','show','post','put','update','delete','destroy','exports','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','./jscriptyQuestionReport.controller','get','isAuthenticated','index','/describe','describe'];(function(_0x1e633e,_0x6f47e1){var _0x4c6d74=function(_0x3a6a2d){while(--_0x3a6a2d){_0x1e633e['push'](_0x1e633e['shift']());}};_0x4c6d74(++_0x6f47e1);}(_0x24bc,0x14b));var _0xc24b=function(_0x2b44b5,_0x5a99b0){_0x2b44b5=_0x2b44b5-0x0;var _0x2acd32=_0x24bc[_0x2b44b5];return _0x2acd32;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xc24b('0x0'));var timeout=require(_0xc24b('0x1'));var express=require('express');var router=express[_0xc24b('0x2')]();var auth=require(_0xc24b('0x3'));var interaction=require(_0xc24b('0x4'));var config=require('../../config/environment');var controller=require(_0xc24b('0x5'));router[_0xc24b('0x6')]('/',auth[_0xc24b('0x7')](),controller[_0xc24b('0x8')]);router[_0xc24b('0x6')](_0xc24b('0x9'),auth[_0xc24b('0x7')](),controller[_0xc24b('0xa')]);router['get'](_0xc24b('0xb'),auth[_0xc24b('0x7')](),controller[_0xc24b('0xc')]);router[_0xc24b('0xd')]('/',auth[_0xc24b('0x7')](),controller['create']);router[_0xc24b('0xe')](_0xc24b('0xb'),auth['isAuthenticated'](),controller[_0xc24b('0xf')]);router[_0xc24b('0x10')]('/:id',auth['isAuthenticated'](),controller[_0xc24b('0x11')]);module[_0xc24b('0x12')]=router;