Built motion from commit (unavailable).|2.5.31
[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 _0x3061=['get','isAuthenticated','index','/describe','describe','/:id','show','/:id/download','download','/:id/downloads','/:id/transcribe','downloadTranscribe','create','post','runTranscribe','delete','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./voiceRecording.controller'];(function(_0x5e6d2f,_0x5046e3){var _0x2fd379=function(_0x18ed7b){while(--_0x18ed7b){_0x5e6d2f['push'](_0x5e6d2f['shift']());}};_0x2fd379(++_0x5046e3);}(_0x3061,0x163));var _0x1306=function(_0x413feb,_0x10477f){_0x413feb=_0x413feb-0x0;var _0x40ee88=_0x3061[_0x413feb];return _0x40ee88;};'use strict';var multer=require(_0x1306('0x0'));var util=require(_0x1306('0x1'));var path=require(_0x1306('0x2'));var timeout=require(_0x1306('0x3'));var express=require(_0x1306('0x4'));var router=express[_0x1306('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x1306('0x6'));var interaction=require(_0x1306('0x7'));var config=require('../../config/environment');var controller=require(_0x1306('0x8'));router[_0x1306('0x9')]('/',auth[_0x1306('0xa')](),controller[_0x1306('0xb')]);router[_0x1306('0x9')](_0x1306('0xc'),auth['isAuthenticated'](),controller[_0x1306('0xd')]);router[_0x1306('0x9')](_0x1306('0xe'),auth[_0x1306('0xa')](),controller[_0x1306('0xf')]);router[_0x1306('0x9')](_0x1306('0x10'),auth[_0x1306('0xa')](),controller[_0x1306('0x11')]);router[_0x1306('0x9')](_0x1306('0x12'),controller['downloads']);router[_0x1306('0x9')](_0x1306('0x13'),auth[_0x1306('0xa')](),controller[_0x1306('0x14')]);router['post']('/',auth[_0x1306('0xa')](),controller[_0x1306('0x15')]);router[_0x1306('0x16')](_0x1306('0x13'),auth[_0x1306('0xa')](),controller[_0x1306('0x17')]);router['put'](_0x1306('0xe'),auth['isAuthenticated'](),controller['update']);router[_0x1306('0x18')](_0x1306('0xe'),auth['isAuthenticated'](),controller['destroy']);module[_0x1306('0x19')]=router;