d83ce9d33b353bbc732ba417a9aa1078e95eb629
[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 _0x804c=['connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./cmHopperHistory.controller','get','isAuthenticated','/describe','describe','/:id','show','post','create','put','exports','multer','util','path'];(function(_0x2e1416,_0x1c1fb4){var _0x134b42=function(_0x259591){while(--_0x259591){_0x2e1416['push'](_0x2e1416['shift']());}};_0x134b42(++_0x1c1fb4);}(_0x804c,0x115));var _0xc804=function(_0x58a3f6,_0x279eca){_0x58a3f6=_0x58a3f6-0x0;var _0x2ba99b=_0x804c[_0x58a3f6];return _0x2ba99b;};'use strict';var multer=require(_0xc804('0x0'));var util=require(_0xc804('0x1'));var path=require(_0xc804('0x2'));var timeout=require(_0xc804('0x3'));var express=require(_0xc804('0x4'));var router=express[_0xc804('0x5')]();var fs_extra=require(_0xc804('0x6'));var auth=require(_0xc804('0x7'));var interaction=require('../../components/interaction/service');var config=require(_0xc804('0x8'));var controller=require(_0xc804('0x9'));router[_0xc804('0xa')]('/',auth[_0xc804('0xb')](),controller['index']);router[_0xc804('0xa')](_0xc804('0xc'),auth[_0xc804('0xb')](),controller[_0xc804('0xd')]);router[_0xc804('0xa')](_0xc804('0xe'),auth['isAuthenticated'](),controller[_0xc804('0xf')]);router[_0xc804('0x10')]('/',auth['isAuthenticated'](),controller[_0xc804('0x11')]);router[_0xc804('0x12')]('/:id',auth['isAuthenticated'](),controller['update']);module[_0xc804('0x13')]=router;