Built motion from commit 953226e6.|2.6.32
[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 _0xf24b=['express','Router','../../components/interaction/service','./voiceRecording.controller','get','isAuthenticated','index','/describe','describe','/:id','/:id/download','download','downloads','/:id/transcribe','downloadTranscribe','post','create','runTranscribe','put','update','delete','destroy','exports','multer','util','path','connect-timeout'];(function(_0x4a82ac,_0x1fb931){var _0x58ee97=function(_0xc7050a){while(--_0xc7050a){_0x4a82ac['push'](_0x4a82ac['shift']());}};_0x58ee97(++_0x1fb931);}(_0xf24b,0x191));var _0xbf24=function(_0x54d4a8,_0x585a59){_0x54d4a8=_0x54d4a8-0x0;var _0x3b321b=_0xf24b[_0x54d4a8];return _0x3b321b;};'use strict';var multer=require(_0xbf24('0x0'));var util=require(_0xbf24('0x1'));var path=require(_0xbf24('0x2'));var timeout=require(_0xbf24('0x3'));var express=require(_0xbf24('0x4'));var router=express[_0xbf24('0x5')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xbf24('0x6'));var config=require('../../config/environment');var controller=require(_0xbf24('0x7'));router[_0xbf24('0x8')]('/',auth[_0xbf24('0x9')](),controller[_0xbf24('0xa')]);router[_0xbf24('0x8')](_0xbf24('0xb'),auth[_0xbf24('0x9')](),controller[_0xbf24('0xc')]);router[_0xbf24('0x8')](_0xbf24('0xd'),auth[_0xbf24('0x9')](),controller['show']);router[_0xbf24('0x8')](_0xbf24('0xe'),auth['isAuthenticated'](),controller[_0xbf24('0xf')]);router[_0xbf24('0x8')]('/:id/downloads',controller[_0xbf24('0x10')]);router['get'](_0xbf24('0x11'),auth[_0xbf24('0x9')](),controller[_0xbf24('0x12')]);router[_0xbf24('0x13')]('/',auth['isAuthenticated'](),controller[_0xbf24('0x14')]);router[_0xbf24('0x13')](_0xbf24('0x11'),auth[_0xbf24('0x9')](),controller[_0xbf24('0x15')]);router[_0xbf24('0x16')](_0xbf24('0xd'),auth['isAuthenticated'](),controller[_0xbf24('0x17')]);router[_0xbf24('0x18')]('/:id',auth['isAuthenticated'](),controller[_0xbf24('0x19')]);module[_0xbf24('0x1a')]=router;