811cadebf797e6a3a597676920b3c55dd64a9391
[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 _0x005f=['/:id','show','post','isAuthenticated','create','put','update','exports','multer','connect-timeout','express','Router','../../config/environment','./cmHopperHistory.controller','get','describe'];(function(_0x593a33,_0x64bc56){var _0x11672d=function(_0x3e135c){while(--_0x3e135c){_0x593a33['push'](_0x593a33['shift']());}};_0x11672d(++_0x64bc56);}(_0x005f,0x178));var _0xf005=function(_0x1b9f2b,_0x9de504){_0x1b9f2b=_0x1b9f2b-0x0;var _0x211a3=_0x005f[_0x1b9f2b];return _0x211a3;};'use strict';var multer=require(_0xf005('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xf005('0x1'));var express=require(_0xf005('0x2'));var router=express[_0xf005('0x3')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xf005('0x4'));var controller=require(_0xf005('0x5'));router[_0xf005('0x6')]('/',auth['isAuthenticated'](),controller['index']);router[_0xf005('0x6')]('/describe',auth['isAuthenticated'](),controller[_0xf005('0x7')]);router[_0xf005('0x6')](_0xf005('0x8'),auth['isAuthenticated'](),controller[_0xf005('0x9')]);router[_0xf005('0xa')]('/',auth[_0xf005('0xb')](),controller[_0xf005('0xc')]);router[_0xf005('0xd')](_0xf005('0x8'),auth[_0xf005('0xb')](),controller[_0xf005('0xe')]);module[_0xf005('0xf')]=router;