930cfe9ad21adecaa2cc16d1d39a4b845ddbd7f8
[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 _0xdc45=['isAuthenticated','index','/describe','describe','/:id','show','post','put','update','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./cmHopperHistory.controller','get'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0xdc45,0xbe));var _0x5dc4=function(_0x3631d5,_0xa09d1){_0x3631d5=_0x3631d5-0x0;var _0x2dd46b=_0xdc45[_0x3631d5];return _0x2dd46b;};'use strict';var multer=require(_0x5dc4('0x0'));var util=require('util');var path=require(_0x5dc4('0x1'));var timeout=require(_0x5dc4('0x2'));var express=require(_0x5dc4('0x3'));var router=express[_0x5dc4('0x4')]();var fs_extra=require(_0x5dc4('0x5'));var auth=require(_0x5dc4('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x5dc4('0x7'));var controller=require(_0x5dc4('0x8'));router[_0x5dc4('0x9')]('/',auth[_0x5dc4('0xa')](),controller[_0x5dc4('0xb')]);router['get'](_0x5dc4('0xc'),auth[_0x5dc4('0xa')](),controller[_0x5dc4('0xd')]);router[_0x5dc4('0x9')](_0x5dc4('0xe'),auth['isAuthenticated'](),controller[_0x5dc4('0xf')]);router[_0x5dc4('0x10')]('/',auth[_0x5dc4('0xa')](),controller['create']);router[_0x5dc4('0x11')]('/:id',auth[_0x5dc4('0xa')](),controller[_0x5dc4('0x12')]);module[_0x5dc4('0x13')]=router;