78ef32e669865ad24af311ced81c0b5a659b6e04
[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 _0x5ccc=['post','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceMailMessage.controller','isAuthenticated','index','/:id','get','/:id/download','download'];(function(_0x2a8cb7,_0x314d29){var _0x183a1f=function(_0x7f65bc){while(--_0x7f65bc){_0x2a8cb7['push'](_0x2a8cb7['shift']());}};_0x183a1f(++_0x314d29);}(_0x5ccc,0x7f));var _0xc5cc=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x5ccc[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0xc5cc('0x0'));var util=require(_0xc5cc('0x1'));var path=require(_0xc5cc('0x2'));var timeout=require(_0xc5cc('0x3'));var express=require(_0xc5cc('0x4'));var router=express[_0xc5cc('0x5')]();var fs_extra=require(_0xc5cc('0x6'));var auth=require(_0xc5cc('0x7'));var interaction=require(_0xc5cc('0x8'));var config=require(_0xc5cc('0x9'));var controller=require(_0xc5cc('0xa'));router['get']('/',auth[_0xc5cc('0xb')](),controller[_0xc5cc('0xc')]);router['get'](_0xc5cc('0xd'),auth[_0xc5cc('0xb')](),controller['show']);router[_0xc5cc('0xe')](_0xc5cc('0xf'),auth[_0xc5cc('0xb')](),controller[_0xc5cc('0x10')]);router[_0xc5cc('0x11')]('/',auth[_0xc5cc('0xb')](),controller[_0xc5cc('0x12')]);router[_0xc5cc('0x13')](_0xc5cc('0xd'),auth[_0xc5cc('0xb')](),controller[_0xc5cc('0x14')]);router[_0xc5cc('0x15')]('/:id',auth[_0xc5cc('0xb')](),controller[_0xc5cc('0x16')]);module[_0xc5cc('0x17')]=router;