1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xffe9=['show','/:id/download','download','/:id/downloads','/:id/transcribe','downloadTranscribe','create','post','runTranscribe','put','update','delete','destroy','exports','multer','util','path','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceRecording.controller','get','isAuthenticated','/describe'];(function(_0xd014d6,_0x8ed8b4){var _0x2867b4=function(_0x1a7703){while(--_0x1a7703){_0xd014d6['push'](_0xd014d6['shift']());}};_0x2867b4(++_0x8ed8b4);}(_0xffe9,0x1ae));var _0x9ffe=function(_0x1b92a6,_0x14444b){_0x1b92a6=_0x1b92a6-0x0;var _0x24be5b=_0xffe9[_0x1b92a6];return _0x24be5b;};'use strict';var multer=require(_0x9ffe('0x0'));var util=require(_0x9ffe('0x1'));var path=require(_0x9ffe('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x9ffe('0x3')]();var fs_extra=require(_0x9ffe('0x4'));var auth=require(_0x9ffe('0x5'));var interaction=require(_0x9ffe('0x6'));var config=require(_0x9ffe('0x7'));var controller=require(_0x9ffe('0x8'));router[_0x9ffe('0x9')]('/',auth[_0x9ffe('0xa')](),controller['index']);router[_0x9ffe('0x9')](_0x9ffe('0xb'),auth[_0x9ffe('0xa')](),controller['describe']);router[_0x9ffe('0x9')]('/:id',auth[_0x9ffe('0xa')](),controller[_0x9ffe('0xc')]);router[_0x9ffe('0x9')](_0x9ffe('0xd'),auth[_0x9ffe('0xa')](),controller[_0x9ffe('0xe')]);router[_0x9ffe('0x9')](_0x9ffe('0xf'),controller['downloads']);router[_0x9ffe('0x9')](_0x9ffe('0x10'),auth[_0x9ffe('0xa')](),controller[_0x9ffe('0x11')]);router['post']('/',auth[_0x9ffe('0xa')](),controller[_0x9ffe('0x12')]);router[_0x9ffe('0x13')]('/:id/transcribe',auth['isAuthenticated'](),controller[_0x9ffe('0x14')]);router[_0x9ffe('0x15')]('/:id',auth[_0x9ffe('0xa')](),controller[_0x9ffe('0x16')]);router[_0x9ffe('0x17')]('/:id',auth['isAuthenticated'](),controller[_0x9ffe('0x18')]);module[_0x9ffe('0x19')]=router;