Built motion from commit (unavailable).|2.5.19
[motion2.git] / server / api / voiceContext / 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 _0x7d00=['get','index','show','post','create','put','/:id','isAuthenticated','update','delete','destroy','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceContext.controller'];(function(_0x163072,_0x2a2ef7){var _0x37ea2b=function(_0x293a54){while(--_0x293a54){_0x163072['push'](_0x163072['shift']());}};_0x37ea2b(++_0x2a2ef7);}(_0x7d00,0x132));var _0x07d0=function(_0x397838,_0xebcd6){_0x397838=_0x397838-0x0;var _0x19d6d6=_0x7d00[_0x397838];return _0x19d6d6;};'use strict';var multer=require(_0x07d0('0x0'));var util=require(_0x07d0('0x1'));var path=require(_0x07d0('0x2'));var timeout=require(_0x07d0('0x3'));var express=require('express');var router=express[_0x07d0('0x4')]();var auth=require(_0x07d0('0x5'));var interaction=require(_0x07d0('0x6'));var config=require(_0x07d0('0x7'));var controller=require(_0x07d0('0x8'));router[_0x07d0('0x9')]('/',auth['isAuthenticated'](),controller[_0x07d0('0xa')]);router[_0x07d0('0x9')]('/:id',auth['isAuthenticated'](),controller[_0x07d0('0xb')]);router[_0x07d0('0xc')]('/',auth['isAuthenticated'](),controller[_0x07d0('0xd')]);router[_0x07d0('0xe')](_0x07d0('0xf'),auth[_0x07d0('0x10')](),controller[_0x07d0('0x11')]);router[_0x07d0('0x12')](_0x07d0('0xf'),auth[_0x07d0('0x10')](),controller[_0x07d0('0x13')]);module[_0x07d0('0x14')]=router;