Built motion from commit (unavailable).|2.5.15
[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 _0xe964=['/describe','describe','/:id','create','delete','destroy','exports','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./screenRecording.controller','get','isAuthenticated','index'];(function(_0x45d9c1,_0x4e08f9){var _0x31d509=function(_0x458271){while(--_0x458271){_0x45d9c1['push'](_0x45d9c1['shift']());}};_0x31d509(++_0x4e08f9);}(_0xe964,0x9f));var _0x4e96=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xe964[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0x4e96('0x0'));var util=require(_0x4e96('0x1'));var path=require(_0x4e96('0x2'));var timeout=require('connect-timeout');var express=require(_0x4e96('0x3'));var router=express[_0x4e96('0x4')]();var auth=require(_0x4e96('0x5'));var interaction=require(_0x4e96('0x6'));var config=require(_0x4e96('0x7'));var controller=require(_0x4e96('0x8'));router[_0x4e96('0x9')]('/',auth[_0x4e96('0xa')](),controller[_0x4e96('0xb')]);router['get'](_0x4e96('0xc'),auth[_0x4e96('0xa')](),controller[_0x4e96('0xd')]);router[_0x4e96('0x9')](_0x4e96('0xe'),auth['isAuthenticated'](),controller['show']);router[_0x4e96('0x9')]('/:id/download',auth['isAuthenticated'](),controller['download']);router['post']('/',auth[_0x4e96('0xa')](),controller[_0x4e96('0xf')]);router['put'](_0x4e96('0xe'),auth[_0x4e96('0xa')](),controller['update']);router[_0x4e96('0x10')](_0x4e96('0xe'),auth[_0x4e96('0xa')](),controller[_0x4e96('0x11')]);module[_0x4e96('0x12')]=router;