48258338030250eb34fa4ff0dbfc19233d0352c2
[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 _0x6ff3=['/:id','show','post','create','put','update','util','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmHopperHistory.controller','get','isAuthenticated','index','/describe','describe'];(function(_0x331d4d,_0x203e60){var _0x29ed6f=function(_0x3d13be){while(--_0x3d13be){_0x331d4d['push'](_0x331d4d['shift']());}};_0x29ed6f(++_0x203e60);}(_0x6ff3,0xc4));var _0x36ff=function(_0x1746b2,_0xd67560){_0x1746b2=_0x1746b2-0x0;var _0x5047bb=_0x6ff3[_0x1746b2];return _0x5047bb;};'use strict';var multer=require('multer');var util=require(_0x36ff('0x0'));var path=require('path');var timeout=require(_0x36ff('0x1'));var express=require(_0x36ff('0x2'));var router=express['Router']();var fs_extra=require(_0x36ff('0x3'));var auth=require(_0x36ff('0x4'));var interaction=require(_0x36ff('0x5'));var config=require(_0x36ff('0x6'));var controller=require(_0x36ff('0x7'));router[_0x36ff('0x8')]('/',auth[_0x36ff('0x9')](),controller[_0x36ff('0xa')]);router[_0x36ff('0x8')](_0x36ff('0xb'),auth[_0x36ff('0x9')](),controller[_0x36ff('0xc')]);router[_0x36ff('0x8')](_0x36ff('0xd'),auth[_0x36ff('0x9')](),controller[_0x36ff('0xe')]);router[_0x36ff('0xf')]('/',auth[_0x36ff('0x9')](),controller[_0x36ff('0x10')]);router[_0x36ff('0x11')](_0x36ff('0xd'),auth[_0x36ff('0x9')](),controller[_0x36ff('0x12')]);module['exports']=router;