Built motion from commit (unavailable).|2.5.9
[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 _0x050f=['/:id','post','create','put','update','delete','destroy','exports','multer','util','express','../../config/environment','./jscriptyQuestionReport.controller','get','isAuthenticated','index','/describe','describe'];(function(_0x352d46,_0x5033e7){var _0x50a06a=function(_0x1b0024){while(--_0x1b0024){_0x352d46['push'](_0x352d46['shift']());}};_0x50a06a(++_0x5033e7);}(_0x050f,0xe0));var _0xf050=function(_0x467ee0,_0x3cfb5a){_0x467ee0=_0x467ee0-0x0;var _0x428ec0=_0x050f[_0x467ee0];return _0x428ec0;};'use strict';var multer=require(_0xf050('0x0'));var util=require(_0xf050('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xf050('0x2'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xf050('0x3'));var controller=require(_0xf050('0x4'));router[_0xf050('0x5')]('/',auth[_0xf050('0x6')](),controller[_0xf050('0x7')]);router[_0xf050('0x5')](_0xf050('0x8'),auth[_0xf050('0x6')](),controller[_0xf050('0x9')]);router[_0xf050('0x5')](_0xf050('0xa'),auth[_0xf050('0x6')](),controller['show']);router[_0xf050('0xb')]('/',auth['isAuthenticated'](),controller[_0xf050('0xc')]);router[_0xf050('0xd')](_0xf050('0xa'),auth[_0xf050('0x6')](),controller[_0xf050('0xe')]);router[_0xf050('0xf')]('/:id',auth[_0xf050('0x6')](),controller[_0xf050('0x10')]);module[_0xf050('0x11')]=router;