Built motion from commit (unavailable).|2.5.21
[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 _0xab1c=['update','delete','destroy','exports','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceContext.controller','get','isAuthenticated','/:id','show','post','create','put'];(function(_0x5ce8b9,_0x5cded8){var _0xe34be0=function(_0xe3d4e5){while(--_0xe3d4e5){_0x5ce8b9['push'](_0x5ce8b9['shift']());}};_0xe34be0(++_0x5cded8);}(_0xab1c,0x16d));var _0xcab1=function(_0x3e08a6,_0x1d44a5){_0x3e08a6=_0x3e08a6-0x0;var _0x571fc3=_0xab1c[_0x3e08a6];return _0x571fc3;};'use strict';var multer=require('multer');var util=require(_0xcab1('0x0'));var path=require(_0xcab1('0x1'));var timeout=require('connect-timeout');var express=require(_0xcab1('0x2'));var router=express[_0xcab1('0x3')]();var auth=require(_0xcab1('0x4'));var interaction=require(_0xcab1('0x5'));var config=require(_0xcab1('0x6'));var controller=require(_0xcab1('0x7'));router[_0xcab1('0x8')]('/',auth[_0xcab1('0x9')](),controller['index']);router[_0xcab1('0x8')](_0xcab1('0xa'),auth[_0xcab1('0x9')](),controller[_0xcab1('0xb')]);router[_0xcab1('0xc')]('/',auth[_0xcab1('0x9')](),controller[_0xcab1('0xd')]);router[_0xcab1('0xe')]('/:id',auth[_0xcab1('0x9')](),controller[_0xcab1('0xf')]);router[_0xcab1('0x10')](_0xcab1('0xa'),auth[_0xcab1('0x9')](),controller[_0xcab1('0x11')]);module[_0xcab1('0x12')]=router;