2b28b3d44b565c5976d1eb04184241e726a11f42
[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 _0xd33c=['describe','post','create','put','/:id','update','exports','multer','util','connect-timeout','express','../../components/auth/service','../../config/environment','./cmHopperHistory.controller','get','isAuthenticated','index','/describe'];(function(_0x580f48,_0x2e34c1){var _0x16133f=function(_0x1f1959){while(--_0x1f1959){_0x580f48['push'](_0x580f48['shift']());}};_0x16133f(++_0x2e34c1);}(_0xd33c,0x115));var _0xcd33=function(_0x24237f,_0x4cf32c){_0x24237f=_0x24237f-0x0;var _0x48298e=_0xd33c[_0x24237f];return _0x48298e;};'use strict';var multer=require(_0xcd33('0x0'));var util=require(_0xcd33('0x1'));var path=require('path');var timeout=require(_0xcd33('0x2'));var express=require(_0xcd33('0x3'));var router=express['Router']();var auth=require(_0xcd33('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xcd33('0x5'));var controller=require(_0xcd33('0x6'));router[_0xcd33('0x7')]('/',auth[_0xcd33('0x8')](),controller[_0xcd33('0x9')]);router['get'](_0xcd33('0xa'),auth['isAuthenticated'](),controller[_0xcd33('0xb')]);router['get']('/:id',auth['isAuthenticated'](),controller['show']);router[_0xcd33('0xc')]('/',auth[_0xcd33('0x8')](),controller[_0xcd33('0xd')]);router[_0xcd33('0xe')](_0xcd33('0xf'),auth[_0xcd33('0x8')](),controller[_0xcd33('0x10')]);module[_0xcd33('0x11')]=router;