8d8d4bb05a7d86a3470565acb49da30a117e27d3
[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 _0x1d65=['isAuthenticated','index','describe','/:id','show','download','create','put','update','delete','destroy','exports','util','connect-timeout','express','Router','../../components/auth/service','./screenRecording.controller','get'];(function(_0x122ef9,_0x451d2a){var _0x42fba0=function(_0x17c9d3){while(--_0x17c9d3){_0x122ef9['push'](_0x122ef9['shift']());}};_0x42fba0(++_0x451d2a);}(_0x1d65,0x162));var _0x51d6=function(_0x3b97cc,_0x451983){_0x3b97cc=_0x3b97cc-0x0;var _0x599f04=_0x1d65[_0x3b97cc];return _0x599f04;};'use strict';var multer=require('multer');var util=require(_0x51d6('0x0'));var path=require('path');var timeout=require(_0x51d6('0x1'));var express=require(_0x51d6('0x2'));var router=express[_0x51d6('0x3')]();var auth=require(_0x51d6('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x51d6('0x5'));router[_0x51d6('0x6')]('/',auth[_0x51d6('0x7')](),controller[_0x51d6('0x8')]);router[_0x51d6('0x6')]('/describe',auth[_0x51d6('0x7')](),controller[_0x51d6('0x9')]);router[_0x51d6('0x6')](_0x51d6('0xa'),auth[_0x51d6('0x7')](),controller[_0x51d6('0xb')]);router[_0x51d6('0x6')]('/:id/download',auth[_0x51d6('0x7')](),controller[_0x51d6('0xc')]);router['post']('/',auth[_0x51d6('0x7')](),controller[_0x51d6('0xd')]);router[_0x51d6('0xe')](_0x51d6('0xa'),auth[_0x51d6('0x7')](),controller[_0x51d6('0xf')]);router[_0x51d6('0x10')](_0x51d6('0xa'),auth['isAuthenticated'](),controller[_0x51d6('0x11')]);module[_0x51d6('0x12')]=router;