3b92bdc3e8c89bdc237847fc6c8f1632962da07d
[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 _0x15e4=['path','connect-timeout','Router','../../components/auth/service','../../config/environment','./screenRecording.controller','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/download','download','post','create','delete','util'];(function(_0x242a98,_0x13988e){var _0x580999=function(_0x341927){while(--_0x341927){_0x242a98['push'](_0x242a98['shift']());}};_0x580999(++_0x13988e);}(_0x15e4,0xbd));var _0x415e=function(_0x28b909,_0x3bc73){_0x28b909=_0x28b909-0x0;var _0x502a45=_0x15e4[_0x28b909];return _0x502a45;};'use strict';var multer=require('multer');var util=require(_0x415e('0x0'));var path=require(_0x415e('0x1'));var timeout=require(_0x415e('0x2'));var express=require('express');var router=express[_0x415e('0x3')]();var auth=require(_0x415e('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x415e('0x5'));var controller=require(_0x415e('0x6'));router[_0x415e('0x7')]('/',auth[_0x415e('0x8')](),controller[_0x415e('0x9')]);router[_0x415e('0x7')](_0x415e('0xa'),auth[_0x415e('0x8')](),controller[_0x415e('0xb')]);router['get'](_0x415e('0xc'),auth[_0x415e('0x8')](),controller[_0x415e('0xd')]);router[_0x415e('0x7')](_0x415e('0xe'),auth['isAuthenticated'](),controller[_0x415e('0xf')]);router[_0x415e('0x10')]('/',auth[_0x415e('0x8')](),controller[_0x415e('0x11')]);router['put']('/:id',auth[_0x415e('0x8')](),controller['update']);router[_0x415e('0x12')](_0x415e('0xc'),auth[_0x415e('0x8')](),controller['destroy']);module['exports']=router;