Built motion from commit (unavailable).|2.5.13
[motion2.git] / server / api / voiceMail / 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 _0xafa0=['../../components/interaction/service','./voiceMail.controller','get','index','/:id','isAuthenticated','/:id/messages','getMessages','post','create','delete','destroy','exports','multer','util','connect-timeout','express','Router'];(function(_0x1e26c3,_0x3be03a){var _0x11669f=function(_0x3d6f66){while(--_0x3d6f66){_0x1e26c3['push'](_0x1e26c3['shift']());}};_0x11669f(++_0x3be03a);}(_0xafa0,0x1ab));var _0x0afa=function(_0x14f09a,_0x97a2d7){_0x14f09a=_0x14f09a-0x0;var _0x306b7d=_0xafa0[_0x14f09a];return _0x306b7d;};'use strict';var multer=require(_0x0afa('0x0'));var util=require(_0x0afa('0x1'));var path=require('path');var timeout=require(_0x0afa('0x2'));var express=require(_0x0afa('0x3'));var router=express[_0x0afa('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x0afa('0x5'));var config=require('../../config/environment');var controller=require(_0x0afa('0x6'));router[_0x0afa('0x7')]('/',auth['isAuthenticated'](),controller[_0x0afa('0x8')]);router[_0x0afa('0x7')](_0x0afa('0x9'),auth[_0x0afa('0xa')](),controller['show']);router[_0x0afa('0x7')](_0x0afa('0xb'),auth[_0x0afa('0xa')](),controller[_0x0afa('0xc')]);router[_0x0afa('0xd')]('/',auth[_0x0afa('0xa')](),controller[_0x0afa('0xe')]);router['put'](_0x0afa('0x9'),auth[_0x0afa('0xa')](),controller['update']);router[_0x0afa('0xf')](_0x0afa('0x9'),auth['isAuthenticated'](),controller[_0x0afa('0x10')]);module[_0x0afa('0x11')]=router;