53bf674985034e98058fb689e370ccfbcc01a033
[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 _0x159e=['runTranscribe','put','update','destroy','exports','express','../../components/auth/service','../../config/environment','./voiceRecording.controller','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/download','download','/:id/downloads','downloads','/:id/transcribe','downloadTranscribe','create','post'];(function(_0x529167,_0x426891){var _0x1adee1=function(_0x2017bb){while(--_0x2017bb){_0x529167['push'](_0x529167['shift']());}};_0x1adee1(++_0x426891);}(_0x159e,0x125));var _0xe159=function(_0x276b15,_0x5e9e77){_0x276b15=_0x276b15-0x0;var _0x1191c5=_0x159e[_0x276b15];return _0x1191c5;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0xe159('0x0'));var router=express['Router']();var auth=require(_0xe159('0x1'));var interaction=require('../../components/interaction/service');var config=require(_0xe159('0x2'));var controller=require(_0xe159('0x3'));router[_0xe159('0x4')]('/',auth[_0xe159('0x5')](),controller[_0xe159('0x6')]);router['get'](_0xe159('0x7'),auth[_0xe159('0x5')](),controller[_0xe159('0x8')]);router[_0xe159('0x4')](_0xe159('0x9'),auth['isAuthenticated'](),controller[_0xe159('0xa')]);router[_0xe159('0x4')](_0xe159('0xb'),auth['isAuthenticated'](),controller[_0xe159('0xc')]);router[_0xe159('0x4')](_0xe159('0xd'),controller[_0xe159('0xe')]);router[_0xe159('0x4')](_0xe159('0xf'),auth[_0xe159('0x5')](),controller[_0xe159('0x10')]);router['post']('/',auth[_0xe159('0x5')](),controller[_0xe159('0x11')]);router[_0xe159('0x12')](_0xe159('0xf'),auth[_0xe159('0x5')](),controller[_0xe159('0x13')]);router[_0xe159('0x14')](_0xe159('0x9'),auth[_0xe159('0x5')](),controller[_0xe159('0x15')]);router['delete'](_0xe159('0x9'),auth[_0xe159('0x5')](),controller[_0xe159('0x16')]);module[_0xe159('0x17')]=router;