Built motion from commit (unavailable).|2.5.6
[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 _0xa86b=['../../components/auth/service','../../config/environment','./screenRecording.controller','get','index','/describe','isAuthenticated','describe','/:id','show','download','post','create','put','update','delete','path','express','Router'];(function(_0x5d32ef,_0x2b16ec){var _0x49622f=function(_0x5ef2cf){while(--_0x5ef2cf){_0x5d32ef['push'](_0x5d32ef['shift']());}};_0x49622f(++_0x2b16ec);}(_0xa86b,0x11a));var _0xba86=function(_0x5f42f2,_0x202b95){_0x5f42f2=_0x5f42f2-0x0;var _0x14bcbd=_0xa86b[_0x5f42f2];return _0x14bcbd;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xba86('0x0'));var timeout=require('connect-timeout');var express=require(_0xba86('0x1'));var router=express[_0xba86('0x2')]();var auth=require(_0xba86('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0xba86('0x4'));var controller=require(_0xba86('0x5'));router[_0xba86('0x6')]('/',auth['isAuthenticated'](),controller[_0xba86('0x7')]);router[_0xba86('0x6')](_0xba86('0x8'),auth[_0xba86('0x9')](),controller[_0xba86('0xa')]);router[_0xba86('0x6')](_0xba86('0xb'),auth[_0xba86('0x9')](),controller[_0xba86('0xc')]);router[_0xba86('0x6')]('/:id/download',auth[_0xba86('0x9')](),controller[_0xba86('0xd')]);router[_0xba86('0xe')]('/',auth['isAuthenticated'](),controller[_0xba86('0xf')]);router[_0xba86('0x10')](_0xba86('0xb'),auth[_0xba86('0x9')](),controller[_0xba86('0x11')]);router[_0xba86('0x12')](_0xba86('0xb'),auth[_0xba86('0x9')](),controller['destroy']);module['exports']=router;