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