6955a24957d848ab83c76d6e3c4af7747500c470
[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 _0x2475=['/:id/download','download','post','put','update','delete','destroy','exports','multer','util','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','./screenRecording.controller','get','isAuthenticated','index','/describe','describe','/:id'];(function(_0x4e26ea,_0x4dae1e){var _0x452b66=function(_0x41d390){while(--_0x41d390){_0x4e26ea['push'](_0x4e26ea['shift']());}};_0x452b66(++_0x4dae1e);}(_0x2475,0x9b));var _0x5247=function(_0x161fba,_0x44578c){_0x161fba=_0x161fba-0x0;var _0x15b209=_0x2475[_0x161fba];return _0x15b209;};'use strict';var multer=require(_0x5247('0x0'));var util=require(_0x5247('0x1'));var path=require('path');var timeout=require(_0x5247('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x5247('0x3'));var auth=require(_0x5247('0x4'));var interaction=require(_0x5247('0x5'));var config=require('../../config/environment');var controller=require(_0x5247('0x6'));router[_0x5247('0x7')]('/',auth[_0x5247('0x8')](),controller[_0x5247('0x9')]);router[_0x5247('0x7')](_0x5247('0xa'),auth[_0x5247('0x8')](),controller[_0x5247('0xb')]);router[_0x5247('0x7')](_0x5247('0xc'),auth[_0x5247('0x8')](),controller['show']);router['get'](_0x5247('0xd'),auth[_0x5247('0x8')](),controller[_0x5247('0xe')]);router[_0x5247('0xf')]('/',auth[_0x5247('0x8')](),controller['create']);router[_0x5247('0x10')](_0x5247('0xc'),auth[_0x5247('0x8')](),controller[_0x5247('0x11')]);router[_0x5247('0x12')](_0x5247('0xc'),auth['isAuthenticated'](),controller[_0x5247('0x13')]);module[_0x5247('0x14')]=router;