Built motion from commit (unavailable).|2.5.14
[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 _0x881e=['Router','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','/:id','post','create','put','update','delete','destroy','util','path','connect-timeout','express'];(function(_0xd4636c,_0x34dbf6){var _0x5ee17d=function(_0x223c38){while(--_0x223c38){_0xd4636c['push'](_0xd4636c['shift']());}};_0x5ee17d(++_0x34dbf6);}(_0x881e,0x11c));var _0xe881=function(_0x593c2e,_0x564b10){_0x593c2e=_0x593c2e-0x0;var _0x3d624f=_0x881e[_0x593c2e];return _0x3d624f;};'use strict';var multer=require('multer');var util=require(_0xe881('0x0'));var path=require(_0xe881('0x1'));var timeout=require(_0xe881('0x2'));var express=require(_0xe881('0x3'));var router=express[_0xe881('0x4')]();var auth=require(_0xe881('0x5'));var interaction=require(_0xe881('0x6'));var config=require('../../config/environment');var controller=require('./voiceContext.controller');router[_0xe881('0x7')]('/',auth[_0xe881('0x8')](),controller['index']);router[_0xe881('0x7')](_0xe881('0x9'),auth[_0xe881('0x8')](),controller['show']);router[_0xe881('0xa')]('/',auth[_0xe881('0x8')](),controller[_0xe881('0xb')]);router[_0xe881('0xc')](_0xe881('0x9'),auth[_0xe881('0x8')](),controller[_0xe881('0xd')]);router[_0xe881('0xe')](_0xe881('0x9'),auth[_0xe881('0x8')](),controller[_0xe881('0xf')]);module['exports']=router;