1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x8002=['path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceContext.controller','isAuthenticated','get','/:id','show','post','create','put','delete','destroy','multer','util'];(function(_0x4ac515,_0x4e1320){var _0x4734dc=function(_0x3d005a){while(--_0x3d005a){_0x4ac515['push'](_0x4ac515['shift']());}};_0x4734dc(++_0x4e1320);}(_0x8002,0x167));var _0x2800=function(_0x13c189,_0xf17e99){_0x13c189=_0x13c189-0x0;var _0x5eda25=_0x8002[_0x13c189];return _0x5eda25;};'use strict';var multer=require(_0x2800('0x0'));var util=require(_0x2800('0x1'));var path=require(_0x2800('0x2'));var timeout=require(_0x2800('0x3'));var express=require(_0x2800('0x4'));var router=express[_0x2800('0x5')]();var auth=require(_0x2800('0x6'));var interaction=require(_0x2800('0x7'));var config=require(_0x2800('0x8'));var controller=require(_0x2800('0x9'));router['get']('/',auth[_0x2800('0xa')](),controller['index']);router[_0x2800('0xb')](_0x2800('0xc'),auth[_0x2800('0xa')](),controller[_0x2800('0xd')]);router[_0x2800('0xe')]('/',auth[_0x2800('0xa')](),controller[_0x2800('0xf')]);router[_0x2800('0x10')](_0x2800('0xc'),auth[_0x2800('0xa')](),controller['update']);router[_0x2800('0x11')](_0x2800('0xc'),auth[_0x2800('0xa')](),controller[_0x2800('0x12')]);module['exports']=router;