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 _0x96e8=['isAuthenticated','index','/:id','show','create','put','update','destroy','exports','multer','util','path','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./network.controller','get'];(function(_0x17d133,_0x3aebc5){var _0xf4f7a2=function(_0x30277d){while(--_0x30277d){_0x17d133['push'](_0x17d133['shift']());}};_0xf4f7a2(++_0x3aebc5);}(_0x96e8,0x99));var _0x896e=function(_0x52d6d7,_0xe2f108){_0x52d6d7=_0x52d6d7-0x0;var _0x479d30=_0x96e8[_0x52d6d7];return _0x479d30;};'use strict';var multer=require(_0x896e('0x0'));var util=require(_0x896e('0x1'));var path=require(_0x896e('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x896e('0x3')]();var auth=require(_0x896e('0x4'));var interaction=require(_0x896e('0x5'));var config=require(_0x896e('0x6'));var controller=require(_0x896e('0x7'));router[_0x896e('0x8')]('/',auth[_0x896e('0x9')](),controller[_0x896e('0xa')]);router['get'](_0x896e('0xb'),auth[_0x896e('0x9')](),controller[_0x896e('0xc')]);router['post']('/',auth[_0x896e('0x9')](),controller[_0x896e('0xd')]);router[_0x896e('0xe')](_0x896e('0xb'),auth[_0x896e('0x9')](),controller[_0x896e('0xf')]);router['delete'](_0x896e('0xb'),auth[_0x896e('0x9')](),controller[_0x896e('0x10')]);module[_0x896e('0x11')]=router;