0549c405ba1c6f2722978ae53386ac675028f60f
[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 _0x81f3=['get','index','isAuthenticated','show','post','put','/:id','update','exports','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmHopperHistory.controller'];(function(_0x122ef9,_0x451d2a){var _0x42fba0=function(_0x17c9d3){while(--_0x17c9d3){_0x122ef9['push'](_0x122ef9['shift']());}};_0x42fba0(++_0x451d2a);}(_0x81f3,0x15f));var _0x381f=function(_0x2bb99a,_0x4ff527){_0x2bb99a=_0x2bb99a-0x0;var _0x57023b=_0x81f3[_0x2bb99a];return _0x57023b;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x381f('0x0'));var timeout=require(_0x381f('0x1'));var express=require(_0x381f('0x2'));var router=express[_0x381f('0x3')]();var fs_extra=require(_0x381f('0x4'));var auth=require(_0x381f('0x5'));var interaction=require(_0x381f('0x6'));var config=require(_0x381f('0x7'));var controller=require(_0x381f('0x8'));router[_0x381f('0x9')]('/',auth['isAuthenticated'](),controller[_0x381f('0xa')]);router[_0x381f('0x9')]('/describe',auth[_0x381f('0xb')](),controller['describe']);router[_0x381f('0x9')]('/:id',auth[_0x381f('0xb')](),controller[_0x381f('0xc')]);router[_0x381f('0xd')]('/',auth[_0x381f('0xb')](),controller['create']);router[_0x381f('0xe')](_0x381f('0xf'),auth[_0x381f('0xb')](),controller[_0x381f('0x10')]);module[_0x381f('0x11')]=router;