2a2a9a3fb24a7b1bbd8d9faceb223106917ea677
[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 _0xc306=['/describe','/:id','show','create','put','update','delete','destroy','exports','multer','path','connect-timeout','../../components/auth/service','../../components/interaction/service','../../config/environment','./jscriptyQuestionReport.controller','get','isAuthenticated','index'];(function(_0x4ddb0f,_0x3eb373){var _0x5993dd=function(_0x588753){while(--_0x588753){_0x4ddb0f['push'](_0x4ddb0f['shift']());}};_0x5993dd(++_0x3eb373);}(_0xc306,0x100));var _0x6c30=function(_0x326906,_0x433ba0){_0x326906=_0x326906-0x0;var _0x5950fe=_0xc306[_0x326906];return _0x5950fe;};'use strict';var multer=require(_0x6c30('0x0'));var util=require('util');var path=require(_0x6c30('0x1'));var timeout=require(_0x6c30('0x2'));var express=require('express');var router=express['Router']();var auth=require(_0x6c30('0x3'));var interaction=require(_0x6c30('0x4'));var config=require(_0x6c30('0x5'));var controller=require(_0x6c30('0x6'));router[_0x6c30('0x7')]('/',auth[_0x6c30('0x8')](),controller[_0x6c30('0x9')]);router[_0x6c30('0x7')](_0x6c30('0xa'),auth[_0x6c30('0x8')](),controller['describe']);router[_0x6c30('0x7')](_0x6c30('0xb'),auth[_0x6c30('0x8')](),controller[_0x6c30('0xc')]);router['post']('/',auth['isAuthenticated'](),controller[_0x6c30('0xd')]);router[_0x6c30('0xe')](_0x6c30('0xb'),auth['isAuthenticated'](),controller[_0x6c30('0xf')]);router[_0x6c30('0x10')](_0x6c30('0xb'),auth[_0x6c30('0x8')](),controller[_0x6c30('0x11')]);module[_0x6c30('0x12')]=router;