a65ed729d857aa25d1be0c9b120db339d0d552c0
[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 _0x0f66=['destroy','multer','util','path','express','Router','../../components/auth/service','../../config/environment','isAuthenticated','index','/describe','describe','get','/:id','show','/:id/download','download','post','create','put','update','delete'];(function(_0x4139f4,_0x525566){var _0x4749a4=function(_0x5bfd66){while(--_0x5bfd66){_0x4139f4['push'](_0x4139f4['shift']());}};_0x4749a4(++_0x525566);}(_0x0f66,0xdd));var _0x60f6=function(_0x556bb1,_0x34830d){_0x556bb1=_0x556bb1-0x0;var _0x45455f=_0x0f66[_0x556bb1];return _0x45455f;};'use strict';var multer=require(_0x60f6('0x0'));var util=require(_0x60f6('0x1'));var path=require(_0x60f6('0x2'));var timeout=require('connect-timeout');var express=require(_0x60f6('0x3'));var router=express[_0x60f6('0x4')]();var auth=require(_0x60f6('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x60f6('0x6'));var controller=require('./screenRecording.controller');router['get']('/',auth[_0x60f6('0x7')](),controller[_0x60f6('0x8')]);router['get'](_0x60f6('0x9'),auth[_0x60f6('0x7')](),controller[_0x60f6('0xa')]);router[_0x60f6('0xb')](_0x60f6('0xc'),auth['isAuthenticated'](),controller[_0x60f6('0xd')]);router['get'](_0x60f6('0xe'),auth['isAuthenticated'](),controller[_0x60f6('0xf')]);router[_0x60f6('0x10')]('/',auth[_0x60f6('0x7')](),controller[_0x60f6('0x11')]);router[_0x60f6('0x12')](_0x60f6('0xc'),auth['isAuthenticated'](),controller[_0x60f6('0x13')]);router[_0x60f6('0x14')](_0x60f6('0xc'),auth[_0x60f6('0x7')](),controller[_0x60f6('0x15')]);module['exports']=router;