c87ffd9917b19b54df98d2389f42cb6d9cac607e
[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 _0xc79a=['update','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./cmHopperHistory.controller','get','isAuthenticated','index','/describe','/:id','post','create'];(function(_0x5ddaac,_0x2697a8){var _0x2a9c58=function(_0x851032){while(--_0x851032){_0x5ddaac['push'](_0x5ddaac['shift']());}};_0x2a9c58(++_0x2697a8);}(_0xc79a,0x157));var _0xac79=function(_0x1499c4,_0x57c5c3){_0x1499c4=_0x1499c4-0x0;var _0x3cf45a=_0xc79a[_0x1499c4];return _0x3cf45a;};'use strict';var multer=require(_0xac79('0x0'));var util=require(_0xac79('0x1'));var path=require(_0xac79('0x2'));var timeout=require(_0xac79('0x3'));var express=require(_0xac79('0x4'));var router=express[_0xac79('0x5')]();var fs_extra=require(_0xac79('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0xac79('0x7'));var config=require(_0xac79('0x8'));var controller=require(_0xac79('0x9'));router[_0xac79('0xa')]('/',auth[_0xac79('0xb')](),controller[_0xac79('0xc')]);router['get'](_0xac79('0xd'),auth[_0xac79('0xb')](),controller['describe']);router[_0xac79('0xa')](_0xac79('0xe'),auth[_0xac79('0xb')](),controller['show']);router[_0xac79('0xf')]('/',auth[_0xac79('0xb')](),controller[_0xac79('0x10')]);router['put'](_0xac79('0xe'),auth[_0xac79('0xb')](),controller[_0xac79('0x11')]);module['exports']=router;