c5b1177ed78958398afc7efaa90fdba0eb521f3c
[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 _0xdb25=['put','update','exports','multer','util','path','connect-timeout','Router','fs-extra','../../components/interaction/service','./cmHopperHistory.controller','get','isAuthenticated','/describe','describe','/:id','post','create'];(function(_0x2d4661,_0x2da65c){var _0x42ed1e=function(_0x263c50){while(--_0x263c50){_0x2d4661['push'](_0x2d4661['shift']());}};_0x42ed1e(++_0x2da65c);}(_0xdb25,0xdb));var _0x5db2=function(_0xaa5ed6,_0x3c39cb){_0xaa5ed6=_0xaa5ed6-0x0;var _0x29847d=_0xdb25[_0xaa5ed6];return _0x29847d;};'use strict';var multer=require(_0x5db2('0x0'));var util=require(_0x5db2('0x1'));var path=require(_0x5db2('0x2'));var timeout=require(_0x5db2('0x3'));var express=require('express');var router=express[_0x5db2('0x4')]();var fs_extra=require(_0x5db2('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x5db2('0x6'));var config=require('../../config/environment');var controller=require(_0x5db2('0x7'));router[_0x5db2('0x8')]('/',auth[_0x5db2('0x9')](),controller['index']);router[_0x5db2('0x8')](_0x5db2('0xa'),auth[_0x5db2('0x9')](),controller[_0x5db2('0xb')]);router[_0x5db2('0x8')](_0x5db2('0xc'),auth['isAuthenticated'](),controller['show']);router[_0x5db2('0xd')]('/',auth[_0x5db2('0x9')](),controller[_0x5db2('0xe')]);router[_0x5db2('0xf')](_0x5db2('0xc'),auth[_0x5db2('0x9')](),controller[_0x5db2('0x10')]);module[_0x5db2('0x11')]=router;