Built motion from commit (unavailable).|2.5.17
[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 _0xf5fe=['isAuthenticated','index','/describe','get','/:id','show','post','create','put','update','delete','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./jscriptyQuestionReport.controller'];(function(_0x391dd3,_0x5c7003){var _0x3b72eb=function(_0x5bbe16){while(--_0x5bbe16){_0x391dd3['push'](_0x391dd3['shift']());}};_0x3b72eb(++_0x5c7003);}(_0xf5fe,0x1da));var _0xef5f=function(_0x38b9ed,_0x1cdee4){_0x38b9ed=_0x38b9ed-0x0;var _0x41c75a=_0xf5fe[_0x38b9ed];return _0x41c75a;};'use strict';var multer=require(_0xef5f('0x0'));var util=require(_0xef5f('0x1'));var path=require(_0xef5f('0x2'));var timeout=require(_0xef5f('0x3'));var express=require(_0xef5f('0x4'));var router=express['Router']();var auth=require(_0xef5f('0x5'));var interaction=require(_0xef5f('0x6'));var config=require(_0xef5f('0x7'));var controller=require(_0xef5f('0x8'));router['get']('/',auth[_0xef5f('0x9')](),controller[_0xef5f('0xa')]);router['get'](_0xef5f('0xb'),auth['isAuthenticated'](),controller['describe']);router[_0xef5f('0xc')](_0xef5f('0xd'),auth[_0xef5f('0x9')](),controller[_0xef5f('0xe')]);router[_0xef5f('0xf')]('/',auth[_0xef5f('0x9')](),controller[_0xef5f('0x10')]);router[_0xef5f('0x11')](_0xef5f('0xd'),auth[_0xef5f('0x9')](),controller[_0xef5f('0x12')]);router[_0xef5f('0x13')](_0xef5f('0xd'),auth[_0xef5f('0x9')](),controller['destroy']);module[_0xef5f('0x14')]=router;