Built motion from commit (unavailable).|2.3.93
[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 _0xed58=['post','create','put','delete','exports','multer','util','path','Router','../../components/interaction/service','./voiceMailMessage.controller','isAuthenticated','get','/:id','/:id/download','download'];(function(_0x354b70,_0x2ee366){var _0x56a7e8=function(_0x2f6cb3){while(--_0x2f6cb3){_0x354b70['push'](_0x354b70['shift']());}};_0x56a7e8(++_0x2ee366);}(_0xed58,0x125));var _0x8ed5=function(_0xbca1b1,_0x33f0ce){_0xbca1b1=_0xbca1b1-0x0;var _0x4e1686=_0xed58[_0xbca1b1];return _0x4e1686;};'use strict';var multer=require(_0x8ed5('0x0'));var util=require(_0x8ed5('0x1'));var path=require(_0x8ed5('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x8ed5('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x8ed5('0x4'));var config=require('../../config/environment');var controller=require(_0x8ed5('0x5'));router['get']('/',auth[_0x8ed5('0x6')](),controller['index']);router[_0x8ed5('0x7')](_0x8ed5('0x8'),auth[_0x8ed5('0x6')](),controller['show']);router[_0x8ed5('0x7')](_0x8ed5('0x9'),auth[_0x8ed5('0x6')](),controller[_0x8ed5('0xa')]);router[_0x8ed5('0xb')]('/',auth[_0x8ed5('0x6')](),controller[_0x8ed5('0xc')]);router[_0x8ed5('0xd')](_0x8ed5('0x8'),auth[_0x8ed5('0x6')](),controller['update']);router[_0x8ed5('0xe')](_0x8ed5('0x8'),auth[_0x8ed5('0x6')](),controller['destroy']);module[_0x8ed5('0xf')]=router;