Built motion from commit 9d1906d1.|2.5.40
[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 _0x6cf9=['post','create','update','delete','destroy','exports','util','path','connect-timeout','fs-extra','../../components/interaction/service','./jscriptyQuestionReport.controller','get','index','/describe','isAuthenticated','/:id'];(function(_0x266c22,_0x167df5){var _0x1ca235=function(_0x4cd2d7){while(--_0x4cd2d7){_0x266c22['push'](_0x266c22['shift']());}};_0x1ca235(++_0x167df5);}(_0x6cf9,0xe3));var _0x96cf=function(_0x3eb630,_0x552586){_0x3eb630=_0x3eb630-0x0;var _0x1b840d=_0x6cf9[_0x3eb630];return _0x1b840d;};'use strict';var multer=require('multer');var util=require(_0x96cf('0x0'));var path=require(_0x96cf('0x1'));var timeout=require(_0x96cf('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x96cf('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0x96cf('0x4'));var config=require('../../config/environment');var controller=require(_0x96cf('0x5'));router[_0x96cf('0x6')]('/',auth['isAuthenticated'](),controller[_0x96cf('0x7')]);router[_0x96cf('0x6')](_0x96cf('0x8'),auth[_0x96cf('0x9')](),controller['describe']);router['get'](_0x96cf('0xa'),auth[_0x96cf('0x9')](),controller['show']);router[_0x96cf('0xb')]('/',auth[_0x96cf('0x9')](),controller[_0x96cf('0xc')]);router['put']('/:id',auth[_0x96cf('0x9')](),controller[_0x96cf('0xd')]);router[_0x96cf('0xe')](_0x96cf('0xa'),auth[_0x96cf('0x9')](),controller[_0x96cf('0xf')]);module[_0x96cf('0x10')]=router;