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