52d151240c447033364da2234e8f9145465fa3c4
[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 _0x573c=['delete','exports','multer','util','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./screenRecording.controller','get','isAuthenticated','index','/describe','/:id','/:id/download','download','post','put','update'];(function(_0x5cffe5,_0x2bc865){var _0xf5501c=function(_0x1f582d){while(--_0x1f582d){_0x5cffe5['push'](_0x5cffe5['shift']());}};_0xf5501c(++_0x2bc865);}(_0x573c,0xaa));var _0xc573=function(_0x5315bf,_0x140a59){_0x5315bf=_0x5315bf-0x0;var _0x30aa1f=_0x573c[_0x5315bf];return _0x30aa1f;};'use strict';var multer=require(_0xc573('0x0'));var util=require(_0xc573('0x1'));var path=require(_0xc573('0x2'));var timeout=require(_0xc573('0x3'));var express=require(_0xc573('0x4'));var router=express[_0xc573('0x5')]();var auth=require('../../components/auth/service');var interaction=require(_0xc573('0x6'));var config=require(_0xc573('0x7'));var controller=require(_0xc573('0x8'));router[_0xc573('0x9')]('/',auth[_0xc573('0xa')](),controller[_0xc573('0xb')]);router[_0xc573('0x9')](_0xc573('0xc'),auth[_0xc573('0xa')](),controller['describe']);router['get'](_0xc573('0xd'),auth[_0xc573('0xa')](),controller['show']);router[_0xc573('0x9')](_0xc573('0xe'),auth[_0xc573('0xa')](),controller[_0xc573('0xf')]);router[_0xc573('0x10')]('/',auth[_0xc573('0xa')](),controller['create']);router[_0xc573('0x11')](_0xc573('0xd'),auth[_0xc573('0xa')](),controller[_0xc573('0x12')]);router[_0xc573('0x13')](_0xc573('0xd'),auth[_0xc573('0xa')](),controller['destroy']);module[_0xc573('0x14')]=router;