Built motion from commit (unavailable).|2.5.4
[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 _0x8506=['get','/describe','/:id','show','create','put','update','util','connect-timeout','Router','../../components/interaction/service','../../config/environment','./cmHopperHistory.controller','isAuthenticated','index'];(function(_0x48933f,_0x51376a){var _0x121a25=function(_0x526e8e){while(--_0x526e8e){_0x48933f['push'](_0x48933f['shift']());}};_0x121a25(++_0x51376a);}(_0x8506,0xe8));var _0x6850=function(_0x38be8f,_0x4ace9e){_0x38be8f=_0x38be8f-0x0;var _0x189588=_0x8506[_0x38be8f];return _0x189588;};'use strict';var multer=require('multer');var util=require(_0x6850('0x0'));var path=require('path');var timeout=require(_0x6850('0x1'));var express=require('express');var router=express[_0x6850('0x2')]();var auth=require('../../components/auth/service');var interaction=require(_0x6850('0x3'));var config=require(_0x6850('0x4'));var controller=require(_0x6850('0x5'));router['get']('/',auth[_0x6850('0x6')](),controller[_0x6850('0x7')]);router[_0x6850('0x8')](_0x6850('0x9'),auth['isAuthenticated'](),controller['describe']);router['get'](_0x6850('0xa'),auth[_0x6850('0x6')](),controller[_0x6850('0xb')]);router['post']('/',auth['isAuthenticated'](),controller[_0x6850('0xc')]);router[_0x6850('0xd')](_0x6850('0xa'),auth[_0x6850('0x6')](),controller[_0x6850('0xe')]);module['exports']=router;