Built motion from commit 06eb8eb0.|2.6.31
[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 _0xac5e=['describe','/:id','show','/:id/download','download','post','update','delete','destroy','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./screenRecording.controller','get','isAuthenticated','index','/describe'];(function(_0x34b5ca,_0x594010){var _0x2d72c0=function(_0x4ae1d3){while(--_0x4ae1d3){_0x34b5ca['push'](_0x34b5ca['shift']());}};_0x2d72c0(++_0x594010);}(_0xac5e,0x172));var _0xeac5=function(_0x57d624,_0x453030){_0x57d624=_0x57d624-0x0;var _0x35663b=_0xac5e[_0x57d624];return _0x35663b;};'use strict';var multer=require(_0xeac5('0x0'));var util=require(_0xeac5('0x1'));var path=require(_0xeac5('0x2'));var timeout=require(_0xeac5('0x3'));var express=require(_0xeac5('0x4'));var router=express['Router']();var fs_extra=require(_0xeac5('0x5'));var auth=require(_0xeac5('0x6'));var interaction=require(_0xeac5('0x7'));var config=require(_0xeac5('0x8'));var controller=require(_0xeac5('0x9'));router[_0xeac5('0xa')]('/',auth[_0xeac5('0xb')](),controller[_0xeac5('0xc')]);router[_0xeac5('0xa')](_0xeac5('0xd'),auth[_0xeac5('0xb')](),controller[_0xeac5('0xe')]);router['get'](_0xeac5('0xf'),auth[_0xeac5('0xb')](),controller[_0xeac5('0x10')]);router['get'](_0xeac5('0x11'),auth['isAuthenticated'](),controller[_0xeac5('0x12')]);router[_0xeac5('0x13')]('/',auth[_0xeac5('0xb')](),controller['create']);router['put'](_0xeac5('0xf'),auth[_0xeac5('0xb')](),controller[_0xeac5('0x14')]);router[_0xeac5('0x15')](_0xeac5('0xf'),auth[_0xeac5('0xb')](),controller[_0xeac5('0x16')]);module[_0xeac5('0x17')]=router;