Built motion from commit (unavailable).|2.6.0
[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 _0x6b3a=['./cmHopperHistory.controller','get','isAuthenticated','index','/describe','describe','show','create','put','/:id','update','exports','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x5a7618,_0x3f44c2){var _0x12dc65=function(_0x3cc4cd){while(--_0x3cc4cd){_0x5a7618['push'](_0x5a7618['shift']());}};_0x12dc65(++_0x3f44c2);}(_0x6b3a,0x129));var _0xa6b3=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x6b3a[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xa6b3('0x0'));var timeout=require(_0xa6b3('0x1'));var express=require('express');var router=express[_0xa6b3('0x2')]();var fs_extra=require(_0xa6b3('0x3'));var auth=require(_0xa6b3('0x4'));var interaction=require(_0xa6b3('0x5'));var config=require(_0xa6b3('0x6'));var controller=require(_0xa6b3('0x7'));router[_0xa6b3('0x8')]('/',auth[_0xa6b3('0x9')](),controller[_0xa6b3('0xa')]);router[_0xa6b3('0x8')](_0xa6b3('0xb'),auth[_0xa6b3('0x9')](),controller[_0xa6b3('0xc')]);router[_0xa6b3('0x8')]('/:id',auth[_0xa6b3('0x9')](),controller[_0xa6b3('0xd')]);router['post']('/',auth[_0xa6b3('0x9')](),controller[_0xa6b3('0xe')]);router[_0xa6b3('0xf')](_0xa6b3('0x10'),auth['isAuthenticated'](),controller[_0xa6b3('0x11')]);module[_0xa6b3('0x12')]=router;