01dc585b41187968a37e4353f6c8e0ff9e5d374a
[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 _0x46e1=['util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmHopperHistory.controller','isAuthenticated','index','get','/describe','describe','post','create','put','/:id','multer'];(function(_0xad713,_0xa9b3ed){var _0xd9d678=function(_0x34ae77){while(--_0x34ae77){_0xad713['push'](_0xad713['shift']());}};_0xd9d678(++_0xa9b3ed);}(_0x46e1,0x155));var _0x146e=function(_0x4f3789,_0x1b9cc2){_0x4f3789=_0x4f3789-0x0;var _0x16ef3c=_0x46e1[_0x4f3789];return _0x16ef3c;};'use strict';var multer=require(_0x146e('0x0'));var util=require(_0x146e('0x1'));var path=require(_0x146e('0x2'));var timeout=require(_0x146e('0x3'));var express=require(_0x146e('0x4'));var router=express[_0x146e('0x5')]();var auth=require(_0x146e('0x6'));var interaction=require(_0x146e('0x7'));var config=require(_0x146e('0x8'));var controller=require(_0x146e('0x9'));router['get']('/',auth[_0x146e('0xa')](),controller[_0x146e('0xb')]);router[_0x146e('0xc')](_0x146e('0xd'),auth[_0x146e('0xa')](),controller[_0x146e('0xe')]);router[_0x146e('0xc')]('/:id',auth[_0x146e('0xa')](),controller['show']);router[_0x146e('0xf')]('/',auth[_0x146e('0xa')](),controller[_0x146e('0x10')]);router[_0x146e('0x11')](_0x146e('0x12'),auth[_0x146e('0xa')](),controller['update']);module['exports']=router;