Built motion from commit 87cd5f02.|2.5.48
[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 _0x71cd=['get','isAuthenticated','describe','/:id','show','post','create','update','exports','multer','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','./cmHopperHistory.controller'];(function(_0x4f7b43,_0x119c22){var _0x2fcdf3=function(_0xaeee0c){while(--_0xaeee0c){_0x4f7b43['push'](_0x4f7b43['shift']());}};_0x2fcdf3(++_0x119c22);}(_0x71cd,0xe9));var _0xd71c=function(_0x5d9ceb,_0x1a49f5){_0x5d9ceb=_0x5d9ceb-0x0;var _0x33ce82=_0x71cd[_0x5d9ceb];return _0x33ce82;};'use strict';var multer=require(_0xd71c('0x0'));var util=require('util');var path=require(_0xd71c('0x1'));var timeout=require(_0xd71c('0x2'));var express=require(_0xd71c('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xd71c('0x4'));var interaction=require(_0xd71c('0x5'));var config=require('../../config/environment');var controller=require(_0xd71c('0x6'));router[_0xd71c('0x7')]('/',auth[_0xd71c('0x8')](),controller['index']);router['get']('/describe',auth[_0xd71c('0x8')](),controller[_0xd71c('0x9')]);router[_0xd71c('0x7')](_0xd71c('0xa'),auth[_0xd71c('0x8')](),controller[_0xd71c('0xb')]);router[_0xd71c('0xc')]('/',auth[_0xd71c('0x8')](),controller[_0xd71c('0xd')]);router['put'](_0xd71c('0xa'),auth['isAuthenticated'](),controller[_0xd71c('0xe')]);module[_0xd71c('0xf')]=router;