Built motion from commit 9efc8423.|2.6.31
[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 _0x8e63=['index','/describe','describe','/:id','post','put','exports','multer','util','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./cmHopperHistory.controller','get','isAuthenticated'];(function(_0x1c7bbd,_0x5cb5d1){var _0x2e78ff=function(_0x21e9f0){while(--_0x21e9f0){_0x1c7bbd['push'](_0x1c7bbd['shift']());}};_0x2e78ff(++_0x5cb5d1);}(_0x8e63,0x85));var _0x38e6=function(_0x1b06b9,_0x21bb4e){_0x1b06b9=_0x1b06b9-0x0;var _0xabb954=_0x8e63[_0x1b06b9];return _0xabb954;};'use strict';var multer=require(_0x38e6('0x0'));var util=require(_0x38e6('0x1'));var path=require(_0x38e6('0x2'));var timeout=require(_0x38e6('0x3'));var express=require(_0x38e6('0x4'));var router=express[_0x38e6('0x5')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x38e6('0x6'));var config=require(_0x38e6('0x7'));var controller=require(_0x38e6('0x8'));router[_0x38e6('0x9')]('/',auth[_0x38e6('0xa')](),controller[_0x38e6('0xb')]);router[_0x38e6('0x9')](_0x38e6('0xc'),auth['isAuthenticated'](),controller[_0x38e6('0xd')]);router[_0x38e6('0x9')](_0x38e6('0xe'),auth[_0x38e6('0xa')](),controller['show']);router[_0x38e6('0xf')]('/',auth[_0x38e6('0xa')](),controller['create']);router[_0x38e6('0x10')](_0x38e6('0xe'),auth['isAuthenticated'](),controller['update']);module[_0x38e6('0x11')]=router;