Built motion from commit (unavailable).|2.4.17
[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 _0x6374=['../../components/auth/service','../../components/interaction/service','../../config/environment','./cmHopperHistory.controller','get','isAuthenticated','describe','/:id','show','post','create','update','util','path','connect-timeout'];(function(_0xe20af4,_0x2fd6ad){var _0x3adc17=function(_0x583c51){while(--_0x583c51){_0xe20af4['push'](_0xe20af4['shift']());}};_0x3adc17(++_0x2fd6ad);}(_0x6374,0xfc));var _0x4637=function(_0x41d09c,_0x498942){_0x41d09c=_0x41d09c-0x0;var _0x3fad6e=_0x6374[_0x41d09c];return _0x3fad6e;};'use strict';var multer=require('multer');var util=require(_0x4637('0x0'));var path=require(_0x4637('0x1'));var timeout=require(_0x4637('0x2'));var express=require('express');var router=express['Router']();var auth=require(_0x4637('0x3'));var interaction=require(_0x4637('0x4'));var config=require(_0x4637('0x5'));var controller=require(_0x4637('0x6'));router[_0x4637('0x7')]('/',auth[_0x4637('0x8')](),controller['index']);router['get']('/describe',auth['isAuthenticated'](),controller[_0x4637('0x9')]);router[_0x4637('0x7')](_0x4637('0xa'),auth['isAuthenticated'](),controller[_0x4637('0xb')]);router[_0x4637('0xc')]('/',auth[_0x4637('0x8')](),controller[_0x4637('0xd')]);router['put'](_0x4637('0xa'),auth[_0x4637('0x8')](),controller[_0x4637('0xe')]);module['exports']=router;