Built motion from commit 838c2833.|2.6.24
[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 _0x257e=['get','isAuthenticated','index','/describe','/:id','show','post','create','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./cmHopperHistory.controller'];(function(_0x6fb7ec,_0x2cc36f){var _0x243017=function(_0x3d591c){while(--_0x3d591c){_0x6fb7ec['push'](_0x6fb7ec['shift']());}};_0x243017(++_0x2cc36f);}(_0x257e,0x1b9));var _0xe257=function(_0x50f6e5,_0x151ccb){_0x50f6e5=_0x50f6e5-0x0;var _0x5988c5=_0x257e[_0x50f6e5];return _0x5988c5;};'use strict';var multer=require('multer');var util=require(_0xe257('0x0'));var path=require(_0xe257('0x1'));var timeout=require(_0xe257('0x2'));var express=require(_0xe257('0x3'));var router=express[_0xe257('0x4')]();var fs_extra=require(_0xe257('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xe257('0x6'));var config=require(_0xe257('0x7'));var controller=require(_0xe257('0x8'));router[_0xe257('0x9')]('/',auth[_0xe257('0xa')](),controller[_0xe257('0xb')]);router[_0xe257('0x9')](_0xe257('0xc'),auth[_0xe257('0xa')](),controller['describe']);router['get'](_0xe257('0xd'),auth[_0xe257('0xa')](),controller[_0xe257('0xe')]);router[_0xe257('0xf')]('/',auth[_0xe257('0xa')](),controller[_0xe257('0x10')]);router['put'](_0xe257('0xd'),auth[_0xe257('0xa')](),controller['update']);module[_0xe257('0x11')]=router;