4a723ae4eba8279c3fa276e6431fc1ebf8e7bd92
[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 _0x5e1e=['./cmHopperHistory.controller','get','isAuthenticated','index','/describe','/:id','show','post','create','put','update','exports','multer','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x254076,_0x5e7b8d){var _0x21a93e=function(_0x26aa78){while(--_0x26aa78){_0x254076['push'](_0x254076['shift']());}};_0x21a93e(++_0x5e7b8d);}(_0x5e1e,0xe4));var _0xe5e1=function(_0x1a36a5,_0x746928){_0x1a36a5=_0x1a36a5-0x0;var _0x746243=_0x5e1e[_0x1a36a5];return _0x746243;};'use strict';var multer=require(_0xe5e1('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xe5e1('0x1'));var express=require('express');var router=express[_0xe5e1('0x2')]();var auth=require(_0xe5e1('0x3'));var interaction=require(_0xe5e1('0x4'));var config=require(_0xe5e1('0x5'));var controller=require(_0xe5e1('0x6'));router[_0xe5e1('0x7')]('/',auth[_0xe5e1('0x8')](),controller[_0xe5e1('0x9')]);router['get'](_0xe5e1('0xa'),auth[_0xe5e1('0x8')](),controller['describe']);router[_0xe5e1('0x7')](_0xe5e1('0xb'),auth[_0xe5e1('0x8')](),controller[_0xe5e1('0xc')]);router[_0xe5e1('0xd')]('/',auth[_0xe5e1('0x8')](),controller[_0xe5e1('0xe')]);router[_0xe5e1('0xf')]('/:id',auth['isAuthenticated'](),controller[_0xe5e1('0x10')]);module[_0xe5e1('0x11')]=router;