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