f03343b66c0a7a692f393d8927bea1d79f6df7fc
[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 _0xfaf3=['describe','show','post','create','put','/:id','update','exports','connect-timeout','Router','../../components/auth/service','../../config/environment','./cmHopperHistory.controller','get','/describe','isAuthenticated'];(function(_0x3e2c63,_0x2406f7){var _0xafa5bd=function(_0x155245){while(--_0x155245){_0x3e2c63['push'](_0x3e2c63['shift']());}};_0xafa5bd(++_0x2406f7);}(_0xfaf3,0x118));var _0x3faf=function(_0x918d9b,_0x1678f2){_0x918d9b=_0x918d9b-0x0;var _0x5431c1=_0xfaf3[_0x918d9b];return _0x5431c1;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0x3faf('0x0'));var express=require('express');var router=express[_0x3faf('0x1')]();var auth=require(_0x3faf('0x2'));var interaction=require('../../components/interaction/service');var config=require(_0x3faf('0x3'));var controller=require(_0x3faf('0x4'));router[_0x3faf('0x5')]('/',auth['isAuthenticated'](),controller['index']);router[_0x3faf('0x5')](_0x3faf('0x6'),auth[_0x3faf('0x7')](),controller[_0x3faf('0x8')]);router[_0x3faf('0x5')]('/:id',auth['isAuthenticated'](),controller[_0x3faf('0x9')]);router[_0x3faf('0xa')]('/',auth[_0x3faf('0x7')](),controller[_0x3faf('0xb')]);router[_0x3faf('0xc')](_0x3faf('0xd'),auth[_0x3faf('0x7')](),controller[_0x3faf('0xe')]);module[_0x3faf('0xf')]=router;