75e7547a2997619bba6e901ac0d131b0411d145c
[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 _0x02c2=['isAuthenticated','/describe','/:id','show','/:id/download','create','put','update','exports','util','path','connect-timeout','Router','../../components/auth/service','../../config/environment','./screenRecording.controller','get'];(function(_0x36d774,_0x4236ac){var _0x483416=function(_0xd65398){while(--_0xd65398){_0x36d774['push'](_0x36d774['shift']());}};_0x483416(++_0x4236ac);}(_0x02c2,0xb3));var _0x202c=function(_0x1ad184,_0x369897){_0x1ad184=_0x1ad184-0x0;var _0x5ef7c6=_0x02c2[_0x1ad184];return _0x5ef7c6;};'use strict';var multer=require('multer');var util=require(_0x202c('0x0'));var path=require(_0x202c('0x1'));var timeout=require(_0x202c('0x2'));var express=require('express');var router=express[_0x202c('0x3')]();var auth=require(_0x202c('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x202c('0x5'));var controller=require(_0x202c('0x6'));router[_0x202c('0x7')]('/',auth[_0x202c('0x8')](),controller['index']);router['get'](_0x202c('0x9'),auth[_0x202c('0x8')](),controller['describe']);router[_0x202c('0x7')](_0x202c('0xa'),auth[_0x202c('0x8')](),controller[_0x202c('0xb')]);router[_0x202c('0x7')](_0x202c('0xc'),auth['isAuthenticated'](),controller['download']);router['post']('/',auth[_0x202c('0x8')](),controller[_0x202c('0xd')]);router[_0x202c('0xe')](_0x202c('0xa'),auth[_0x202c('0x8')](),controller[_0x202c('0xf')]);router['delete'](_0x202c('0xa'),auth[_0x202c('0x8')](),controller['destroy']);module[_0x202c('0x10')]=router;