4596c2b6d9ba7de5bb8e27e04b4995260f289437
[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 _0x449c=['express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmHopperHistory.controller','get','isAuthenticated','/describe','describe','/:id','show','post','create','put','update','exports','multer','util','path','connect-timeout'];(function(_0x171abc,_0x5cbcb0){var _0x116b8b=function(_0x44dbd4){while(--_0x44dbd4){_0x171abc['push'](_0x171abc['shift']());}};_0x116b8b(++_0x5cbcb0);}(_0x449c,0xb9));var _0xc449=function(_0x205e5a,_0x5c19fb){_0x205e5a=_0x205e5a-0x0;var _0x10da58=_0x449c[_0x205e5a];return _0x10da58;};'use strict';var multer=require(_0xc449('0x0'));var util=require(_0xc449('0x1'));var path=require(_0xc449('0x2'));var timeout=require(_0xc449('0x3'));var express=require(_0xc449('0x4'));var router=express['Router']();var fs_extra=require(_0xc449('0x5'));var auth=require(_0xc449('0x6'));var interaction=require(_0xc449('0x7'));var config=require(_0xc449('0x8'));var controller=require(_0xc449('0x9'));router[_0xc449('0xa')]('/',auth[_0xc449('0xb')](),controller['index']);router[_0xc449('0xa')](_0xc449('0xc'),auth[_0xc449('0xb')](),controller[_0xc449('0xd')]);router['get'](_0xc449('0xe'),auth['isAuthenticated'](),controller[_0xc449('0xf')]);router[_0xc449('0x10')]('/',auth[_0xc449('0xb')](),controller[_0xc449('0x11')]);router[_0xc449('0x12')]('/:id',auth[_0xc449('0xb')](),controller[_0xc449('0x13')]);module[_0xc449('0x14')]=router;