Built motion from commit (unavailable).|2.4.18
[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 _0x1c53=['../../components/auth/service','../../components/interaction/service','../../config/environment','./cmHopperHistory.controller','get','index','/describe','describe','show','post','isAuthenticated','/:id','exports','multer','util','connect-timeout','express','Router'];(function(_0x543865,_0x502676){var _0x1d3e67=function(_0x3132e4){while(--_0x3132e4){_0x543865['push'](_0x543865['shift']());}};_0x1d3e67(++_0x502676);}(_0x1c53,0x8b));var _0x31c5=function(_0x1e2fe6,_0x19e196){_0x1e2fe6=_0x1e2fe6-0x0;var _0x59246d=_0x1c53[_0x1e2fe6];return _0x59246d;};'use strict';var multer=require(_0x31c5('0x0'));var util=require(_0x31c5('0x1'));var path=require('path');var timeout=require(_0x31c5('0x2'));var express=require(_0x31c5('0x3'));var router=express[_0x31c5('0x4')]();var auth=require(_0x31c5('0x5'));var interaction=require(_0x31c5('0x6'));var config=require(_0x31c5('0x7'));var controller=require(_0x31c5('0x8'));router[_0x31c5('0x9')]('/',auth['isAuthenticated'](),controller[_0x31c5('0xa')]);router[_0x31c5('0x9')](_0x31c5('0xb'),auth['isAuthenticated'](),controller[_0x31c5('0xc')]);router[_0x31c5('0x9')]('/:id',auth['isAuthenticated'](),controller[_0x31c5('0xd')]);router[_0x31c5('0xe')]('/',auth[_0x31c5('0xf')](),controller['create']);router['put'](_0x31c5('0x10'),auth[_0x31c5('0xf')](),controller['update']);module[_0x31c5('0x11')]=router;