Built motion from commit 3c2ce842.|2.6.31
[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 _0x2ef9=['describe','show','/:id/download','download','post','update','delete','/:id','destroy','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../config/environment','./screenRecording.controller','get','isAuthenticated','/describe'];(function(_0x223a00,_0x1f1e9f){var _0x152f91=function(_0x511bf6){while(--_0x511bf6){_0x223a00['push'](_0x223a00['shift']());}};_0x152f91(++_0x1f1e9f);}(_0x2ef9,0x154));var _0x92ef=function(_0x4d7753,_0x7fa2ac){_0x4d7753=_0x4d7753-0x0;var _0x40fd64=_0x2ef9[_0x4d7753];return _0x40fd64;};'use strict';var multer=require(_0x92ef('0x0'));var util=require(_0x92ef('0x1'));var path=require(_0x92ef('0x2'));var timeout=require(_0x92ef('0x3'));var express=require(_0x92ef('0x4'));var router=express['Router']();var fs_extra=require(_0x92ef('0x5'));var auth=require(_0x92ef('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x92ef('0x7'));var controller=require(_0x92ef('0x8'));router[_0x92ef('0x9')]('/',auth[_0x92ef('0xa')](),controller['index']);router[_0x92ef('0x9')](_0x92ef('0xb'),auth['isAuthenticated'](),controller[_0x92ef('0xc')]);router[_0x92ef('0x9')]('/:id',auth[_0x92ef('0xa')](),controller[_0x92ef('0xd')]);router[_0x92ef('0x9')](_0x92ef('0xe'),auth[_0x92ef('0xa')](),controller[_0x92ef('0xf')]);router[_0x92ef('0x10')]('/',auth[_0x92ef('0xa')](),controller['create']);router['put']('/:id',auth['isAuthenticated'](),controller[_0x92ef('0x11')]);router[_0x92ef('0x12')](_0x92ef('0x13'),auth[_0x92ef('0xa')](),controller[_0x92ef('0x14')]);module[_0x92ef('0x15')]=router;