07c66596de630b459d944c65dc3d43b91811b6d0
[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 _0xa6d7=['delete','destroy','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./screenRecording.controller','get','index','/describe','isAuthenticated','describe','/:id','show','/:id/download','download','post'];(function(_0x103ad5,_0x279f7a){var _0x3b687a=function(_0x4881ca){while(--_0x4881ca){_0x103ad5['push'](_0x103ad5['shift']());}};_0x3b687a(++_0x279f7a);}(_0xa6d7,0x12e));var _0x7a6d=function(_0x4cf98e,_0xba4b79){_0x4cf98e=_0x4cf98e-0x0;var _0x1623ac=_0xa6d7[_0x4cf98e];return _0x1623ac;};'use strict';var multer=require(_0x7a6d('0x0'));var util=require('util');var path=require(_0x7a6d('0x1'));var timeout=require(_0x7a6d('0x2'));var express=require(_0x7a6d('0x3'));var router=express[_0x7a6d('0x4')]();var fs_extra=require(_0x7a6d('0x5'));var auth=require(_0x7a6d('0x6'));var interaction=require(_0x7a6d('0x7'));var config=require(_0x7a6d('0x8'));var controller=require(_0x7a6d('0x9'));router[_0x7a6d('0xa')]('/',auth['isAuthenticated'](),controller[_0x7a6d('0xb')]);router[_0x7a6d('0xa')](_0x7a6d('0xc'),auth[_0x7a6d('0xd')](),controller[_0x7a6d('0xe')]);router[_0x7a6d('0xa')](_0x7a6d('0xf'),auth[_0x7a6d('0xd')](),controller[_0x7a6d('0x10')]);router[_0x7a6d('0xa')](_0x7a6d('0x11'),auth[_0x7a6d('0xd')](),controller[_0x7a6d('0x12')]);router[_0x7a6d('0x13')]('/',auth[_0x7a6d('0xd')](),controller['create']);router['put'](_0x7a6d('0xf'),auth[_0x7a6d('0xd')](),controller['update']);router[_0x7a6d('0x14')](_0x7a6d('0xf'),auth[_0x7a6d('0xd')](),controller[_0x7a6d('0x15')]);module[_0x7a6d('0x16')]=router;