Built motion from commit (unavailable).|2.3.4
[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 _0x68cd=['create','put','update','delete','/:id','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceMailMessage.controller','isAuthenticated','show','get','/:id/download','download','post'];(function(_0x330d36,_0x35dd8f){var _0x15204d=function(_0x46ab91){while(--_0x46ab91){_0x330d36['push'](_0x330d36['shift']());}};_0x15204d(++_0x35dd8f);}(_0x68cd,0xa5));var _0xd68c=function(_0x55841f,_0x487812){_0x55841f=_0x55841f-0x0;var _0x4c5ccf=_0x68cd[_0x55841f];return _0x4c5ccf;};'use strict';var multer=require(_0xd68c('0x0'));var util=require(_0xd68c('0x1'));var path=require(_0xd68c('0x2'));var timeout=require(_0xd68c('0x3'));var express=require(_0xd68c('0x4'));var router=express['Router']();var auth=require(_0xd68c('0x5'));var interaction=require(_0xd68c('0x6'));var config=require(_0xd68c('0x7'));var controller=require(_0xd68c('0x8'));router['get']('/',auth[_0xd68c('0x9')](),controller['index']);router['get']('/:id',auth[_0xd68c('0x9')](),controller[_0xd68c('0xa')]);router[_0xd68c('0xb')](_0xd68c('0xc'),auth['isAuthenticated'](),controller[_0xd68c('0xd')]);router[_0xd68c('0xe')]('/',auth[_0xd68c('0x9')](),controller[_0xd68c('0xf')]);router[_0xd68c('0x10')]('/:id',auth[_0xd68c('0x9')](),controller[_0xd68c('0x11')]);router[_0xd68c('0x12')](_0xd68c('0x13'),auth['isAuthenticated'](),controller['destroy']);module['exports']=router;