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 _0x38a5=['index','/describe','describe','/:id','show','/:id/download','post','create','put','destroy','multer','util','path','Router','./screenRecording.controller','get','isAuthenticated'];(function(_0x40bffc,_0x3a45d7){var _0x3007e9=function(_0x4c8fda){while(--_0x4c8fda){_0x40bffc['push'](_0x40bffc['shift']());}};_0x3007e9(++_0x3a45d7);}(_0x38a5,0x12b));var _0x538a=function(_0x32afd4,_0x33a19){_0x32afd4=_0x32afd4-0x0;var _0x1dac0a=_0x38a5[_0x32afd4];return _0x1dac0a;};'use strict';var multer=require(_0x538a('0x0'));var util=require(_0x538a('0x1'));var path=require(_0x538a('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x538a('0x3')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x538a('0x4'));router[_0x538a('0x5')]('/',auth[_0x538a('0x6')](),controller[_0x538a('0x7')]);router['get'](_0x538a('0x8'),auth[_0x538a('0x6')](),controller[_0x538a('0x9')]);router['get'](_0x538a('0xa'),auth[_0x538a('0x6')](),controller[_0x538a('0xb')]);router[_0x538a('0x5')](_0x538a('0xc'),auth['isAuthenticated'](),controller['download']);router[_0x538a('0xd')]('/',auth[_0x538a('0x6')](),controller[_0x538a('0xe')]);router[_0x538a('0xf')](_0x538a('0xa'),auth['isAuthenticated'](),controller['update']);router['delete'](_0x538a('0xa'),auth[_0x538a('0x6')](),controller[_0x538a('0x10')]);module['exports']=router;