Built motion from commit 0900f080.|2.5.45
[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 _0xe391=['get','/describe','isAuthenticated','describe','show','create','put','/:id','update','exports','multer','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmHopperHistory.controller'];(function(_0x22663b,_0xc8c6e3){var _0x310d0a=function(_0x151e66){while(--_0x151e66){_0x22663b['push'](_0x22663b['shift']());}};_0x310d0a(++_0xc8c6e3);}(_0xe391,0x1a8));var _0x1e39=function(_0x2d982d,_0x121028){_0x2d982d=_0x2d982d-0x0;var _0x4f36b0=_0xe391[_0x2d982d];return _0x4f36b0;};'use strict';var multer=require(_0x1e39('0x0'));var util=require('util');var path=require(_0x1e39('0x1'));var timeout=require('connect-timeout');var express=require(_0x1e39('0x2'));var router=express[_0x1e39('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x1e39('0x4'));var interaction=require(_0x1e39('0x5'));var config=require(_0x1e39('0x6'));var controller=require(_0x1e39('0x7'));router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0x1e39('0x8')](_0x1e39('0x9'),auth[_0x1e39('0xa')](),controller[_0x1e39('0xb')]);router[_0x1e39('0x8')]('/:id',auth[_0x1e39('0xa')](),controller[_0x1e39('0xc')]);router['post']('/',auth['isAuthenticated'](),controller[_0x1e39('0xd')]);router[_0x1e39('0xe')](_0x1e39('0xf'),auth[_0x1e39('0xa')](),controller[_0x1e39('0x10')]);module[_0x1e39('0x11')]=router;