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