42db2a8d893536119b29795248a75883d6b3d9f9
[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 _0xbe08=['connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceMailMessage.controller','get','isAuthenticated','index','/:id','show','/:id/download','download','post','put','delete','destroy','multer','util','path'];(function(_0x32dd14,_0x4248ca){var _0x33e13b=function(_0x247d57){while(--_0x247d57){_0x32dd14['push'](_0x32dd14['shift']());}};_0x33e13b(++_0x4248ca);}(_0xbe08,0x123));var _0x8be0=function(_0x5eba39,_0x30160a){_0x5eba39=_0x5eba39-0x0;var _0x17dad7=_0xbe08[_0x5eba39];return _0x17dad7;};'use strict';var multer=require(_0x8be0('0x0'));var util=require(_0x8be0('0x1'));var path=require(_0x8be0('0x2'));var timeout=require(_0x8be0('0x3'));var express=require('express');var router=express[_0x8be0('0x4')]();var fs_extra=require(_0x8be0('0x5'));var auth=require(_0x8be0('0x6'));var interaction=require(_0x8be0('0x7'));var config=require(_0x8be0('0x8'));var controller=require(_0x8be0('0x9'));router[_0x8be0('0xa')]('/',auth[_0x8be0('0xb')](),controller[_0x8be0('0xc')]);router[_0x8be0('0xa')](_0x8be0('0xd'),auth[_0x8be0('0xb')](),controller[_0x8be0('0xe')]);router[_0x8be0('0xa')](_0x8be0('0xf'),auth[_0x8be0('0xb')](),controller[_0x8be0('0x10')]);router[_0x8be0('0x11')]('/',auth[_0x8be0('0xb')](),controller['create']);router[_0x8be0('0x12')](_0x8be0('0xd'),auth[_0x8be0('0xb')](),controller['update']);router[_0x8be0('0x13')]('/:id',auth[_0x8be0('0xb')](),controller[_0x8be0('0x14')]);module['exports']=router;