Built motion from commit 43538d75.|2.5.35
[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 _0xaa7c=['isAuthenticated','describe','/:id','show','download','/:id/downloads','downloads','/:id/transcribe','downloadTranscribe','post','create','runTranscribe','put','update','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceRecording.controller','get','index','/describe'];(function(_0x3f970c,_0x1b927b){var _0x24300c=function(_0x4dcd72){while(--_0x4dcd72){_0x3f970c['push'](_0x3f970c['shift']());}};_0x24300c(++_0x1b927b);}(_0xaa7c,0x1f4));var _0xcaa7=function(_0x244442,_0x5cab17){_0x244442=_0x244442-0x0;var _0x5bd29e=_0xaa7c[_0x244442];return _0x5bd29e;};'use strict';var multer=require(_0xcaa7('0x0'));var util=require(_0xcaa7('0x1'));var path=require(_0xcaa7('0x2'));var timeout=require('connect-timeout');var express=require(_0xcaa7('0x3'));var router=express[_0xcaa7('0x4')]();var fs_extra=require(_0xcaa7('0x5'));var auth=require(_0xcaa7('0x6'));var interaction=require(_0xcaa7('0x7'));var config=require(_0xcaa7('0x8'));var controller=require(_0xcaa7('0x9'));router[_0xcaa7('0xa')]('/',auth['isAuthenticated'](),controller[_0xcaa7('0xb')]);router[_0xcaa7('0xa')](_0xcaa7('0xc'),auth[_0xcaa7('0xd')](),controller[_0xcaa7('0xe')]);router[_0xcaa7('0xa')](_0xcaa7('0xf'),auth[_0xcaa7('0xd')](),controller[_0xcaa7('0x10')]);router[_0xcaa7('0xa')]('/:id/download',auth[_0xcaa7('0xd')](),controller[_0xcaa7('0x11')]);router[_0xcaa7('0xa')](_0xcaa7('0x12'),controller[_0xcaa7('0x13')]);router[_0xcaa7('0xa')](_0xcaa7('0x14'),auth['isAuthenticated'](),controller[_0xcaa7('0x15')]);router[_0xcaa7('0x16')]('/',auth[_0xcaa7('0xd')](),controller[_0xcaa7('0x17')]);router[_0xcaa7('0x16')]('/:id/transcribe',auth[_0xcaa7('0xd')](),controller[_0xcaa7('0x18')]);router[_0xcaa7('0x19')](_0xcaa7('0xf'),auth[_0xcaa7('0xd')](),controller[_0xcaa7('0x1a')]);router['delete'](_0xcaa7('0xf'),auth[_0xcaa7('0xd')](),controller['destroy']);module['exports']=router;