Built motion from commit (unavailable).|2.5.14
[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 _0xe636=['describe','show','/:id/download','download','post','create','put','/:id','delete','exports','multer','util','path','Router','../../components/auth/service','../../components/interaction/service','./screenRecording.controller','get','isAuthenticated','index'];(function(_0x47470f,_0x411315){var _0x5b16a4=function(_0x781291){while(--_0x781291){_0x47470f['push'](_0x47470f['shift']());}};_0x5b16a4(++_0x411315);}(_0xe636,0x1ea));var _0x6e63=function(_0xb725be,_0x45bd01){_0xb725be=_0xb725be-0x0;var _0x2f2424=_0xe636[_0xb725be];return _0x2f2424;};'use strict';var multer=require(_0x6e63('0x0'));var util=require(_0x6e63('0x1'));var path=require(_0x6e63('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x6e63('0x3')]();var auth=require(_0x6e63('0x4'));var interaction=require(_0x6e63('0x5'));var config=require('../../config/environment');var controller=require(_0x6e63('0x6'));router[_0x6e63('0x7')]('/',auth[_0x6e63('0x8')](),controller[_0x6e63('0x9')]);router[_0x6e63('0x7')]('/describe',auth['isAuthenticated'](),controller[_0x6e63('0xa')]);router[_0x6e63('0x7')]('/:id',auth[_0x6e63('0x8')](),controller[_0x6e63('0xb')]);router[_0x6e63('0x7')](_0x6e63('0xc'),auth[_0x6e63('0x8')](),controller[_0x6e63('0xd')]);router[_0x6e63('0xe')]('/',auth[_0x6e63('0x8')](),controller[_0x6e63('0xf')]);router[_0x6e63('0x10')](_0x6e63('0x11'),auth[_0x6e63('0x8')](),controller['update']);router[_0x6e63('0x12')](_0x6e63('0x11'),auth['isAuthenticated'](),controller['destroy']);module[_0x6e63('0x13')]=router;