8b82737190ee066138ea8cead8ed73aefeb62617
[motion2.git] / server / api / voiceRecording / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xc30f=['isAuthenticated','get','/describe','/:id','show','/:id/download','download','/:id/downloads','/:id/transcribe','downloadTranscribe','post','create','runTranscribe','put','update','delete','destroy','exports','path','connect-timeout','express','../../components/interaction/service','./voiceRecording.controller'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xc30f,0xf8));var _0xfc30=function(_0x49adfd,_0x136735){_0x49adfd=_0x49adfd-0x0;var _0x518e53=_0xc30f[_0x49adfd];return _0x518e53;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xfc30('0x0'));var timeout=require(_0xfc30('0x1'));var express=require(_0xfc30('0x2'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0xfc30('0x3'));var config=require('../../config/environment');var controller=require(_0xfc30('0x4'));router['get']('/',auth[_0xfc30('0x5')](),controller['index']);router[_0xfc30('0x6')](_0xfc30('0x7'),auth[_0xfc30('0x5')](),controller['describe']);router['get'](_0xfc30('0x8'),auth[_0xfc30('0x5')](),controller[_0xfc30('0x9')]);router[_0xfc30('0x6')](_0xfc30('0xa'),auth[_0xfc30('0x5')](),controller[_0xfc30('0xb')]);router[_0xfc30('0x6')](_0xfc30('0xc'),controller['downloads']);router['get'](_0xfc30('0xd'),auth[_0xfc30('0x5')](),controller[_0xfc30('0xe')]);router[_0xfc30('0xf')]('/',auth[_0xfc30('0x5')](),controller[_0xfc30('0x10')]);router[_0xfc30('0xf')](_0xfc30('0xd'),auth[_0xfc30('0x5')](),controller[_0xfc30('0x11')]);router[_0xfc30('0x12')]('/:id',auth[_0xfc30('0x5')](),controller[_0xfc30('0x13')]);router[_0xfc30('0x14')](_0xfc30('0x8'),auth[_0xfc30('0x5')](),controller[_0xfc30('0x15')]);module[_0xfc30('0x16')]=router;