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 _0xb084=['isAuthenticated','index','/:id','show','create','put','update','delete','destroy','exports','express','./pm2.controller','get'];(function(_0x432682,_0x253044){var _0x463d05=function(_0xa73403){while(--_0xa73403){_0x432682['push'](_0x432682['shift']());}};_0x463d05(++_0x253044);}(_0xb084,0x169));var _0x4b08=function(_0x95095e,_0x1151a6){_0x95095e=_0x95095e-0x0;var _0x3ea7f7=_0xb084[_0x95095e];return _0x3ea7f7;};'use strict';var express=require(_0x4b08('0x0'));var router=express['Router']();var auth=require('../../components/auth/service');var controller=require(_0x4b08('0x1'));router[_0x4b08('0x2')]('/',auth[_0x4b08('0x3')](),controller[_0x4b08('0x4')]);router[_0x4b08('0x2')](_0x4b08('0x5'),auth['isAuthenticated'](),controller[_0x4b08('0x6')]);router['post']('/',auth[_0x4b08('0x3')](),controller[_0x4b08('0x7')]);router[_0x4b08('0x8')](_0x4b08('0x5'),auth[_0x4b08('0x3')](),controller[_0x4b08('0x9')]);router[_0x4b08('0xa')](_0x4b08('0x5'),auth[_0x4b08('0x3')](),controller[_0x4b08('0xb')]);module[_0x4b08('0xc')]=router;