9e8e5c42ea7acf5bda1a0328853ef56cd8ea4fe6
[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 _0x3e36=['post','/:id','update','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmHopperHistory.controller','get','isAuthenticated','index','describe'];(function(_0x32a8e9,_0x115962){var _0x3e7fdf=function(_0x45d004){while(--_0x45d004){_0x32a8e9['push'](_0x32a8e9['shift']());}};_0x3e7fdf(++_0x115962);}(_0x3e36,0x112));var _0x63e3=function(_0x3596f4,_0x182976){_0x3596f4=_0x3596f4-0x0;var _0x3c67e4=_0x3e36[_0x3596f4];return _0x3c67e4;};'use strict';var multer=require(_0x63e3('0x0'));var util=require(_0x63e3('0x1'));var path=require(_0x63e3('0x2'));var timeout=require('connect-timeout');var express=require(_0x63e3('0x3'));var router=express[_0x63e3('0x4')]();var fs_extra=require(_0x63e3('0x5'));var auth=require(_0x63e3('0x6'));var interaction=require(_0x63e3('0x7'));var config=require(_0x63e3('0x8'));var controller=require(_0x63e3('0x9'));router[_0x63e3('0xa')]('/',auth[_0x63e3('0xb')](),controller[_0x63e3('0xc')]);router['get']('/describe',auth[_0x63e3('0xb')](),controller[_0x63e3('0xd')]);router['get']('/:id',auth[_0x63e3('0xb')](),controller['show']);router[_0x63e3('0xe')]('/',auth[_0x63e3('0xb')](),controller['create']);router['put'](_0x63e3('0xf'),auth[_0x63e3('0xb')](),controller[_0x63e3('0x10')]);module[_0x63e3('0x11')]=router;