Built motion from commit 85328c08.|2.5.50
[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 _0x9aaa=['put','update','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','get','isAuthenticated','index','/describe','describe','/:id','show','create'];(function(_0xed7a9f,_0x5ce9a9){var _0x21c76b=function(_0x30f628){while(--_0x30f628){_0xed7a9f['push'](_0xed7a9f['shift']());}};_0x21c76b(++_0x5ce9a9);}(_0x9aaa,0x10d));var _0xa9aa=function(_0x1ab06d,_0x2e2300){_0x1ab06d=_0x1ab06d-0x0;var _0x3645cf=_0x9aaa[_0x1ab06d];return _0x3645cf;};'use strict';var multer=require('multer');var util=require(_0xa9aa('0x0'));var path=require(_0xa9aa('0x1'));var timeout=require(_0xa9aa('0x2'));var express=require(_0xa9aa('0x3'));var router=express[_0xa9aa('0x4')]();var fs_extra=require(_0xa9aa('0x5'));var auth=require(_0xa9aa('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xa9aa('0x7'));var controller=require('./cmHopperHistory.controller');router[_0xa9aa('0x8')]('/',auth[_0xa9aa('0x9')](),controller[_0xa9aa('0xa')]);router[_0xa9aa('0x8')](_0xa9aa('0xb'),auth[_0xa9aa('0x9')](),controller[_0xa9aa('0xc')]);router[_0xa9aa('0x8')](_0xa9aa('0xd'),auth[_0xa9aa('0x9')](),controller[_0xa9aa('0xe')]);router['post']('/',auth['isAuthenticated'](),controller[_0xa9aa('0xf')]);router[_0xa9aa('0x10')](_0xa9aa('0xd'),auth[_0xa9aa('0x9')](),controller[_0xa9aa('0x11')]);module[_0xa9aa('0x12')]=router;