4130577bae51fac1d645e5d1fe88f8a5a2a0e95a
[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 _0x7dcc=['exports','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./cmHopperHistory.controller','get','isAuthenticated','/:id','show','post','put','update'];(function(_0x1dd361,_0x2b7892){var _0x5049c7=function(_0x3c8ce8){while(--_0x3c8ce8){_0x1dd361['push'](_0x1dd361['shift']());}};_0x5049c7(++_0x2b7892);}(_0x7dcc,0x71));var _0xc7dc=function(_0x2b950c,_0x57cc37){_0x2b950c=_0x2b950c-0x0;var _0x592648=_0x7dcc[_0x2b950c];return _0x592648;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xc7dc('0x0'));var timeout=require(_0xc7dc('0x1'));var express=require(_0xc7dc('0x2'));var router=express[_0xc7dc('0x3')]();var fs_extra=require(_0xc7dc('0x4'));var auth=require(_0xc7dc('0x5'));var interaction=require(_0xc7dc('0x6'));var config=require('../../config/environment');var controller=require(_0xc7dc('0x7'));router[_0xc7dc('0x8')]('/',auth[_0xc7dc('0x9')](),controller['index']);router['get']('/describe',auth[_0xc7dc('0x9')](),controller['describe']);router[_0xc7dc('0x8')](_0xc7dc('0xa'),auth[_0xc7dc('0x9')](),controller[_0xc7dc('0xb')]);router[_0xc7dc('0xc')]('/',auth[_0xc7dc('0x9')](),controller['create']);router[_0xc7dc('0xd')](_0xc7dc('0xa'),auth[_0xc7dc('0x9')](),controller[_0xc7dc('0xe')]);module[_0xc7dc('0xf')]=router;