Built motion from commit (unavailable).|2.5.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 _0xda16=['connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','/:id','isAuthenticated','show','get','/:id/download','download','post','create','put','update','delete','destroy','multer','util'];(function(_0x5bfbda,_0x2e8cd9){var _0x3fa109=function(_0x5075e2){while(--_0x5075e2){_0x5bfbda['push'](_0x5bfbda['shift']());}};_0x3fa109(++_0x2e8cd9);}(_0xda16,0x1e1));var _0x6da1=function(_0x1c9263,_0x162625){_0x1c9263=_0x1c9263-0x0;var _0x4b7bec=_0xda16[_0x1c9263];return _0x4b7bec;};'use strict';var multer=require(_0x6da1('0x0'));var util=require(_0x6da1('0x1'));var path=require('path');var timeout=require(_0x6da1('0x2'));var express=require(_0x6da1('0x3'));var router=express[_0x6da1('0x4')]();var fs_extra=require(_0x6da1('0x5'));var auth=require(_0x6da1('0x6'));var interaction=require(_0x6da1('0x7'));var config=require(_0x6da1('0x8'));var controller=require('./voiceMailMessage.controller');router['get']('/',auth['isAuthenticated'](),controller['index']);router['get'](_0x6da1('0x9'),auth[_0x6da1('0xa')](),controller[_0x6da1('0xb')]);router[_0x6da1('0xc')](_0x6da1('0xd'),auth[_0x6da1('0xa')](),controller[_0x6da1('0xe')]);router[_0x6da1('0xf')]('/',auth[_0x6da1('0xa')](),controller[_0x6da1('0x10')]);router[_0x6da1('0x11')](_0x6da1('0x9'),auth[_0x6da1('0xa')](),controller[_0x6da1('0x12')]);router[_0x6da1('0x13')](_0x6da1('0x9'),auth[_0x6da1('0xa')](),controller[_0x6da1('0x14')]);module['exports']=router;