Built motion from commit 97153652.|2.6.26
[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 _0xeeb6=['/:id','show','/:id/download','download','post','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./screenRecording.controller','get','isAuthenticated','index'];(function(_0x29ee11,_0x4e0657){var _0x2ff846=function(_0x251cd3){while(--_0x251cd3){_0x29ee11['push'](_0x29ee11['shift']());}};_0x2ff846(++_0x4e0657);}(_0xeeb6,0x1eb));var _0x6eeb=function(_0x123f82,_0x4bbfef){_0x123f82=_0x123f82-0x0;var _0x679f43=_0xeeb6[_0x123f82];return _0x679f43;};'use strict';var multer=require(_0x6eeb('0x0'));var util=require(_0x6eeb('0x1'));var path=require(_0x6eeb('0x2'));var timeout=require(_0x6eeb('0x3'));var express=require(_0x6eeb('0x4'));var router=express[_0x6eeb('0x5')]();var fs_extra=require(_0x6eeb('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0x6eeb('0x7'));var config=require(_0x6eeb('0x8'));var controller=require(_0x6eeb('0x9'));router[_0x6eeb('0xa')]('/',auth[_0x6eeb('0xb')](),controller[_0x6eeb('0xc')]);router[_0x6eeb('0xa')]('/describe',auth['isAuthenticated'](),controller['describe']);router[_0x6eeb('0xa')](_0x6eeb('0xd'),auth[_0x6eeb('0xb')](),controller[_0x6eeb('0xe')]);router['get'](_0x6eeb('0xf'),auth[_0x6eeb('0xb')](),controller[_0x6eeb('0x10')]);router[_0x6eeb('0x11')]('/',auth[_0x6eeb('0xb')](),controller[_0x6eeb('0x12')]);router[_0x6eeb('0x13')](_0x6eeb('0xd'),auth['isAuthenticated'](),controller[_0x6eeb('0x14')]);router[_0x6eeb('0x15')](_0x6eeb('0xd'),auth[_0x6eeb('0xb')](),controller[_0x6eeb('0x16')]);module[_0x6eeb('0x17')]=router;