Built motion from commit 753c950e.|2.5.42
[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 _0xc37b=['update','delete','destroy','exports','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceMailMessage.controller','get','isAuthenticated','index','/:id','show','download','post','create'];(function(_0x4126e6,_0x5185d3){var _0x4a7152=function(_0x2357ff){while(--_0x2357ff){_0x4126e6['push'](_0x4126e6['shift']());}};_0x4a7152(++_0x5185d3);}(_0xc37b,0x12a));var _0xbc37=function(_0x54ac7a,_0x313ae3){_0x54ac7a=_0x54ac7a-0x0;var _0x5a438e=_0xc37b[_0x54ac7a];return _0x5a438e;};'use strict';var multer=require('multer');var util=require(_0xbc37('0x0'));var path=require('path');var timeout=require(_0xbc37('0x1'));var express=require(_0xbc37('0x2'));var router=express[_0xbc37('0x3')]();var fs_extra=require(_0xbc37('0x4'));var auth=require(_0xbc37('0x5'));var interaction=require(_0xbc37('0x6'));var config=require(_0xbc37('0x7'));var controller=require(_0xbc37('0x8'));router[_0xbc37('0x9')]('/',auth[_0xbc37('0xa')](),controller[_0xbc37('0xb')]);router[_0xbc37('0x9')](_0xbc37('0xc'),auth[_0xbc37('0xa')](),controller[_0xbc37('0xd')]);router[_0xbc37('0x9')]('/:id/download',auth[_0xbc37('0xa')](),controller[_0xbc37('0xe')]);router[_0xbc37('0xf')]('/',auth['isAuthenticated'](),controller[_0xbc37('0x10')]);router['put'](_0xbc37('0xc'),auth[_0xbc37('0xa')](),controller[_0xbc37('0x11')]);router[_0xbc37('0x12')](_0xbc37('0xc'),auth[_0xbc37('0xa')](),controller[_0xbc37('0x13')]);module[_0xbc37('0x14')]=router;