0e3c68b113ea9796616612cabc2ebef3a5dcedfc
[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 _0x0a2a=['express','../../components/auth/service','../../components/interaction/service','../../config/environment','./screenRecording.controller','get','index','/describe','isAuthenticated','describe','/:id','show','/:id/download','post','create','put','update','delete','exports','multer','util'];(function(_0x2641a8,_0x373869){var _0x5ddd86=function(_0x564efd){while(--_0x564efd){_0x2641a8['push'](_0x2641a8['shift']());}};_0x5ddd86(++_0x373869);}(_0x0a2a,0x18d));var _0xa0a2=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x0a2a[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0xa0a2('0x0'));var util=require(_0xa0a2('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xa0a2('0x2'));var router=express['Router']();var auth=require(_0xa0a2('0x3'));var interaction=require(_0xa0a2('0x4'));var config=require(_0xa0a2('0x5'));var controller=require(_0xa0a2('0x6'));router[_0xa0a2('0x7')]('/',auth['isAuthenticated'](),controller[_0xa0a2('0x8')]);router['get'](_0xa0a2('0x9'),auth[_0xa0a2('0xa')](),controller[_0xa0a2('0xb')]);router[_0xa0a2('0x7')](_0xa0a2('0xc'),auth['isAuthenticated'](),controller[_0xa0a2('0xd')]);router[_0xa0a2('0x7')](_0xa0a2('0xe'),auth[_0xa0a2('0xa')](),controller['download']);router[_0xa0a2('0xf')]('/',auth[_0xa0a2('0xa')](),controller[_0xa0a2('0x10')]);router[_0xa0a2('0x11')](_0xa0a2('0xc'),auth['isAuthenticated'](),controller[_0xa0a2('0x12')]);router[_0xa0a2('0x13')](_0xa0a2('0xc'),auth[_0xa0a2('0xa')](),controller['destroy']);module[_0xa0a2('0x14')]=router;