Built motion from commit 25580385.|2.6.2
[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 _0x65a0=['/:id','show','post','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./cmHopperHistory.controller','get','index','/describe','isAuthenticated','describe'];(function(_0x22eabc,_0x1b1a11){var _0x2144c5=function(_0x998f1c){while(--_0x998f1c){_0x22eabc['push'](_0x22eabc['shift']());}};_0x2144c5(++_0x1b1a11);}(_0x65a0,0x134));var _0x065a=function(_0x1cd8ce,_0x2804fe){_0x1cd8ce=_0x1cd8ce-0x0;var _0x5edea9=_0x65a0[_0x1cd8ce];return _0x5edea9;};'use strict';var multer=require(_0x065a('0x0'));var util=require(_0x065a('0x1'));var path=require(_0x065a('0x2'));var timeout=require(_0x065a('0x3'));var express=require(_0x065a('0x4'));var router=express[_0x065a('0x5')]();var fs_extra=require(_0x065a('0x6'));var auth=require(_0x065a('0x7'));var interaction=require(_0x065a('0x8'));var config=require('../../config/environment');var controller=require(_0x065a('0x9'));router[_0x065a('0xa')]('/',auth['isAuthenticated'](),controller[_0x065a('0xb')]);router['get'](_0x065a('0xc'),auth[_0x065a('0xd')](),controller[_0x065a('0xe')]);router[_0x065a('0xa')](_0x065a('0xf'),auth[_0x065a('0xd')](),controller[_0x065a('0x10')]);router[_0x065a('0x11')]('/',auth[_0x065a('0xd')](),controller['create']);router['put'](_0x065a('0xf'),auth[_0x065a('0xd')](),controller['update']);module[_0x065a('0x12')]=router;