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 _0x1bd2=['../../config/environment','./screenRecording.controller','get','isAuthenticated','show','/:id/download','download','post','put','/:id','delete','destroy','multer','util','path','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x3ac2ed,_0x60b800){var _0x56b758=function(_0x1a02fb){while(--_0x1a02fb){_0x3ac2ed['push'](_0x3ac2ed['shift']());}};_0x56b758(++_0x60b800);}(_0x1bd2,0x1e7));var _0x21bd=function(_0x342baa,_0x4a110f){_0x342baa=_0x342baa-0x0;var _0x1208f3=_0x1bd2[_0x342baa];return _0x1208f3;};'use strict';var multer=require(_0x21bd('0x0'));var util=require(_0x21bd('0x1'));var path=require(_0x21bd('0x2'));var timeout=require(_0x21bd('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x21bd('0x4'));var auth=require(_0x21bd('0x5'));var interaction=require(_0x21bd('0x6'));var config=require(_0x21bd('0x7'));var controller=require(_0x21bd('0x8'));router[_0x21bd('0x9')]('/',auth[_0x21bd('0xa')](),controller['index']);router[_0x21bd('0x9')]('/describe',auth[_0x21bd('0xa')](),controller['describe']);router['get']('/:id',auth['isAuthenticated'](),controller[_0x21bd('0xb')]);router[_0x21bd('0x9')](_0x21bd('0xc'),auth[_0x21bd('0xa')](),controller[_0x21bd('0xd')]);router[_0x21bd('0xe')]('/',auth[_0x21bd('0xa')](),controller['create']);router[_0x21bd('0xf')](_0x21bd('0x10'),auth['isAuthenticated'](),controller['update']);router[_0x21bd('0x11')](_0x21bd('0x10'),auth[_0x21bd('0xa')](),controller[_0x21bd('0x12')]);module['exports']=router;