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 _0xfe1b=['express','fs-extra','../../components/auth/service','./screenRecording.controller','get','isAuthenticated','/:id','/:id/download','download','create','put','update','delete','exports','path','connect-timeout'];(function(_0x46ce95,_0x3f0918){var _0x5ae067=function(_0x145a07){while(--_0x145a07){_0x46ce95['push'](_0x46ce95['shift']());}};_0x5ae067(++_0x3f0918);}(_0xfe1b,0x15e));var _0xbfe1=function(_0x54ef7d,_0x55c360){_0x54ef7d=_0x54ef7d-0x0;var _0x4c2845=_0xfe1b[_0x54ef7d];return _0x4c2845;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xbfe1('0x0'));var timeout=require(_0xbfe1('0x1'));var express=require(_0xbfe1('0x2'));var router=express['Router']();var fs_extra=require(_0xbfe1('0x3'));var auth=require(_0xbfe1('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xbfe1('0x5'));router[_0xbfe1('0x6')]('/',auth['isAuthenticated'](),controller['index']);router[_0xbfe1('0x6')]('/describe',auth[_0xbfe1('0x7')](),controller['describe']);router[_0xbfe1('0x6')](_0xbfe1('0x8'),auth[_0xbfe1('0x7')](),controller['show']);router['get'](_0xbfe1('0x9'),auth[_0xbfe1('0x7')](),controller[_0xbfe1('0xa')]);router['post']('/',auth[_0xbfe1('0x7')](),controller[_0xbfe1('0xb')]);router[_0xbfe1('0xc')](_0xbfe1('0x8'),auth[_0xbfe1('0x7')](),controller[_0xbfe1('0xd')]);router[_0xbfe1('0xe')](_0xbfe1('0x8'),auth[_0xbfe1('0x7')](),controller['destroy']);module[_0xbfe1('0xf')]=router;