Built motion from commit 10af8726.|2.6.34
[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 _0xf578=['/describe','isAuthenticated','describe','show','post','create','put','update','destroy','exports','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../config/environment','./jscriptyQuestionReport.controller','get','index'];(function(_0x3da7a1,_0x151473){var _0x3b7290=function(_0x28746c){while(--_0x28746c){_0x3da7a1['push'](_0x3da7a1['shift']());}};_0x3b7290(++_0x151473);}(_0xf578,0x6e));var _0x8f57=function(_0x19babd,_0x1d4ef7){_0x19babd=_0x19babd-0x0;var _0x314eaf=_0xf578[_0x19babd];return _0x314eaf;};'use strict';var multer=require('multer');var util=require(_0x8f57('0x0'));var path=require(_0x8f57('0x1'));var timeout=require(_0x8f57('0x2'));var express=require(_0x8f57('0x3'));var router=express['Router']();var fs_extra=require(_0x8f57('0x4'));var auth=require(_0x8f57('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x8f57('0x6'));var controller=require(_0x8f57('0x7'));router[_0x8f57('0x8')]('/',auth['isAuthenticated'](),controller[_0x8f57('0x9')]);router['get'](_0x8f57('0xa'),auth[_0x8f57('0xb')](),controller[_0x8f57('0xc')]);router[_0x8f57('0x8')]('/:id',auth[_0x8f57('0xb')](),controller[_0x8f57('0xd')]);router[_0x8f57('0xe')]('/',auth[_0x8f57('0xb')](),controller[_0x8f57('0xf')]);router[_0x8f57('0x10')]('/:id',auth['isAuthenticated'](),controller[_0x8f57('0x11')]);router['delete']('/:id',auth[_0x8f57('0xb')](),controller[_0x8f57('0x12')]);module[_0x8f57('0x13')]=router;