749c54bee7b94cd78cf1c680c64726a426720261
[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 _0x1971=['isAuthenticated','get','/describe','describe','show','post','create','/:id','update','delete','destroy','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./jscriptyQuestionReport.controller'];(function(_0x2f00c1,_0x2d7fcf){var _0x1ceb17=function(_0x51608e){while(--_0x51608e){_0x2f00c1['push'](_0x2f00c1['shift']());}};_0x1ceb17(++_0x2d7fcf);}(_0x1971,0x15b));var _0x1197=function(_0x2f3848,_0x48564d){_0x2f3848=_0x2f3848-0x0;var _0x102668=_0x1971[_0x2f3848];return _0x102668;};'use strict';var multer=require(_0x1197('0x0'));var util=require(_0x1197('0x1'));var path=require(_0x1197('0x2'));var timeout=require(_0x1197('0x3'));var express=require(_0x1197('0x4'));var router=express[_0x1197('0x5')]();var fs_extra=require(_0x1197('0x6'));var auth=require(_0x1197('0x7'));var interaction=require(_0x1197('0x8'));var config=require('../../config/environment');var controller=require(_0x1197('0x9'));router['get']('/',auth[_0x1197('0xa')](),controller['index']);router[_0x1197('0xb')](_0x1197('0xc'),auth['isAuthenticated'](),controller[_0x1197('0xd')]);router[_0x1197('0xb')]('/:id',auth[_0x1197('0xa')](),controller[_0x1197('0xe')]);router[_0x1197('0xf')]('/',auth[_0x1197('0xa')](),controller[_0x1197('0x10')]);router['put'](_0x1197('0x11'),auth['isAuthenticated'](),controller[_0x1197('0x12')]);router[_0x1197('0x13')](_0x1197('0x11'),auth[_0x1197('0xa')](),controller[_0x1197('0x14')]);module['exports']=router;