edc48ef1a9137ca6621773a9ea09c4a1c7a846b1
[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 _0xfaf0=['post','put','exports','multer','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmHopperHistory.controller','get','/describe','isAuthenticated','/:id','show'];(function(_0x1b0659,_0x586a89){var _0x1e3bf6=function(_0x4fb9a2){while(--_0x4fb9a2){_0x1b0659['push'](_0x1b0659['shift']());}};_0x1e3bf6(++_0x586a89);}(_0xfaf0,0x12f));var _0x0faf=function(_0xbf9c38,_0x4d6c40){_0xbf9c38=_0xbf9c38-0x0;var _0x52aa30=_0xfaf0[_0xbf9c38];return _0x52aa30;};'use strict';var multer=require(_0x0faf('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0x0faf('0x1'));var router=express['Router']();var fs_extra=require(_0x0faf('0x2'));var auth=require(_0x0faf('0x3'));var interaction=require(_0x0faf('0x4'));var config=require(_0x0faf('0x5'));var controller=require(_0x0faf('0x6'));router[_0x0faf('0x7')]('/',auth['isAuthenticated'](),controller['index']);router[_0x0faf('0x7')](_0x0faf('0x8'),auth[_0x0faf('0x9')](),controller['describe']);router[_0x0faf('0x7')](_0x0faf('0xa'),auth[_0x0faf('0x9')](),controller[_0x0faf('0xb')]);router[_0x0faf('0xc')]('/',auth['isAuthenticated'](),controller['create']);router[_0x0faf('0xd')]('/:id',auth[_0x0faf('0x9')](),controller['update']);module[_0x0faf('0xe')]=router;