2aa87f0f9f1f66d7cb8a6711000bff8d2de44cf3
[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 _0x55fe=['exports','multer','path','connect-timeout','express','Router','../../components/interaction/service','./screenRecording.controller','get','isAuthenticated','/describe','describe','/:id','show','/:id/download','download','create','put','update','destroy'];(function(_0x4a98a8,_0x4dca47){var _0x1456ed=function(_0x26b212){while(--_0x26b212){_0x4a98a8['push'](_0x4a98a8['shift']());}};_0x1456ed(++_0x4dca47);}(_0x55fe,0xc9));var _0xe55f=function(_0x847037,_0x559b88){_0x847037=_0x847037-0x0;var _0x1488ef=_0x55fe[_0x847037];return _0x1488ef;};'use strict';var multer=require(_0xe55f('0x0'));var util=require('util');var path=require(_0xe55f('0x1'));var timeout=require(_0xe55f('0x2'));var express=require(_0xe55f('0x3'));var router=express[_0xe55f('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0xe55f('0x5'));var config=require('../../config/environment');var controller=require(_0xe55f('0x6'));router[_0xe55f('0x7')]('/',auth[_0xe55f('0x8')](),controller['index']);router[_0xe55f('0x7')](_0xe55f('0x9'),auth[_0xe55f('0x8')](),controller[_0xe55f('0xa')]);router[_0xe55f('0x7')](_0xe55f('0xb'),auth[_0xe55f('0x8')](),controller[_0xe55f('0xc')]);router[_0xe55f('0x7')](_0xe55f('0xd'),auth[_0xe55f('0x8')](),controller[_0xe55f('0xe')]);router['post']('/',auth[_0xe55f('0x8')](),controller[_0xe55f('0xf')]);router[_0xe55f('0x10')](_0xe55f('0xb'),auth[_0xe55f('0x8')](),controller[_0xe55f('0x11')]);router['delete'](_0xe55f('0xb'),auth[_0xe55f('0x8')](),controller[_0xe55f('0x12')]);module[_0xe55f('0x13')]=router;