Built motion from commit (unavailable).|2.5.18
[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 _0x12b6=['util','express','../../components/auth/service','../../components/interaction/service','./cmHopperHistory.controller','get','index','/describe','isAuthenticated','describe','/:id','show','create','put','update','exports','multer'];(function(_0x23c986,_0xd4c626){var _0x4ae7f6=function(_0x114e4a){while(--_0x114e4a){_0x23c986['push'](_0x23c986['shift']());}};_0x4ae7f6(++_0xd4c626);}(_0x12b6,0x1b9));var _0x612b=function(_0x190c89,_0xd26593){_0x190c89=_0x190c89-0x0;var _0x5b6367=_0x12b6[_0x190c89];return _0x5b6367;};'use strict';var multer=require(_0x612b('0x0'));var util=require(_0x612b('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x612b('0x2'));var router=express['Router']();var auth=require(_0x612b('0x3'));var interaction=require(_0x612b('0x4'));var config=require('../../config/environment');var controller=require(_0x612b('0x5'));router[_0x612b('0x6')]('/',auth['isAuthenticated'](),controller[_0x612b('0x7')]);router['get'](_0x612b('0x8'),auth[_0x612b('0x9')](),controller[_0x612b('0xa')]);router[_0x612b('0x6')](_0x612b('0xb'),auth[_0x612b('0x9')](),controller[_0x612b('0xc')]);router['post']('/',auth[_0x612b('0x9')](),controller[_0x612b('0xd')]);router[_0x612b('0xe')](_0x612b('0xb'),auth[_0x612b('0x9')](),controller[_0x612b('0xf')]);module[_0x612b('0x10')]=router;