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