8930eda52e7ede796abaf317d62e08350e061053
[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 _0x2ad7=['express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./jscriptyQuestionReport.controller','get','isAuthenticated','/describe','describe','show','post','put','/:id','update','delete','exports','multer','util','connect-timeout'];(function(_0x2b8884,_0x308ab8){var _0x2049c8=function(_0x425355){while(--_0x425355){_0x2b8884['push'](_0x2b8884['shift']());}};_0x2049c8(++_0x308ab8);}(_0x2ad7,0x179));var _0x72ad=function(_0x57b54c,_0x54ce0d){_0x57b54c=_0x57b54c-0x0;var _0x59cc19=_0x2ad7[_0x57b54c];return _0x59cc19;};'use strict';var multer=require(_0x72ad('0x0'));var util=require(_0x72ad('0x1'));var path=require('path');var timeout=require(_0x72ad('0x2'));var express=require(_0x72ad('0x3'));var router=express['Router']();var fs_extra=require(_0x72ad('0x4'));var auth=require(_0x72ad('0x5'));var interaction=require(_0x72ad('0x6'));var config=require(_0x72ad('0x7'));var controller=require(_0x72ad('0x8'));router[_0x72ad('0x9')]('/',auth[_0x72ad('0xa')](),controller['index']);router[_0x72ad('0x9')](_0x72ad('0xb'),auth[_0x72ad('0xa')](),controller[_0x72ad('0xc')]);router['get']('/:id',auth[_0x72ad('0xa')](),controller[_0x72ad('0xd')]);router[_0x72ad('0xe')]('/',auth['isAuthenticated'](),controller['create']);router[_0x72ad('0xf')](_0x72ad('0x10'),auth[_0x72ad('0xa')](),controller[_0x72ad('0x11')]);router[_0x72ad('0x12')](_0x72ad('0x10'),auth[_0x72ad('0xa')](),controller['destroy']);module[_0x72ad('0x13')]=router;