Built motion from commit (unavailable).|2.5.27
[motion2.git] / server / api / voiceMailMessage / 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 _0xc46f=['destroy','exports','multer','path','Router','fs-extra','../../components/interaction/service','./voiceMailMessage.controller','get','/:id','show','/:id/download','download','post','isAuthenticated','create','put','update'];(function(_0x114b63,_0x416c40){var _0x349d70=function(_0x2dfe93){while(--_0x2dfe93){_0x114b63['push'](_0x114b63['shift']());}};_0x349d70(++_0x416c40);}(_0xc46f,0x158));var _0xfc46=function(_0x3ab51d,_0x2fa01d){_0x3ab51d=_0x3ab51d-0x0;var _0x29a04e=_0xc46f[_0x3ab51d];return _0x29a04e;};'use strict';var multer=require(_0xfc46('0x0'));var util=require('util');var path=require(_0xfc46('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xfc46('0x2')]();var fs_extra=require(_0xfc46('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0xfc46('0x4'));var config=require('../../config/environment');var controller=require(_0xfc46('0x5'));router[_0xfc46('0x6')]('/',auth['isAuthenticated'](),controller['index']);router['get'](_0xfc46('0x7'),auth['isAuthenticated'](),controller[_0xfc46('0x8')]);router['get'](_0xfc46('0x9'),auth['isAuthenticated'](),controller[_0xfc46('0xa')]);router[_0xfc46('0xb')]('/',auth[_0xfc46('0xc')](),controller[_0xfc46('0xd')]);router[_0xfc46('0xe')](_0xfc46('0x7'),auth[_0xfc46('0xc')](),controller[_0xfc46('0xf')]);router['delete'](_0xfc46('0x7'),auth['isAuthenticated'](),controller[_0xfc46('0x10')]);module[_0xfc46('0x11')]=router;