ac83752607c659896f25ddb31439d6c778a9193f
[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 _0x73e2=['get','isAuthenticated','/describe','describe','show','post','put','/:id','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./cmHopperHistory.controller'];(function(_0x1eeb15,_0x539688){var _0x12a9ce=function(_0x3933de){while(--_0x3933de){_0x1eeb15['push'](_0x1eeb15['shift']());}};_0x12a9ce(++_0x539688);}(_0x73e2,0x113));var _0x273e=function(_0x59cf60,_0xeca7ae){_0x59cf60=_0x59cf60-0x0;var _0x2d2cf8=_0x73e2[_0x59cf60];return _0x2d2cf8;};'use strict';var multer=require(_0x273e('0x0'));var util=require(_0x273e('0x1'));var path=require(_0x273e('0x2'));var timeout=require(_0x273e('0x3'));var express=require(_0x273e('0x4'));var router=express[_0x273e('0x5')]();var fs_extra=require(_0x273e('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0x273e('0x7'));var config=require(_0x273e('0x8'));var controller=require(_0x273e('0x9'));router[_0x273e('0xa')]('/',auth[_0x273e('0xb')](),controller['index']);router['get'](_0x273e('0xc'),auth[_0x273e('0xb')](),controller[_0x273e('0xd')]);router[_0x273e('0xa')]('/:id',auth[_0x273e('0xb')](),controller[_0x273e('0xe')]);router[_0x273e('0xf')]('/',auth[_0x273e('0xb')](),controller['create']);router[_0x273e('0x10')](_0x273e('0x11'),auth[_0x273e('0xb')](),controller['update']);module[_0x273e('0x12')]=router;