Built motion from commit d1eab355.|2.6.28
[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 _0xfe43=['/:id/download','/:id/downloads','/:id/transcribe','downloadTranscribe','post','create','put','update','delete','destroy','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./voiceRecording.controller','get','isAuthenticated','/describe','describe','/:id'];(function(_0x398442,_0x411a52){var _0x4068f3=function(_0xe490b4){while(--_0xe490b4){_0x398442['push'](_0x398442['shift']());}};_0x4068f3(++_0x411a52);}(_0xfe43,0xa0));var _0x3fe4=function(_0x397a41,_0x107e32){_0x397a41=_0x397a41-0x0;var _0x17fdad=_0xfe43[_0x397a41];return _0x17fdad;};'use strict';var multer=require(_0x3fe4('0x0'));var util=require(_0x3fe4('0x1'));var path=require(_0x3fe4('0x2'));var timeout=require(_0x3fe4('0x3'));var express=require(_0x3fe4('0x4'));var router=express[_0x3fe4('0x5')]();var fs_extra=require(_0x3fe4('0x6'));var auth=require(_0x3fe4('0x7'));var interaction=require('../../components/interaction/service');var config=require(_0x3fe4('0x8'));var controller=require(_0x3fe4('0x9'));router[_0x3fe4('0xa')]('/',auth[_0x3fe4('0xb')](),controller['index']);router[_0x3fe4('0xa')](_0x3fe4('0xc'),auth['isAuthenticated'](),controller[_0x3fe4('0xd')]);router[_0x3fe4('0xa')](_0x3fe4('0xe'),auth['isAuthenticated'](),controller['show']);router[_0x3fe4('0xa')](_0x3fe4('0xf'),auth[_0x3fe4('0xb')](),controller['download']);router[_0x3fe4('0xa')](_0x3fe4('0x10'),controller['downloads']);router[_0x3fe4('0xa')](_0x3fe4('0x11'),auth[_0x3fe4('0xb')](),controller[_0x3fe4('0x12')]);router[_0x3fe4('0x13')]('/',auth['isAuthenticated'](),controller[_0x3fe4('0x14')]);router['post'](_0x3fe4('0x11'),auth[_0x3fe4('0xb')](),controller['runTranscribe']);router[_0x3fe4('0x15')]('/:id',auth[_0x3fe4('0xb')](),controller[_0x3fe4('0x16')]);router[_0x3fe4('0x17')](_0x3fe4('0xe'),auth['isAuthenticated'](),controller[_0x3fe4('0x18')]);module['exports']=router;