Built motion from commit 97153652.|2.6.26
[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 _0x7c6d=['../../components/auth/service','../../components/interaction/service','./voiceMailMessage.controller','get','isAuthenticated','index','/:id','show','download','create','put','update','destroy','exports','path','connect-timeout','express','fs-extra'];(function(_0x3d4a91,_0x276ad1){var _0x55fc7f=function(_0x22f600){while(--_0x22f600){_0x3d4a91['push'](_0x3d4a91['shift']());}};_0x55fc7f(++_0x276ad1);}(_0x7c6d,0xf8));var _0xd7c6=function(_0x4baae2,_0x487ab6){_0x4baae2=_0x4baae2-0x0;var _0x1a2285=_0x7c6d[_0x4baae2];return _0x1a2285;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xd7c6('0x0'));var timeout=require(_0xd7c6('0x1'));var express=require(_0xd7c6('0x2'));var router=express['Router']();var fs_extra=require(_0xd7c6('0x3'));var auth=require(_0xd7c6('0x4'));var interaction=require(_0xd7c6('0x5'));var config=require('../../config/environment');var controller=require(_0xd7c6('0x6'));router[_0xd7c6('0x7')]('/',auth[_0xd7c6('0x8')](),controller[_0xd7c6('0x9')]);router[_0xd7c6('0x7')](_0xd7c6('0xa'),auth[_0xd7c6('0x8')](),controller[_0xd7c6('0xb')]);router[_0xd7c6('0x7')]('/:id/download',auth[_0xd7c6('0x8')](),controller[_0xd7c6('0xc')]);router['post']('/',auth[_0xd7c6('0x8')](),controller[_0xd7c6('0xd')]);router[_0xd7c6('0xe')](_0xd7c6('0xa'),auth['isAuthenticated'](),controller[_0xd7c6('0xf')]);router['delete'](_0xd7c6('0xa'),auth[_0xd7c6('0x8')](),controller[_0xd7c6('0x10')]);module[_0xd7c6('0x11')]=router;