Built motion from commit 9d0783e6.|2.6.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 _0x9177=['index','describe','/:id','show','post','create','put','update','exports','multer','path','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmHopperHistory.controller','get','isAuthenticated'];(function(_0x228af8,_0x107526){var _0x4be170=function(_0x44446a){while(--_0x44446a){_0x228af8['push'](_0x228af8['shift']());}};_0x4be170(++_0x107526);}(_0x9177,0x7b));var _0x7917=function(_0xd511d,_0x3546b9){_0xd511d=_0xd511d-0x0;var _0x3f148e=_0x9177[_0xd511d];return _0x3f148e;};'use strict';var multer=require(_0x7917('0x0'));var util=require('util');var path=require(_0x7917('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x7917('0x2')]();var fs_extra=require(_0x7917('0x3'));var auth=require(_0x7917('0x4'));var interaction=require(_0x7917('0x5'));var config=require(_0x7917('0x6'));var controller=require(_0x7917('0x7'));router[_0x7917('0x8')]('/',auth[_0x7917('0x9')](),controller[_0x7917('0xa')]);router['get']('/describe',auth[_0x7917('0x9')](),controller[_0x7917('0xb')]);router[_0x7917('0x8')](_0x7917('0xc'),auth[_0x7917('0x9')](),controller[_0x7917('0xd')]);router[_0x7917('0xe')]('/',auth[_0x7917('0x9')](),controller[_0x7917('0xf')]);router[_0x7917('0x10')](_0x7917('0xc'),auth[_0x7917('0x9')](),controller[_0x7917('0x11')]);module[_0x7917('0x12')]=router;