Built motion from commit (unavailable).|2.5.13
[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 _0xbb61=['path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','exports','multer'];(function(_0x4f1da5,_0x4ced17){var _0xe972a8=function(_0x278ba3){while(--_0x278ba3){_0x4f1da5['push'](_0x4f1da5['shift']());}};_0xe972a8(++_0x4ced17);}(_0xbb61,0x131));var _0x1bb6=function(_0x8c43de,_0x90ff31){_0x8c43de=_0x8c43de-0x0;var _0xa6591b=_0xbb61[_0x8c43de];return _0xa6591b;};'use strict';var multer=require(_0x1bb6('0x0'));var util=require('util');var path=require(_0x1bb6('0x1'));var timeout=require(_0x1bb6('0x2'));var express=require(_0x1bb6('0x3'));var router=express[_0x1bb6('0x4')]();var auth=require(_0x1bb6('0x5'));var interaction=require(_0x1bb6('0x6'));var config=require(_0x1bb6('0x7'));var controller=require('./cmHopperHistory.controller');router[_0x1bb6('0x8')]('/',auth[_0x1bb6('0x9')](),controller[_0x1bb6('0xa')]);router['get'](_0x1bb6('0xb'),auth[_0x1bb6('0x9')](),controller[_0x1bb6('0xc')]);router['get'](_0x1bb6('0xd'),auth[_0x1bb6('0x9')](),controller[_0x1bb6('0xe')]);router[_0x1bb6('0xf')]('/',auth[_0x1bb6('0x9')](),controller[_0x1bb6('0x10')]);router['put'](_0x1bb6('0xd'),auth[_0x1bb6('0x9')](),controller['update']);module[_0x1bb6('0x11')]=router;