5e1cad12ab605a5be06211efe94928a2e8dde6b0
[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 _0x76dd=['/describe','describe','show','/:id/download','download','post','create','put','update','delete','/:id','destroy','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index'];(function(_0x134eb1,_0x30f846){var _0xb46c09=function(_0x225ce1){while(--_0x225ce1){_0x134eb1['push'](_0x134eb1['shift']());}};_0xb46c09(++_0x30f846);}(_0x76dd,0x1d8));var _0xd76d=function(_0xf7cc65,_0x2389c8){_0xf7cc65=_0xf7cc65-0x0;var _0x5d4720=_0x76dd[_0xf7cc65];return _0x5d4720;};'use strict';var multer=require(_0xd76d('0x0'));var util=require(_0xd76d('0x1'));var path=require('path');var timeout=require(_0xd76d('0x2'));var express=require(_0xd76d('0x3'));var router=express[_0xd76d('0x4')]();var auth=require(_0xd76d('0x5'));var interaction=require(_0xd76d('0x6'));var config=require(_0xd76d('0x7'));var controller=require('./screenRecording.controller');router[_0xd76d('0x8')]('/',auth[_0xd76d('0x9')](),controller[_0xd76d('0xa')]);router[_0xd76d('0x8')](_0xd76d('0xb'),auth[_0xd76d('0x9')](),controller[_0xd76d('0xc')]);router[_0xd76d('0x8')]('/:id',auth['isAuthenticated'](),controller[_0xd76d('0xd')]);router['get'](_0xd76d('0xe'),auth[_0xd76d('0x9')](),controller[_0xd76d('0xf')]);router[_0xd76d('0x10')]('/',auth[_0xd76d('0x9')](),controller[_0xd76d('0x11')]);router[_0xd76d('0x12')]('/:id',auth['isAuthenticated'](),controller[_0xd76d('0x13')]);router[_0xd76d('0x14')](_0xd76d('0x15'),auth[_0xd76d('0x9')](),controller[_0xd76d('0x16')]);module['exports']=router;