247308a5077493d81a9020de62fa30f73e2a3496
[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 _0x0dde=['./cmHopperHistory.controller','isAuthenticated','index','get','/describe','show','post','create','/:id','update','exports','multer','util','path','connect-timeout','express','../../components/interaction/service','../../config/environment'];(function(_0x5933fb,_0x9115ad){var _0x44d988=function(_0x295228){while(--_0x295228){_0x5933fb['push'](_0x5933fb['shift']());}};_0x44d988(++_0x9115ad);}(_0x0dde,0x12b));var _0xe0dd=function(_0x3c5e45,_0x5a9916){_0x3c5e45=_0x3c5e45-0x0;var _0x2cecea=_0x0dde[_0x3c5e45];return _0x2cecea;};'use strict';var multer=require(_0xe0dd('0x0'));var util=require(_0xe0dd('0x1'));var path=require(_0xe0dd('0x2'));var timeout=require(_0xe0dd('0x3'));var express=require(_0xe0dd('0x4'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xe0dd('0x5'));var config=require(_0xe0dd('0x6'));var controller=require(_0xe0dd('0x7'));router['get']('/',auth[_0xe0dd('0x8')](),controller[_0xe0dd('0x9')]);router[_0xe0dd('0xa')](_0xe0dd('0xb'),auth[_0xe0dd('0x8')](),controller['describe']);router['get']('/:id',auth[_0xe0dd('0x8')](),controller[_0xe0dd('0xc')]);router[_0xe0dd('0xd')]('/',auth[_0xe0dd('0x8')](),controller[_0xe0dd('0xe')]);router['put'](_0xe0dd('0xf'),auth[_0xe0dd('0x8')](),controller[_0xe0dd('0x10')]);module[_0xe0dd('0x11')]=router;