Built motion from commit (unavailable).|2.5.16
[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 _0x9962=['create','put','update','exports','multer','path','connect-timeout','express','../../components/auth/service','../../config/environment','./cmHopperHistory.controller','isAuthenticated','index','/describe','describe','get','/:id','show'];(function(_0x23ed6d,_0x46cb7d){var _0x5ee99b=function(_0x31abc4){while(--_0x31abc4){_0x23ed6d['push'](_0x23ed6d['shift']());}};_0x5ee99b(++_0x46cb7d);}(_0x9962,0xb8));var _0x2996=function(_0x20f14c,_0x10d50b){_0x20f14c=_0x20f14c-0x0;var _0x2ba43d=_0x9962[_0x20f14c];return _0x2ba43d;};'use strict';var multer=require(_0x2996('0x0'));var util=require('util');var path=require(_0x2996('0x1'));var timeout=require(_0x2996('0x2'));var express=require(_0x2996('0x3'));var router=express['Router']();var auth=require(_0x2996('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x2996('0x5'));var controller=require(_0x2996('0x6'));router['get']('/',auth[_0x2996('0x7')](),controller[_0x2996('0x8')]);router['get'](_0x2996('0x9'),auth[_0x2996('0x7')](),controller[_0x2996('0xa')]);router[_0x2996('0xb')](_0x2996('0xc'),auth['isAuthenticated'](),controller[_0x2996('0xd')]);router['post']('/',auth[_0x2996('0x7')](),controller[_0x2996('0xe')]);router[_0x2996('0xf')](_0x2996('0xc'),auth['isAuthenticated'](),controller[_0x2996('0x10')]);module[_0x2996('0x11')]=router;