f8b4c0832265cd580dd1978923160fdd3ee9f1da
[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 _0xb903=['path','connect-timeout','fs-extra','../../components/auth/service','../../config/environment','./jscriptyQuestionReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','put','destroy','multer','util'];(function(_0x49eb8a,_0x405539){var _0x468765=function(_0x306e48){while(--_0x306e48){_0x49eb8a['push'](_0x49eb8a['shift']());}};_0x468765(++_0x405539);}(_0xb903,0x96));var _0x3b90=function(_0x4883bb,_0xc1205a){_0x4883bb=_0x4883bb-0x0;var _0x544605=_0xb903[_0x4883bb];return _0x544605;};'use strict';var multer=require(_0x3b90('0x0'));var util=require(_0x3b90('0x1'));var path=require(_0x3b90('0x2'));var timeout=require(_0x3b90('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x3b90('0x4'));var auth=require(_0x3b90('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x3b90('0x6'));var controller=require(_0x3b90('0x7'));router[_0x3b90('0x8')]('/',auth[_0x3b90('0x9')](),controller[_0x3b90('0xa')]);router[_0x3b90('0x8')](_0x3b90('0xb'),auth[_0x3b90('0x9')](),controller[_0x3b90('0xc')]);router[_0x3b90('0x8')](_0x3b90('0xd'),auth[_0x3b90('0x9')](),controller[_0x3b90('0xe')]);router[_0x3b90('0xf')]('/',auth[_0x3b90('0x9')](),controller[_0x3b90('0x10')]);router[_0x3b90('0x11')](_0x3b90('0xd'),auth[_0x3b90('0x9')](),controller['update']);router['delete'](_0x3b90('0xd'),auth[_0x3b90('0x9')](),controller[_0x3b90('0x12')]);module['exports']=router;