Built motion from commit e02f907f.|2.6.14
[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 _0x83e7=['express','Router','fs-extra','../../components/interaction/service','../../config/environment','./voiceRecording.controller','get','isAuthenticated','describe','/:id','show','/:id/download','download','/:id/downloads','downloads','/:id/transcribe','downloadTranscribe','post','create','runTranscribe','put','update','delete','destroy','exports','multer','util','path'];(function(_0x40bfc2,_0x538e26){var _0x14d1db=function(_0x3c46bc){while(--_0x3c46bc){_0x40bfc2['push'](_0x40bfc2['shift']());}};_0x14d1db(++_0x538e26);}(_0x83e7,0x131));var _0x783e=function(_0x1837f6,_0x2daff9){_0x1837f6=_0x1837f6-0x0;var _0x487418=_0x83e7[_0x1837f6];return _0x487418;};'use strict';var multer=require(_0x783e('0x0'));var util=require(_0x783e('0x1'));var path=require(_0x783e('0x2'));var timeout=require('connect-timeout');var express=require(_0x783e('0x3'));var router=express[_0x783e('0x4')]();var fs_extra=require(_0x783e('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x783e('0x6'));var config=require(_0x783e('0x7'));var controller=require(_0x783e('0x8'));router[_0x783e('0x9')]('/',auth[_0x783e('0xa')](),controller['index']);router[_0x783e('0x9')]('/describe',auth[_0x783e('0xa')](),controller[_0x783e('0xb')]);router[_0x783e('0x9')](_0x783e('0xc'),auth[_0x783e('0xa')](),controller[_0x783e('0xd')]);router['get'](_0x783e('0xe'),auth['isAuthenticated'](),controller[_0x783e('0xf')]);router[_0x783e('0x9')](_0x783e('0x10'),controller[_0x783e('0x11')]);router[_0x783e('0x9')](_0x783e('0x12'),auth[_0x783e('0xa')](),controller[_0x783e('0x13')]);router[_0x783e('0x14')]('/',auth[_0x783e('0xa')](),controller[_0x783e('0x15')]);router[_0x783e('0x14')](_0x783e('0x12'),auth['isAuthenticated'](),controller[_0x783e('0x16')]);router[_0x783e('0x17')](_0x783e('0xc'),auth['isAuthenticated'](),controller[_0x783e('0x18')]);router[_0x783e('0x19')](_0x783e('0xc'),auth['isAuthenticated'](),controller[_0x783e('0x1a')]);module[_0x783e('0x1b')]=router;