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