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 _0x5372=['destroy','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./jscriptySessionReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/questions','getQuestions','post','put','update','delete'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x5372,0x16a));var _0x2537=function(_0x3e2fee,_0x1a8be3){_0x3e2fee=_0x3e2fee-0x0;var _0x170717=_0x5372[_0x3e2fee];return _0x170717;};'use strict';var multer=require(_0x2537('0x0'));var util=require('util');var path=require(_0x2537('0x1'));var timeout=require(_0x2537('0x2'));var express=require(_0x2537('0x3'));var router=express[_0x2537('0x4')]();var fs_extra=require(_0x2537('0x5'));var auth=require(_0x2537('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x2537('0x7'));var controller=require(_0x2537('0x8'));router[_0x2537('0x9')]('/',auth[_0x2537('0xa')](),controller[_0x2537('0xb')]);router[_0x2537('0x9')](_0x2537('0xc'),auth[_0x2537('0xa')](),controller[_0x2537('0xd')]);router['get'](_0x2537('0xe'),auth[_0x2537('0xa')](),controller[_0x2537('0xf')]);router['get'](_0x2537('0x10'),auth[_0x2537('0xa')](),controller[_0x2537('0x11')]);router[_0x2537('0x12')]('/',auth[_0x2537('0xa')](),controller['create']);router[_0x2537('0x13')](_0x2537('0xe'),auth[_0x2537('0xa')](),controller[_0x2537('0x14')]);router[_0x2537('0x15')]('/:id',auth[_0x2537('0xa')](),controller[_0x2537('0x16')]);module[_0x2537('0x17')]=router;