Built motion from commit (unavailable).|2.5.19
[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 _0xa816=['util','path','express','Router','../../components/auth/service','../../components/interaction/service','./cmHopperHistory.controller','get','index','/describe','isAuthenticated','describe','show','post','put','/:id','exports','multer'];(function(_0x3d792b,_0x5516af){var _0x3fc1c9=function(_0x7a05a0){while(--_0x7a05a0){_0x3d792b['push'](_0x3d792b['shift']());}};_0x3fc1c9(++_0x5516af);}(_0xa816,0xd7));var _0x6a81=function(_0x3f55de,_0x3ae98f){_0x3f55de=_0x3f55de-0x0;var _0x2698de=_0xa816[_0x3f55de];return _0x2698de;};'use strict';var multer=require(_0x6a81('0x0'));var util=require(_0x6a81('0x1'));var path=require(_0x6a81('0x2'));var timeout=require('connect-timeout');var express=require(_0x6a81('0x3'));var router=express[_0x6a81('0x4')]();var auth=require(_0x6a81('0x5'));var interaction=require(_0x6a81('0x6'));var config=require('../../config/environment');var controller=require(_0x6a81('0x7'));router[_0x6a81('0x8')]('/',auth['isAuthenticated'](),controller[_0x6a81('0x9')]);router[_0x6a81('0x8')](_0x6a81('0xa'),auth[_0x6a81('0xb')](),controller[_0x6a81('0xc')]);router['get']('/:id',auth['isAuthenticated'](),controller[_0x6a81('0xd')]);router[_0x6a81('0xe')]('/',auth['isAuthenticated'](),controller['create']);router[_0x6a81('0xf')](_0x6a81('0x10'),auth['isAuthenticated'](),controller['update']);module[_0x6a81('0x11')]=router;