8c323c8564a69bec9b53d7d372a70357d276fd97
[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 _0x3535=['describe','/:id','/:id/download','post','update','destroy','exports','multer','util','Router','./screenRecording.controller','isAuthenticated','index','get','/describe'];(function(_0x54cda0,_0x3bf6e9){var _0x26f2c2=function(_0x18761f){while(--_0x18761f){_0x54cda0['push'](_0x54cda0['shift']());}};_0x26f2c2(++_0x3bf6e9);}(_0x3535,0x9d));var _0x5353=function(_0x424b89,_0x15cef3){_0x424b89=_0x424b89-0x0;var _0x48dc2e=_0x3535[_0x424b89];return _0x48dc2e;};'use strict';var multer=require(_0x5353('0x0'));var util=require(_0x5353('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0x5353('0x2')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x5353('0x3'));router['get']('/',auth[_0x5353('0x4')](),controller[_0x5353('0x5')]);router[_0x5353('0x6')](_0x5353('0x7'),auth[_0x5353('0x4')](),controller[_0x5353('0x8')]);router[_0x5353('0x6')](_0x5353('0x9'),auth[_0x5353('0x4')](),controller['show']);router[_0x5353('0x6')](_0x5353('0xa'),auth[_0x5353('0x4')](),controller['download']);router[_0x5353('0xb')]('/',auth[_0x5353('0x4')](),controller['create']);router['put'](_0x5353('0x9'),auth[_0x5353('0x4')](),controller[_0x5353('0xc')]);router['delete'](_0x5353('0x9'),auth[_0x5353('0x4')](),controller[_0x5353('0xd')]);module[_0x5353('0xe')]=router;