Built motion from commit (unavailable).|2.5.2
[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 _0xe3d5=['describe','/:id','show','/:id/download','put','update','delete','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./screenRecording.controller','index','get','/describe','isAuthenticated'];(function(_0x153abc,_0xc76d3a){var _0x2647a4=function(_0x4c4a3f){while(--_0x4c4a3f){_0x153abc['push'](_0x153abc['shift']());}};_0x2647a4(++_0xc76d3a);}(_0xe3d5,0x182));var _0x5e3d=function(_0x119d5a,_0x19b457){_0x119d5a=_0x119d5a-0x0;var _0x15bff4=_0xe3d5[_0x119d5a];return _0x15bff4;};'use strict';var multer=require(_0x5e3d('0x0'));var util=require(_0x5e3d('0x1'));var path=require(_0x5e3d('0x2'));var timeout=require(_0x5e3d('0x3'));var express=require(_0x5e3d('0x4'));var router=express[_0x5e3d('0x5')]();var auth=require(_0x5e3d('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x5e3d('0x7'));var controller=require(_0x5e3d('0x8'));router['get']('/',auth['isAuthenticated'](),controller[_0x5e3d('0x9')]);router[_0x5e3d('0xa')](_0x5e3d('0xb'),auth[_0x5e3d('0xc')](),controller[_0x5e3d('0xd')]);router[_0x5e3d('0xa')](_0x5e3d('0xe'),auth[_0x5e3d('0xc')](),controller[_0x5e3d('0xf')]);router[_0x5e3d('0xa')](_0x5e3d('0x10'),auth[_0x5e3d('0xc')](),controller['download']);router['post']('/',auth['isAuthenticated'](),controller['create']);router[_0x5e3d('0x11')](_0x5e3d('0xe'),auth[_0x5e3d('0xc')](),controller[_0x5e3d('0x12')]);router[_0x5e3d('0x13')](_0x5e3d('0xe'),auth[_0x5e3d('0xc')](),controller['destroy']);module[_0x5e3d('0x14')]=router;