adf7d76ee2e013705e2f2d34d194c28101b77281
[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 _0x0395=['isAuthenticated','/describe','describe','show','post','create','update','delete','destroy','multer','util','path','connect-timeout','express','../../components/auth/service','./jscriptyQuestionReport.controller','get'];(function(_0x3d34da,_0x3abcc1){var _0xcf6af8=function(_0x300a53){while(--_0x300a53){_0x3d34da['push'](_0x3d34da['shift']());}};_0xcf6af8(++_0x3abcc1);}(_0x0395,0x16e));var _0x5039=function(_0x483d8b,_0x526c52){_0x483d8b=_0x483d8b-0x0;var _0x6500f1=_0x0395[_0x483d8b];return _0x6500f1;};'use strict';var multer=require(_0x5039('0x0'));var util=require(_0x5039('0x1'));var path=require(_0x5039('0x2'));var timeout=require(_0x5039('0x3'));var express=require(_0x5039('0x4'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x5039('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x5039('0x6'));router[_0x5039('0x7')]('/',auth[_0x5039('0x8')](),controller['index']);router[_0x5039('0x7')](_0x5039('0x9'),auth[_0x5039('0x8')](),controller[_0x5039('0xa')]);router['get']('/:id',auth[_0x5039('0x8')](),controller[_0x5039('0xb')]);router[_0x5039('0xc')]('/',auth[_0x5039('0x8')](),controller[_0x5039('0xd')]);router['put']('/:id',auth[_0x5039('0x8')](),controller[_0x5039('0xe')]);router[_0x5039('0xf')]('/:id',auth[_0x5039('0x8')](),controller[_0x5039('0x10')]);module['exports']=router;