ef001f23bb25f2f36c0489e57c685937dfaca601
[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 _0x7bde=['isAuthenticated','index','/:id','show','/:id/download','download','post','create','destroy','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceMailMessage.controller','get'];(function(_0x315bd5,_0x2419be){var _0x2a2207=function(_0x408742){while(--_0x408742){_0x315bd5['push'](_0x315bd5['shift']());}};_0x2a2207(++_0x2419be);}(_0x7bde,0x82));var _0xe7bd=function(_0x3b5250,_0x7a0b2c){_0x3b5250=_0x3b5250-0x0;var _0xc844a1=_0x7bde[_0x3b5250];return _0xc844a1;};'use strict';var multer=require(_0xe7bd('0x0'));var util=require(_0xe7bd('0x1'));var path=require('path');var timeout=require(_0xe7bd('0x2'));var express=require(_0xe7bd('0x3'));var router=express[_0xe7bd('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xe7bd('0x5'));var interaction=require(_0xe7bd('0x6'));var config=require(_0xe7bd('0x7'));var controller=require(_0xe7bd('0x8'));router[_0xe7bd('0x9')]('/',auth[_0xe7bd('0xa')](),controller[_0xe7bd('0xb')]);router[_0xe7bd('0x9')](_0xe7bd('0xc'),auth[_0xe7bd('0xa')](),controller[_0xe7bd('0xd')]);router[_0xe7bd('0x9')](_0xe7bd('0xe'),auth[_0xe7bd('0xa')](),controller[_0xe7bd('0xf')]);router[_0xe7bd('0x10')]('/',auth['isAuthenticated'](),controller[_0xe7bd('0x11')]);router['put'](_0xe7bd('0xc'),auth[_0xe7bd('0xa')](),controller['update']);router['delete'](_0xe7bd('0xc'),auth[_0xe7bd('0xa')](),controller[_0xe7bd('0x12')]);module[_0xe7bd('0x13')]=router;