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