Built motion from commit (unavailable).|2.5.14
[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 _0xbd3c=['path','express','Router','../../components/auth/service','./cmHopperHistory.controller','isAuthenticated','index','/describe','describe','/:id','show','post','multer','util'];(function(_0x13f9da,_0xe6f2){var _0x1ffdef=function(_0x3145b8){while(--_0x3145b8){_0x13f9da['push'](_0x13f9da['shift']());}};_0x1ffdef(++_0xe6f2);}(_0xbd3c,0xc2));var _0xcbd3=function(_0xbfb2ee,_0x317b2d){_0xbfb2ee=_0xbfb2ee-0x0;var _0x390f2e=_0xbd3c[_0xbfb2ee];return _0x390f2e;};'use strict';var multer=require(_0xcbd3('0x0'));var util=require(_0xcbd3('0x1'));var path=require(_0xcbd3('0x2'));var timeout=require('connect-timeout');var express=require(_0xcbd3('0x3'));var router=express[_0xcbd3('0x4')]();var auth=require(_0xcbd3('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xcbd3('0x6'));router['get']('/',auth[_0xcbd3('0x7')](),controller[_0xcbd3('0x8')]);router['get'](_0xcbd3('0x9'),auth[_0xcbd3('0x7')](),controller[_0xcbd3('0xa')]);router['get'](_0xcbd3('0xb'),auth[_0xcbd3('0x7')](),controller[_0xcbd3('0xc')]);router[_0xcbd3('0xd')]('/',auth[_0xcbd3('0x7')](),controller['create']);router['put'](_0xcbd3('0xb'),auth[_0xcbd3('0x7')](),controller['update']);module['exports']=router;