Built motion from commit (unavailable).|2.5.11
[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 _0x291f=['connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./screenRecording.controller','get','index','isAuthenticated','describe','/:id','show','/:id/download','download','post','create','put','update','delete','destroy','multer','util'];(function(_0x1a2455,_0xdaa32e){var _0xd2286c=function(_0x1427b2){while(--_0x1427b2){_0x1a2455['push'](_0x1a2455['shift']());}};_0xd2286c(++_0xdaa32e);}(_0x291f,0x1a0));var _0xf291=function(_0x4546d7,_0x5bba6a){_0x4546d7=_0x4546d7-0x0;var _0x6572b=_0x291f[_0x4546d7];return _0x6572b;};'use strict';var multer=require(_0xf291('0x0'));var util=require(_0xf291('0x1'));var path=require('path');var timeout=require(_0xf291('0x2'));var express=require(_0xf291('0x3'));var router=express['Router']();var auth=require(_0xf291('0x4'));var interaction=require(_0xf291('0x5'));var config=require(_0xf291('0x6'));var controller=require(_0xf291('0x7'));router[_0xf291('0x8')]('/',auth['isAuthenticated'](),controller[_0xf291('0x9')]);router[_0xf291('0x8')]('/describe',auth[_0xf291('0xa')](),controller[_0xf291('0xb')]);router[_0xf291('0x8')](_0xf291('0xc'),auth[_0xf291('0xa')](),controller[_0xf291('0xd')]);router[_0xf291('0x8')](_0xf291('0xe'),auth[_0xf291('0xa')](),controller[_0xf291('0xf')]);router[_0xf291('0x10')]('/',auth[_0xf291('0xa')](),controller[_0xf291('0x11')]);router[_0xf291('0x12')](_0xf291('0xc'),auth['isAuthenticated'](),controller[_0xf291('0x13')]);router[_0xf291('0x14')](_0xf291('0xc'),auth[_0xf291('0xa')](),controller[_0xf291('0x15')]);module['exports']=router;