58776907359187b03e1fb5bd033e76adc41dc9e8
[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 _0xcbfa=['/describe','describe','/:id','show','post','create','put','update','exports','multer','path','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmHopperHistory.controller','get','isAuthenticated'];(function(_0x1b8a0e,_0x10c37a){var _0x3b750e=function(_0x559eef){while(--_0x559eef){_0x1b8a0e['push'](_0x1b8a0e['shift']());}};_0x3b750e(++_0x10c37a);}(_0xcbfa,0x172));var _0xacbf=function(_0x5f0ea6,_0x4245c7){_0x5f0ea6=_0x5f0ea6-0x0;var _0x324271=_0xcbfa[_0x5f0ea6];return _0x324271;};'use strict';var multer=require(_0xacbf('0x0'));var util=require('util');var path=require(_0xacbf('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xacbf('0x2')]();var fs_extra=require(_0xacbf('0x3'));var auth=require(_0xacbf('0x4'));var interaction=require(_0xacbf('0x5'));var config=require(_0xacbf('0x6'));var controller=require(_0xacbf('0x7'));router[_0xacbf('0x8')]('/',auth[_0xacbf('0x9')](),controller['index']);router[_0xacbf('0x8')](_0xacbf('0xa'),auth[_0xacbf('0x9')](),controller[_0xacbf('0xb')]);router['get'](_0xacbf('0xc'),auth[_0xacbf('0x9')](),controller[_0xacbf('0xd')]);router[_0xacbf('0xe')]('/',auth[_0xacbf('0x9')](),controller[_0xacbf('0xf')]);router[_0xacbf('0x10')](_0xacbf('0xc'),auth[_0xacbf('0x9')](),controller[_0xacbf('0x11')]);module[_0xacbf('0x12')]=router;