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