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