Built motion from commit (unavailable).|2.5.27
[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 _0x729f=['util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','/describe','describe','/:id','/:id/download','download','post','create','put','update','delete','destroy','exports','multer'];(function(_0x14bd30,_0xbcc5eb){var _0x2b7e7f=function(_0x297953){while(--_0x297953){_0x14bd30['push'](_0x14bd30['shift']());}};_0x2b7e7f(++_0xbcc5eb);}(_0x729f,0xa0));var _0xf729=function(_0x51c52b,_0x147712){_0x51c52b=_0x51c52b-0x0;var _0x581ce3=_0x729f[_0x51c52b];return _0x581ce3;};'use strict';var multer=require(_0xf729('0x0'));var util=require(_0xf729('0x1'));var path=require(_0xf729('0x2'));var timeout=require(_0xf729('0x3'));var express=require(_0xf729('0x4'));var router=express[_0xf729('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0xf729('0x6'));var interaction=require(_0xf729('0x7'));var config=require(_0xf729('0x8'));var controller=require('./screenRecording.controller');router[_0xf729('0x9')]('/',auth[_0xf729('0xa')](),controller['index']);router[_0xf729('0x9')](_0xf729('0xb'),auth[_0xf729('0xa')](),controller[_0xf729('0xc')]);router[_0xf729('0x9')](_0xf729('0xd'),auth[_0xf729('0xa')](),controller['show']);router[_0xf729('0x9')](_0xf729('0xe'),auth['isAuthenticated'](),controller[_0xf729('0xf')]);router[_0xf729('0x10')]('/',auth['isAuthenticated'](),controller[_0xf729('0x11')]);router[_0xf729('0x12')](_0xf729('0xd'),auth['isAuthenticated'](),controller[_0xf729('0x13')]);router[_0xf729('0x14')]('/:id',auth[_0xf729('0xa')](),controller[_0xf729('0x15')]);module[_0xf729('0x16')]=router;