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