1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x5ccc=['create','put','update','exports','multer','util','express','fs-extra','../../components/interaction/service','./jscriptyQuestionReport.controller','index','get','/describe','isAuthenticated','describe','/:id','show','post'];(function(_0x39cd3c,_0xa21102){var _0x47a0ae=function(_0x330b05){while(--_0x330b05){_0x39cd3c['push'](_0x39cd3c['shift']());}};_0x47a0ae(++_0xa21102);}(_0x5ccc,0xca));var _0xc5cc=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x5ccc[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0xc5cc('0x0'));var util=require(_0xc5cc('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xc5cc('0x2'));var router=express['Router']();var fs_extra=require(_0xc5cc('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0xc5cc('0x4'));var config=require('../../config/environment');var controller=require(_0xc5cc('0x5'));router['get']('/',auth['isAuthenticated'](),controller[_0xc5cc('0x6')]);router[_0xc5cc('0x7')](_0xc5cc('0x8'),auth[_0xc5cc('0x9')](),controller[_0xc5cc('0xa')]);router[_0xc5cc('0x7')](_0xc5cc('0xb'),auth[_0xc5cc('0x9')](),controller[_0xc5cc('0xc')]);router[_0xc5cc('0xd')]('/',auth[_0xc5cc('0x9')](),controller[_0xc5cc('0xe')]);router[_0xc5cc('0xf')](_0xc5cc('0xb'),auth[_0xc5cc('0x9')](),controller[_0xc5cc('0x10')]);router['delete'](_0xc5cc('0xb'),auth['isAuthenticated'](),controller['destroy']);module[_0xc5cc('0x11')]=router;