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 _0x4654=['get','/describe','describe','/:id','show','/:id/download','download','/:id/downloads','downloads','/:id/transcribe','post','runTranscribe','put','update','delete','destroy','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceRecording.controller','isAuthenticated','index'];(function(_0x1f19b5,_0x31eecd){var _0x384643=function(_0x19cae7){while(--_0x19cae7){_0x1f19b5['push'](_0x1f19b5['shift']());}};_0x384643(++_0x31eecd);}(_0x4654,0xf9));var _0x4465=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0x4654[_0xa464c9];return _0x3d73c4;};'use strict';var multer=require('multer');var util=require(_0x4465('0x0'));var path=require(_0x4465('0x1'));var timeout=require(_0x4465('0x2'));var express=require(_0x4465('0x3'));var router=express[_0x4465('0x4')]();var fs_extra=require(_0x4465('0x5'));var auth=require(_0x4465('0x6'));var interaction=require(_0x4465('0x7'));var config=require(_0x4465('0x8'));var controller=require(_0x4465('0x9'));router['get']('/',auth[_0x4465('0xa')](),controller[_0x4465('0xb')]);router[_0x4465('0xc')](_0x4465('0xd'),auth['isAuthenticated'](),controller[_0x4465('0xe')]);router[_0x4465('0xc')](_0x4465('0xf'),auth[_0x4465('0xa')](),controller[_0x4465('0x10')]);router['get'](_0x4465('0x11'),auth[_0x4465('0xa')](),controller[_0x4465('0x12')]);router[_0x4465('0xc')](_0x4465('0x13'),controller[_0x4465('0x14')]);router[_0x4465('0xc')](_0x4465('0x15'),auth['isAuthenticated'](),controller['downloadTranscribe']);router[_0x4465('0x16')]('/',auth[_0x4465('0xa')](),controller['create']);router[_0x4465('0x16')](_0x4465('0x15'),auth['isAuthenticated'](),controller[_0x4465('0x17')]);router[_0x4465('0x18')](_0x4465('0xf'),auth[_0x4465('0xa')](),controller[_0x4465('0x19')]);router[_0x4465('0x1a')](_0x4465('0xf'),auth[_0x4465('0xa')](),controller[_0x4465('0x1b')]);module[_0x4465('0x1c')]=router;