Built motion from commit 9d7072cc.|2.5.39
[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 _0x6251=['../../config/environment','./jscriptyQuestionReport.controller','isAuthenticated','index','get','/describe','describe','show','post','create','/:id','delete','destroy','exports','multer','util','path','express','Router','../../components/auth/service'];(function(_0xe8307c,_0x3e935b){var _0x25d75e=function(_0x158e2b){while(--_0x158e2b){_0xe8307c['push'](_0xe8307c['shift']());}};_0x25d75e(++_0x3e935b);}(_0x6251,0xc2));var _0x1625=function(_0x17e2ac,_0x51a8c5){_0x17e2ac=_0x17e2ac-0x0;var _0x44d3e9=_0x6251[_0x17e2ac];return _0x44d3e9;};'use strict';var multer=require(_0x1625('0x0'));var util=require(_0x1625('0x1'));var path=require(_0x1625('0x2'));var timeout=require('connect-timeout');var express=require(_0x1625('0x3'));var router=express[_0x1625('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x1625('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x1625('0x6'));var controller=require(_0x1625('0x7'));router['get']('/',auth[_0x1625('0x8')](),controller[_0x1625('0x9')]);router[_0x1625('0xa')](_0x1625('0xb'),auth[_0x1625('0x8')](),controller[_0x1625('0xc')]);router[_0x1625('0xa')]('/:id',auth['isAuthenticated'](),controller[_0x1625('0xd')]);router[_0x1625('0xe')]('/',auth[_0x1625('0x8')](),controller[_0x1625('0xf')]);router['put'](_0x1625('0x10'),auth['isAuthenticated'](),controller['update']);router[_0x1625('0x11')](_0x1625('0x10'),auth['isAuthenticated'](),controller[_0x1625('0x12')]);module[_0x1625('0x13')]=router;