Built motion from commit (unavailable).|2.4.17
[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 _0x4aa3=['./screenRecording.controller','isAuthenticated','index','get','/describe','describe','/:id','post','put','update','destroy','exports','multer','path','connect-timeout','express','Router','../../components/auth/service'];(function(_0x2aec52,_0x59d962){var _0x3b8835=function(_0x3e2604){while(--_0x3e2604){_0x2aec52['push'](_0x2aec52['shift']());}};_0x3b8835(++_0x59d962);}(_0x4aa3,0xc0));var _0x34aa=function(_0x14f46b,_0x143389){_0x14f46b=_0x14f46b-0x0;var _0xf0fb7b=_0x4aa3[_0x14f46b];return _0xf0fb7b;};'use strict';var multer=require(_0x34aa('0x0'));var util=require('util');var path=require(_0x34aa('0x1'));var timeout=require(_0x34aa('0x2'));var express=require(_0x34aa('0x3'));var router=express[_0x34aa('0x4')]();var auth=require(_0x34aa('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x34aa('0x6'));router['get']('/',auth[_0x34aa('0x7')](),controller[_0x34aa('0x8')]);router[_0x34aa('0x9')](_0x34aa('0xa'),auth['isAuthenticated'](),controller[_0x34aa('0xb')]);router[_0x34aa('0x9')](_0x34aa('0xc'),auth['isAuthenticated'](),controller['show']);router[_0x34aa('0x9')]('/:id/download',auth[_0x34aa('0x7')](),controller['download']);router[_0x34aa('0xd')]('/',auth[_0x34aa('0x7')](),controller['create']);router[_0x34aa('0xe')]('/:id',auth[_0x34aa('0x7')](),controller[_0x34aa('0xf')]);router['delete']('/:id',auth[_0x34aa('0x7')](),controller[_0x34aa('0x10')]);module[_0x34aa('0x11')]=router;