44a86051c7f0702ee3c9754350290856160d86a6
[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 _0x74f7=['update','exports','path','connect-timeout','express','../../config/environment','./cmHopperHistory.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','put'];(function(_0x330776,_0xe40a48){var _0x1b4a07=function(_0x593689){while(--_0x593689){_0x330776['push'](_0x330776['shift']());}};_0x1b4a07(++_0xe40a48);}(_0x74f7,0xbd));var _0x774f=function(_0x12bc06,_0x2a11e2){_0x12bc06=_0x12bc06-0x0;var _0x2de4e9=_0x74f7[_0x12bc06];return _0x2de4e9;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x774f('0x0'));var timeout=require(_0x774f('0x1'));var express=require(_0x774f('0x2'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x774f('0x3'));var controller=require(_0x774f('0x4'));router[_0x774f('0x5')]('/',auth[_0x774f('0x6')](),controller[_0x774f('0x7')]);router[_0x774f('0x5')](_0x774f('0x8'),auth['isAuthenticated'](),controller[_0x774f('0x9')]);router[_0x774f('0x5')](_0x774f('0xa'),auth[_0x774f('0x6')](),controller[_0x774f('0xb')]);router[_0x774f('0xc')]('/',auth[_0x774f('0x6')](),controller[_0x774f('0xd')]);router[_0x774f('0xe')](_0x774f('0xa'),auth[_0x774f('0x6')](),controller[_0x774f('0xf')]);module[_0x774f('0x10')]=router;