Built motion from commit a61a4a20.|2.5.46
[motion2.git] / server / api / cmHopperHistory / 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 _0x363d=['exports','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../config/environment','get','index','describe','isAuthenticated','post','create','put','/:id','update'];(function(_0x2e70b5,_0x37b8bd){var _0x1a438f=function(_0x1117b5){while(--_0x1117b5){_0x2e70b5['push'](_0x2e70b5['shift']());}};_0x1a438f(++_0x37b8bd);}(_0x363d,0xd9));var _0xd363=function(_0x12d6c2,_0x409bc8){_0x12d6c2=_0x12d6c2-0x0;var _0x1c9825=_0x363d[_0x12d6c2];return _0x1c9825;};'use strict';var multer=require(_0xd363('0x0'));var util=require(_0xd363('0x1'));var path=require(_0xd363('0x2'));var timeout=require(_0xd363('0x3'));var express=require(_0xd363('0x4'));var router=express['Router']();var fs_extra=require(_0xd363('0x5'));var auth=require(_0xd363('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xd363('0x7'));var controller=require('./cmHopperHistory.controller');router[_0xd363('0x8')]('/',auth['isAuthenticated'](),controller[_0xd363('0x9')]);router[_0xd363('0x8')]('/describe',auth['isAuthenticated'](),controller[_0xd363('0xa')]);router['get']('/:id',auth[_0xd363('0xb')](),controller['show']);router[_0xd363('0xc')]('/',auth['isAuthenticated'](),controller[_0xd363('0xd')]);router[_0xd363('0xe')](_0xd363('0xf'),auth[_0xd363('0xb')](),controller[_0xd363('0x10')]);module[_0xd363('0x11')]=router;