10834ca3bfb23c3abbb0333f801d462e3f4201c5
[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 _0xf3e6=['post','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','/describe','describe','/:id','show','download'];(function(_0x8121fa,_0x395cdf){var _0x37ebd5=function(_0x2fb41e){while(--_0x2fb41e){_0x8121fa['push'](_0x8121fa['shift']());}};_0x37ebd5(++_0x395cdf);}(_0xf3e6,0x10f));var _0x6f3e=function(_0x4224e2,_0x340a2b){_0x4224e2=_0x4224e2-0x0;var _0x309e5d=_0xf3e6[_0x4224e2];return _0x309e5d;};'use strict';var multer=require(_0x6f3e('0x0'));var util=require(_0x6f3e('0x1'));var path=require(_0x6f3e('0x2'));var timeout=require(_0x6f3e('0x3'));var express=require(_0x6f3e('0x4'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x6f3e('0x5'));var interaction=require(_0x6f3e('0x6'));var config=require(_0x6f3e('0x7'));var controller=require('./screenRecording.controller');router[_0x6f3e('0x8')]('/',auth[_0x6f3e('0x9')](),controller['index']);router[_0x6f3e('0x8')](_0x6f3e('0xa'),auth[_0x6f3e('0x9')](),controller[_0x6f3e('0xb')]);router['get'](_0x6f3e('0xc'),auth[_0x6f3e('0x9')](),controller[_0x6f3e('0xd')]);router[_0x6f3e('0x8')]('/:id/download',auth[_0x6f3e('0x9')](),controller[_0x6f3e('0xe')]);router[_0x6f3e('0xf')]('/',auth[_0x6f3e('0x9')](),controller[_0x6f3e('0x10')]);router[_0x6f3e('0x11')]('/:id',auth[_0x6f3e('0x9')](),controller[_0x6f3e('0x12')]);router[_0x6f3e('0x13')](_0x6f3e('0xc'),auth[_0x6f3e('0x9')](),controller[_0x6f3e('0x14')]);module[_0x6f3e('0x15')]=router;