Built motion from commit 87cd5f02.|2.5.48
[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 _0xab39=['/describe','isAuthenticated','/:id','show','post','put','update','destroy','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./jscriptyQuestionReport.controller','get'];(function(_0x9449e2,_0x2ba873){var _0x1d853b=function(_0x3acffb){while(--_0x3acffb){_0x9449e2['push'](_0x9449e2['shift']());}};_0x1d853b(++_0x2ba873);}(_0xab39,0xa1));var _0x9ab3=function(_0x2e03c4,_0x45fd8d){_0x2e03c4=_0x2e03c4-0x0;var _0x512b0b=_0xab39[_0x2e03c4];return _0x512b0b;};'use strict';var multer=require('multer');var util=require(_0x9ab3('0x0'));var path=require(_0x9ab3('0x1'));var timeout=require(_0x9ab3('0x2'));var express=require(_0x9ab3('0x3'));var router=express[_0x9ab3('0x4')]();var fs_extra=require(_0x9ab3('0x5'));var auth=require(_0x9ab3('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x9ab3('0x7'));var controller=require(_0x9ab3('0x8'));router[_0x9ab3('0x9')]('/',auth['isAuthenticated'](),controller['index']);router[_0x9ab3('0x9')](_0x9ab3('0xa'),auth[_0x9ab3('0xb')](),controller['describe']);router[_0x9ab3('0x9')](_0x9ab3('0xc'),auth[_0x9ab3('0xb')](),controller[_0x9ab3('0xd')]);router[_0x9ab3('0xe')]('/',auth[_0x9ab3('0xb')](),controller['create']);router[_0x9ab3('0xf')](_0x9ab3('0xc'),auth[_0x9ab3('0xb')](),controller[_0x9ab3('0x10')]);router['delete'](_0x9ab3('0xc'),auth['isAuthenticated'](),controller[_0x9ab3('0x11')]);module[_0x9ab3('0x12')]=router;