ae9e2a9f95b6002c8b801656b60328864f93f253
[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 _0xc466=['put','update','delete','exports','multer','util','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./jscriptyQuestionReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post'];(function(_0x2d7a9d,_0x397f98){var _0x130167=function(_0x1e7fbe){while(--_0x1e7fbe){_0x2d7a9d['push'](_0x2d7a9d['shift']());}};_0x130167(++_0x397f98);}(_0xc466,0x7c));var _0x6c46=function(_0x50bd64,_0x22bc6a){_0x50bd64=_0x50bd64-0x0;var _0x431e90=_0xc466[_0x50bd64];return _0x431e90;};'use strict';var multer=require(_0x6c46('0x0'));var util=require(_0x6c46('0x1'));var path=require('path');var timeout=require(_0x6c46('0x2'));var express=require(_0x6c46('0x3'));var router=express['Router']();var auth=require(_0x6c46('0x4'));var interaction=require(_0x6c46('0x5'));var config=require(_0x6c46('0x6'));var controller=require(_0x6c46('0x7'));router[_0x6c46('0x8')]('/',auth[_0x6c46('0x9')](),controller[_0x6c46('0xa')]);router[_0x6c46('0x8')](_0x6c46('0xb'),auth[_0x6c46('0x9')](),controller[_0x6c46('0xc')]);router['get'](_0x6c46('0xd'),auth[_0x6c46('0x9')](),controller[_0x6c46('0xe')]);router[_0x6c46('0xf')]('/',auth[_0x6c46('0x9')](),controller['create']);router[_0x6c46('0x10')](_0x6c46('0xd'),auth[_0x6c46('0x9')](),controller[_0x6c46('0x11')]);router[_0x6c46('0x12')](_0x6c46('0xd'),auth[_0x6c46('0x9')](),controller['destroy']);module[_0x6c46('0x13')]=router;