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 _0x5794=['/:id','show','download','post','create','update','delete','destroy','util','path','connect-timeout','express','../../components/interaction/service','../../config/environment','get','/describe','isAuthenticated','describe'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x5794,0x1b8));var _0x4579=function(_0x29772e,_0x45759f){_0x29772e=_0x29772e-0x0;var _0x106833=_0x5794[_0x29772e];return _0x106833;};'use strict';var multer=require('multer');var util=require(_0x4579('0x0'));var path=require(_0x4579('0x1'));var timeout=require(_0x4579('0x2'));var express=require(_0x4579('0x3'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x4579('0x4'));var config=require(_0x4579('0x5'));var controller=require('./screenRecording.controller');router[_0x4579('0x6')]('/',auth['isAuthenticated'](),controller['index']);router['get'](_0x4579('0x7'),auth[_0x4579('0x8')](),controller[_0x4579('0x9')]);router[_0x4579('0x6')](_0x4579('0xa'),auth[_0x4579('0x8')](),controller[_0x4579('0xb')]);router[_0x4579('0x6')]('/:id/download',auth['isAuthenticated'](),controller[_0x4579('0xc')]);router[_0x4579('0xd')]('/',auth[_0x4579('0x8')](),controller[_0x4579('0xe')]);router['put'](_0x4579('0xa'),auth[_0x4579('0x8')](),controller[_0x4579('0xf')]);router[_0x4579('0x10')]('/:id',auth['isAuthenticated'](),controller[_0x4579('0x11')]);module['exports']=router;