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 _0x30b6=['put','/:id','update','delete','destroy','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./screenRecording.controller','get','index','/describe','isAuthenticated','describe','show','/:id/download','create'];(function(_0x55af15,_0x112ffc){var _0x2adb04=function(_0x56dc61){while(--_0x56dc61){_0x55af15['push'](_0x55af15['shift']());}};_0x2adb04(++_0x112ffc);}(_0x30b6,0x78));var _0x630b=function(_0x3a1131,_0x1f4c0e){_0x3a1131=_0x3a1131-0x0;var _0x1bf96e=_0x30b6[_0x3a1131];return _0x1bf96e;};'use strict';var multer=require(_0x630b('0x0'));var util=require('util');var path=require(_0x630b('0x1'));var timeout=require(_0x630b('0x2'));var express=require(_0x630b('0x3'));var router=express[_0x630b('0x4')]();var fs_extra=require(_0x630b('0x5'));var auth=require(_0x630b('0x6'));var interaction=require(_0x630b('0x7'));var config=require(_0x630b('0x8'));var controller=require(_0x630b('0x9'));router[_0x630b('0xa')]('/',auth['isAuthenticated'](),controller[_0x630b('0xb')]);router[_0x630b('0xa')](_0x630b('0xc'),auth[_0x630b('0xd')](),controller[_0x630b('0xe')]);router[_0x630b('0xa')]('/:id',auth[_0x630b('0xd')](),controller[_0x630b('0xf')]);router[_0x630b('0xa')](_0x630b('0x10'),auth[_0x630b('0xd')](),controller['download']);router['post']('/',auth[_0x630b('0xd')](),controller[_0x630b('0x11')]);router[_0x630b('0x12')](_0x630b('0x13'),auth[_0x630b('0xd')](),controller[_0x630b('0x14')]);router[_0x630b('0x15')](_0x630b('0x13'),auth[_0x630b('0xd')](),controller[_0x630b('0x16')]);module['exports']=router;