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