Built motion from commit (unavailable).|2.5.12
[motion2.git] / server / api / pm2 / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xd963=['express','Router','../../components/auth/service','./pm2.controller','get','isAuthenticated','/:id','show','post','put','update','delete','destroy','exports'];(function(_0x33baff,_0x467090){var _0x52916c=function(_0x2d8a0e){while(--_0x2d8a0e){_0x33baff['push'](_0x33baff['shift']());}};_0x52916c(++_0x467090);}(_0xd963,0x1a4));var _0x3d96=function(_0x455eed,_0x822290){_0x455eed=_0x455eed-0x0;var _0x31cb46=_0xd963[_0x455eed];return _0x31cb46;};'use strict';var express=require(_0x3d96('0x0'));var router=express[_0x3d96('0x1')]();var auth=require(_0x3d96('0x2'));var controller=require(_0x3d96('0x3'));router[_0x3d96('0x4')]('/',auth[_0x3d96('0x5')](),controller['index']);router[_0x3d96('0x4')](_0x3d96('0x6'),auth[_0x3d96('0x5')](),controller[_0x3d96('0x7')]);router[_0x3d96('0x8')]('/',auth[_0x3d96('0x5')](),controller['create']);router[_0x3d96('0x9')](_0x3d96('0x6'),auth[_0x3d96('0x5')](),controller[_0x3d96('0xa')]);router[_0x3d96('0xb')](_0x3d96('0x6'),auth[_0x3d96('0x5')](),controller[_0x3d96('0xc')]);module[_0x3d96('0xd')]=router;