bd9f23d35ee1b8b2fb9213cc39249289fbfb1019
[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 _0xaa37=['put','update','multer','util','path','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmHopperHistory.controller','get','isAuthenticated','/describe','/:id','show','post'];(function(_0x3e9d06,_0x23374c){var _0x495a78=function(_0x47fa03){while(--_0x47fa03){_0x3e9d06['push'](_0x3e9d06['shift']());}};_0x495a78(++_0x23374c);}(_0xaa37,0x1de));var _0x7aa3=function(_0x167cc1,_0x56ef5a){_0x167cc1=_0x167cc1-0x0;var _0x10bc4b=_0xaa37[_0x167cc1];return _0x10bc4b;};'use strict';var multer=require(_0x7aa3('0x0'));var util=require(_0x7aa3('0x1'));var path=require(_0x7aa3('0x2'));var timeout=require('connect-timeout');var express=require(_0x7aa3('0x3'));var router=express['Router']();var fs_extra=require(_0x7aa3('0x4'));var auth=require(_0x7aa3('0x5'));var interaction=require(_0x7aa3('0x6'));var config=require(_0x7aa3('0x7'));var controller=require(_0x7aa3('0x8'));router[_0x7aa3('0x9')]('/',auth[_0x7aa3('0xa')](),controller['index']);router[_0x7aa3('0x9')](_0x7aa3('0xb'),auth[_0x7aa3('0xa')](),controller['describe']);router[_0x7aa3('0x9')](_0x7aa3('0xc'),auth['isAuthenticated'](),controller[_0x7aa3('0xd')]);router[_0x7aa3('0xe')]('/',auth[_0x7aa3('0xa')](),controller['create']);router[_0x7aa3('0xf')](_0x7aa3('0xc'),auth['isAuthenticated'](),controller[_0x7aa3('0x10')]);module['exports']=router;