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 _0xae52=['put','update','delete','exports','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceRecording.controller','get','isAuthenticated','index','/describe','/:id','show','/:id/download','download','/:id/downloads','downloads','/:id/transcribe','downloadTranscribe','post','create','runTranscribe'];(function(_0x1d3577,_0x17a32e){var _0x277d9a=function(_0x4b4144){while(--_0x4b4144){_0x1d3577['push'](_0x1d3577['shift']());}};_0x277d9a(++_0x17a32e);}(_0xae52,0x1b4));var _0x2ae5=function(_0x47a349,_0x4699d9){_0x47a349=_0x47a349-0x0;var _0x18ab75=_0xae52[_0x47a349];return _0x18ab75;};'use strict';var multer=require('multer');var util=require(_0x2ae5('0x0'));var path=require('path');var timeout=require(_0x2ae5('0x1'));var express=require(_0x2ae5('0x2'));var router=express[_0x2ae5('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x2ae5('0x4'));var interaction=require(_0x2ae5('0x5'));var config=require(_0x2ae5('0x6'));var controller=require(_0x2ae5('0x7'));router[_0x2ae5('0x8')]('/',auth[_0x2ae5('0x9')](),controller[_0x2ae5('0xa')]);router['get'](_0x2ae5('0xb'),auth[_0x2ae5('0x9')](),controller['describe']);router['get'](_0x2ae5('0xc'),auth[_0x2ae5('0x9')](),controller[_0x2ae5('0xd')]);router[_0x2ae5('0x8')](_0x2ae5('0xe'),auth[_0x2ae5('0x9')](),controller[_0x2ae5('0xf')]);router[_0x2ae5('0x8')](_0x2ae5('0x10'),controller[_0x2ae5('0x11')]);router[_0x2ae5('0x8')](_0x2ae5('0x12'),auth[_0x2ae5('0x9')](),controller[_0x2ae5('0x13')]);router[_0x2ae5('0x14')]('/',auth[_0x2ae5('0x9')](),controller[_0x2ae5('0x15')]);router[_0x2ae5('0x14')](_0x2ae5('0x12'),auth[_0x2ae5('0x9')](),controller[_0x2ae5('0x16')]);router[_0x2ae5('0x17')](_0x2ae5('0xc'),auth[_0x2ae5('0x9')](),controller[_0x2ae5('0x18')]);router[_0x2ae5('0x19')](_0x2ae5('0xc'),auth[_0x2ae5('0x9')](),controller['destroy']);module[_0x2ae5('0x1a')]=router;