Built motion from commit d5e4af8c.|2.6.23
[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 _0xbf89=['exports','multer','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmHopperHistory.controller','isAuthenticated','get','/describe','describe','/:id','show','put','update'];(function(_0x44d52b,_0x450552){var _0xc022f1=function(_0x246fd9){while(--_0x246fd9){_0x44d52b['push'](_0x44d52b['shift']());}};_0xc022f1(++_0x450552);}(_0xbf89,0xa3));var _0x9bf8=function(_0xd5709b,_0x101823){_0xd5709b=_0xd5709b-0x0;var _0x3dc484=_0xbf89[_0xd5709b];return _0x3dc484;};'use strict';var multer=require(_0x9bf8('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x9bf8('0x1'));var express=require(_0x9bf8('0x2'));var router=express[_0x9bf8('0x3')]();var fs_extra=require(_0x9bf8('0x4'));var auth=require(_0x9bf8('0x5'));var interaction=require(_0x9bf8('0x6'));var config=require(_0x9bf8('0x7'));var controller=require(_0x9bf8('0x8'));router['get']('/',auth[_0x9bf8('0x9')](),controller['index']);router[_0x9bf8('0xa')](_0x9bf8('0xb'),auth[_0x9bf8('0x9')](),controller[_0x9bf8('0xc')]);router[_0x9bf8('0xa')](_0x9bf8('0xd'),auth[_0x9bf8('0x9')](),controller[_0x9bf8('0xe')]);router['post']('/',auth['isAuthenticated'](),controller['create']);router[_0x9bf8('0xf')](_0x9bf8('0xd'),auth[_0x9bf8('0x9')](),controller[_0x9bf8('0x10')]);module[_0x9bf8('0x11')]=router;