Built motion from commit d1eab355.|2.6.28
[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 _0x903b=['connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./voiceMailMessage.controller','get','isAuthenticated','index','/:id/download','download','post','put','/:id','update','delete','destroy','exports','multer'];(function(_0x562f0a,_0x1593f5){var _0x1b2cba=function(_0x452780){while(--_0x452780){_0x562f0a['push'](_0x562f0a['shift']());}};_0x1b2cba(++_0x1593f5);}(_0x903b,0x167));var _0xb903=function(_0x392483,_0x1c1273){_0x392483=_0x392483-0x0;var _0x41b4b4=_0x903b[_0x392483];return _0x41b4b4;};'use strict';var multer=require(_0xb903('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xb903('0x1'));var express=require(_0xb903('0x2'));var router=express[_0xb903('0x3')]();var fs_extra=require(_0xb903('0x4'));var auth=require(_0xb903('0x5'));var interaction=require(_0xb903('0x6'));var config=require('../../config/environment');var controller=require(_0xb903('0x7'));router[_0xb903('0x8')]('/',auth[_0xb903('0x9')](),controller[_0xb903('0xa')]);router['get']('/:id',auth[_0xb903('0x9')](),controller['show']);router[_0xb903('0x8')](_0xb903('0xb'),auth[_0xb903('0x9')](),controller[_0xb903('0xc')]);router[_0xb903('0xd')]('/',auth[_0xb903('0x9')](),controller['create']);router[_0xb903('0xe')](_0xb903('0xf'),auth[_0xb903('0x9')](),controller[_0xb903('0x10')]);router[_0xb903('0x11')](_0xb903('0xf'),auth[_0xb903('0x9')](),controller[_0xb903('0x12')]);module[_0xb903('0x13')]=router;