Built motion from commit a61a4a20.|2.5.46
[motion2.git] / server / api / cmHopperBlack / 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 _0x6a55=['isAuthenticated','index','/describe','describe','show','put','/:id','update','delete','multer','express','../../components/auth/service','../../config/environment','get'];(function(_0x38febf,_0x1fdebc){var _0x36db7f=function(_0x4d13b8){while(--_0x4d13b8){_0x38febf['push'](_0x38febf['shift']());}};_0x36db7f(++_0x1fdebc);}(_0x6a55,0xdb));var _0x56a5=function(_0x65ca71,_0x126845){_0x65ca71=_0x65ca71-0x0;var _0x5cb16e=_0x6a55[_0x65ca71];return _0x5cb16e;};'use strict';var multer=require(_0x56a5('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0x56a5('0x1'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x56a5('0x2'));var interaction=require('../../components/interaction/service');var config=require(_0x56a5('0x3'));var controller=require('./cmHopperBlack.controller');router[_0x56a5('0x4')]('/',auth[_0x56a5('0x5')](),controller[_0x56a5('0x6')]);router[_0x56a5('0x4')](_0x56a5('0x7'),auth[_0x56a5('0x5')](),controller[_0x56a5('0x8')]);router[_0x56a5('0x4')]('/:id',auth[_0x56a5('0x5')](),controller[_0x56a5('0x9')]);router[_0x56a5('0xa')](_0x56a5('0xb'),auth[_0x56a5('0x5')](),controller[_0x56a5('0xc')]);router[_0x56a5('0xd')](_0x56a5('0xb'),auth[_0x56a5('0x5')](),controller['destroy']);module['exports']=router;