93ea8f4e5535e77d2abe6a63c2b8889eea5e1775
[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 _0x1f7f=['../../components/auth/service','../../components/interaction/service','get','isAuthenticated','/:id','show','post','create','put','exports','multer','path','connect-timeout','Router'];(function(_0x281235,_0x13b50f){var _0x1f97e5=function(_0x163696){while(--_0x163696){_0x281235['push'](_0x281235['shift']());}};_0x1f97e5(++_0x13b50f);}(_0x1f7f,0xc0));var _0xf1f7=function(_0x37a1e6,_0x536b85){_0x37a1e6=_0x37a1e6-0x0;var _0x115a59=_0x1f7f[_0x37a1e6];return _0x115a59;};'use strict';var multer=require(_0xf1f7('0x0'));var util=require('util');var path=require(_0xf1f7('0x1'));var timeout=require(_0xf1f7('0x2'));var express=require('express');var router=express[_0xf1f7('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0xf1f7('0x4'));var interaction=require(_0xf1f7('0x5'));var config=require('../../config/environment');var controller=require('./cmHopperHistory.controller');router[_0xf1f7('0x6')]('/',auth[_0xf1f7('0x7')](),controller['index']);router[_0xf1f7('0x6')]('/describe',auth[_0xf1f7('0x7')](),controller['describe']);router[_0xf1f7('0x6')](_0xf1f7('0x8'),auth[_0xf1f7('0x7')](),controller[_0xf1f7('0x9')]);router[_0xf1f7('0xa')]('/',auth[_0xf1f7('0x7')](),controller[_0xf1f7('0xb')]);router[_0xf1f7('0xc')](_0xf1f7('0x8'),auth['isAuthenticated'](),controller['update']);module[_0xf1f7('0xd')]=router;