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 _0xb662=['delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./network.controller','get','isAuthenticated','index','post','create','put','/:id','update'];(function(_0x2c2980,_0x34282a){var _0x2a20a9=function(_0x537b18){while(--_0x537b18){_0x2c2980['push'](_0x2c2980['shift']());}};_0x2a20a9(++_0x34282a);}(_0xb662,0x13e));var _0x2b66=function(_0x45b034,_0x3a57dd){_0x45b034=_0x45b034-0x0;var _0x509cb0=_0xb662[_0x45b034];return _0x509cb0;};'use strict';var multer=require(_0x2b66('0x0'));var util=require(_0x2b66('0x1'));var path=require(_0x2b66('0x2'));var timeout=require(_0x2b66('0x3'));var express=require(_0x2b66('0x4'));var router=express[_0x2b66('0x5')]();var auth=require(_0x2b66('0x6'));var interaction=require(_0x2b66('0x7'));var config=require(_0x2b66('0x8'));var controller=require(_0x2b66('0x9'));router[_0x2b66('0xa')]('/',auth[_0x2b66('0xb')](),controller[_0x2b66('0xc')]);router[_0x2b66('0xa')]('/:id',auth['isAuthenticated'](),controller['show']);router[_0x2b66('0xd')]('/',auth['isAuthenticated'](),controller[_0x2b66('0xe')]);router[_0x2b66('0xf')](_0x2b66('0x10'),auth[_0x2b66('0xb')](),controller[_0x2b66('0x11')]);router[_0x2b66('0x12')](_0x2b66('0x10'),auth[_0x2b66('0xb')](),controller[_0x2b66('0x13')]);module[_0x2b66('0x14')]=router;