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