68826a4b2328ef3e09d99ab36cb298ade1a2bcf3
[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 _0xd75b=['util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./screenRecording.controller','get','isAuthenticated','describe','/:id/download','download','post','create','put','/:id','update','exports','multer'];(function(_0x2235bf,_0x3a06a7){var _0x4c3a64=function(_0x3b3bb6){while(--_0x3b3bb6){_0x2235bf['push'](_0x2235bf['shift']());}};_0x4c3a64(++_0x3a06a7);}(_0xd75b,0x84));var _0xbd75=function(_0x53b445,_0x6173fb){_0x53b445=_0x53b445-0x0;var _0x11d894=_0xd75b[_0x53b445];return _0x11d894;};'use strict';var multer=require(_0xbd75('0x0'));var util=require(_0xbd75('0x1'));var path=require('path');var timeout=require(_0xbd75('0x2'));var express=require(_0xbd75('0x3'));var router=express[_0xbd75('0x4')]();var auth=require(_0xbd75('0x5'));var interaction=require(_0xbd75('0x6'));var config=require('../../config/environment');var controller=require(_0xbd75('0x7'));router[_0xbd75('0x8')]('/',auth['isAuthenticated'](),controller['index']);router['get']('/describe',auth[_0xbd75('0x9')](),controller[_0xbd75('0xa')]);router['get']('/:id',auth[_0xbd75('0x9')](),controller['show']);router[_0xbd75('0x8')](_0xbd75('0xb'),auth['isAuthenticated'](),controller[_0xbd75('0xc')]);router[_0xbd75('0xd')]('/',auth[_0xbd75('0x9')](),controller[_0xbd75('0xe')]);router[_0xbd75('0xf')](_0xbd75('0x10'),auth[_0xbd75('0x9')](),controller[_0xbd75('0x11')]);router['delete'](_0xbd75('0x10'),auth[_0xbd75('0x9')](),controller['destroy']);module[_0xbd75('0x12')]=router;