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 _0xa55d=['isAuthenticated','/:id','show','post','exports','express','../../components/auth/service','get'];(function(_0x2f9312,_0x2f5416){var _0x54e5e5=function(_0x37ba7e){while(--_0x37ba7e){_0x2f9312['push'](_0x2f9312['shift']());}};_0x54e5e5(++_0x2f5416);}(_0xa55d,0xc5));var _0xda55=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xa55d[_0x14add3];return _0x4a174f;};'use strict';var express=require(_0xda55('0x0'));var router=express['Router']();var auth=require(_0xda55('0x1'));var controller=require('./pm2.controller');router[_0xda55('0x2')]('/',auth[_0xda55('0x3')](),controller['index']);router[_0xda55('0x2')](_0xda55('0x4'),auth[_0xda55('0x3')](),controller[_0xda55('0x5')]);router[_0xda55('0x6')]('/',auth[_0xda55('0x3')](),controller['create']);router['put'](_0xda55('0x4'),auth[_0xda55('0x3')](),controller['update']);router['delete'](_0xda55('0x4'),auth[_0xda55('0x3')](),controller['destroy']);module[_0xda55('0x7')]=router;