6279e4110b4f2f17f5ab81e40817a9bdab92346c
[motion2.git] / server / api / screenRecording / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x9fd9=['post','create','put','update','delete','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./screenRecording.controller','isAuthenticated','index','get','/describe','describe','/:id','show','/:id/download','download'];(function(_0x1118b2,_0x21baa2){var _0x68c2d1=function(_0x4c42fe){while(--_0x4c42fe){_0x1118b2['push'](_0x1118b2['shift']());}};_0x68c2d1(++_0x21baa2);}(_0x9fd9,0x1af));var _0x99fd=function(_0x4a85a5,_0x44d660){_0x4a85a5=_0x4a85a5-0x0;var _0x168f18=_0x9fd9[_0x4a85a5];return _0x168f18;};'use strict';var multer=require(_0x99fd('0x0'));var util=require(_0x99fd('0x1'));var path=require(_0x99fd('0x2'));var timeout=require(_0x99fd('0x3'));var express=require(_0x99fd('0x4'));var router=express[_0x99fd('0x5')]();var fs_extra=require(_0x99fd('0x6'));var auth=require(_0x99fd('0x7'));var interaction=require('../../components/interaction/service');var config=require(_0x99fd('0x8'));var controller=require(_0x99fd('0x9'));router['get']('/',auth[_0x99fd('0xa')](),controller[_0x99fd('0xb')]);router[_0x99fd('0xc')](_0x99fd('0xd'),auth[_0x99fd('0xa')](),controller[_0x99fd('0xe')]);router[_0x99fd('0xc')](_0x99fd('0xf'),auth[_0x99fd('0xa')](),controller[_0x99fd('0x10')]);router[_0x99fd('0xc')](_0x99fd('0x11'),auth[_0x99fd('0xa')](),controller[_0x99fd('0x12')]);router[_0x99fd('0x13')]('/',auth[_0x99fd('0xa')](),controller[_0x99fd('0x14')]);router[_0x99fd('0x15')]('/:id',auth[_0x99fd('0xa')](),controller[_0x99fd('0x16')]);router[_0x99fd('0x17')](_0x99fd('0xf'),auth[_0x99fd('0xa')](),controller['destroy']);module[_0x99fd('0x18')]=router;