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 _0x00bd=['../../config/environment','./screenRecording.controller','get','isAuthenticated','/describe','describe','/:id','show','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','Router','../../components/auth/service'];(function(_0x19ff5a,_0x5cbd84){var _0x10561d=function(_0x595ce1){while(--_0x595ce1){_0x19ff5a['push'](_0x19ff5a['shift']());}};_0x10561d(++_0x5cbd84);}(_0x00bd,0x126));var _0xd00b=function(_0xe4a382,_0x3a9f85){_0xe4a382=_0xe4a382-0x0;var _0x2ec46c=_0x00bd[_0xe4a382];return _0x2ec46c;};'use strict';var multer=require(_0xd00b('0x0'));var util=require(_0xd00b('0x1'));var path=require(_0xd00b('0x2'));var timeout=require(_0xd00b('0x3'));var express=require('express');var router=express[_0xd00b('0x4')]();var auth=require(_0xd00b('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xd00b('0x6'));var controller=require(_0xd00b('0x7'));router[_0xd00b('0x8')]('/',auth[_0xd00b('0x9')](),controller['index']);router['get'](_0xd00b('0xa'),auth[_0xd00b('0x9')](),controller[_0xd00b('0xb')]);router['get'](_0xd00b('0xc'),auth[_0xd00b('0x9')](),controller[_0xd00b('0xd')]);router[_0xd00b('0x8')]('/:id/download',auth[_0xd00b('0x9')](),controller['download']);router['post']('/',auth[_0xd00b('0x9')](),controller[_0xd00b('0xe')]);router[_0xd00b('0xf')](_0xd00b('0xc'),auth[_0xd00b('0x9')](),controller[_0xd00b('0x10')]);router[_0xd00b('0x11')]('/:id',auth['isAuthenticated'](),controller[_0xd00b('0x12')]);module[_0xd00b('0x13')]=router;