Built motion from commit (unavailable).|2.5.5
[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 _0x386a=['/:id/transcribe','downloadTranscribe','post','create','runTranscribe','put','update','delete','destroy','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/describe','describe','/:id','show','/:id/download','download'];(function(_0x2e8c7e,_0x28648a){var _0x48fded=function(_0x55b9c5){while(--_0x55b9c5){_0x2e8c7e['push'](_0x2e8c7e['shift']());}};_0x48fded(++_0x28648a);}(_0x386a,0x71));var _0xa386=function(_0x4fd071,_0x51de2d){_0x4fd071=_0x4fd071-0x0;var _0x13bc05=_0x386a[_0x4fd071];return _0x13bc05;};'use strict';var multer=require(_0xa386('0x0'));var util=require(_0xa386('0x1'));var path=require(_0xa386('0x2'));var timeout=require(_0xa386('0x3'));var express=require('express');var router=express[_0xa386('0x4')]();var auth=require(_0xa386('0x5'));var interaction=require(_0xa386('0x6'));var config=require(_0xa386('0x7'));var controller=require('./voiceRecording.controller');router['get']('/',auth[_0xa386('0x8')](),controller[_0xa386('0x9')]);router[_0xa386('0xa')](_0xa386('0xb'),auth[_0xa386('0x8')](),controller[_0xa386('0xc')]);router[_0xa386('0xa')](_0xa386('0xd'),auth['isAuthenticated'](),controller[_0xa386('0xe')]);router[_0xa386('0xa')](_0xa386('0xf'),auth[_0xa386('0x8')](),controller[_0xa386('0x10')]);router[_0xa386('0xa')]('/:id/downloads',controller['downloads']);router[_0xa386('0xa')](_0xa386('0x11'),auth[_0xa386('0x8')](),controller[_0xa386('0x12')]);router[_0xa386('0x13')]('/',auth[_0xa386('0x8')](),controller[_0xa386('0x14')]);router[_0xa386('0x13')](_0xa386('0x11'),auth['isAuthenticated'](),controller[_0xa386('0x15')]);router[_0xa386('0x16')](_0xa386('0xd'),auth[_0xa386('0x8')](),controller[_0xa386('0x17')]);router[_0xa386('0x18')](_0xa386('0xd'),auth[_0xa386('0x8')](),controller[_0xa386('0x19')]);module['exports']=router;