a5e1d6703f7e39ab81a46a3fd5c9e6f3d3a220be
[motion2.git] / server / api / cmHopperFinal / 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 _0xbeb6=['moveContactsIvrCampaignHopperFinal','put','update','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','/:id','show','/voice/queue/countAttributes/:id','/campaign/countAttributes/:id','countContactsIvrCampaignHopperFinal','post','/voice/queue/moveContacts/:id'];(function(_0x5285b9,_0x130a1a){var _0xf4b170=function(_0x5e5a3b){while(--_0x5e5a3b){_0x5285b9['push'](_0x5285b9['shift']());}};_0xf4b170(++_0x130a1a);}(_0xbeb6,0x1e7));var _0x6beb=function(_0x40b74c,_0x205361){_0x40b74c=_0x40b74c-0x0;var _0x19facb=_0xbeb6[_0x40b74c];return _0x19facb;};'use strict';var multer=require(_0x6beb('0x0'));var util=require(_0x6beb('0x1'));var path=require(_0x6beb('0x2'));var timeout=require(_0x6beb('0x3'));var express=require('express');var router=express[_0x6beb('0x4')]();var auth=require(_0x6beb('0x5'));var interaction=require(_0x6beb('0x6'));var config=require(_0x6beb('0x7'));var controller=require('./cmHopperFinal.controller');router[_0x6beb('0x8')]('/',auth[_0x6beb('0x9')](),controller[_0x6beb('0xa')]);router['get'](_0x6beb('0xb'),auth[_0x6beb('0x9')](),controller['describe']);router[_0x6beb('0x8')](_0x6beb('0xc'),auth[_0x6beb('0x9')](),controller[_0x6beb('0xd')]);router[_0x6beb('0x8')](_0x6beb('0xe'),auth[_0x6beb('0x9')](),controller['countContactsQueueCampaignHopperFinal']);router[_0x6beb('0x8')](_0x6beb('0xf'),auth[_0x6beb('0x9')](),controller[_0x6beb('0x10')]);router[_0x6beb('0x11')](_0x6beb('0x12'),auth[_0x6beb('0x9')](),controller['moveContactsQueueCampaignHopperFinal']);router[_0x6beb('0x11')]('/voice/campaign/moveContacts/:id',auth['isAuthenticated'](),controller[_0x6beb('0x13')]);router[_0x6beb('0x11')]('/checkContactHopper',auth[_0x6beb('0x9')](),controller['checkContactHopper']);router[_0x6beb('0x14')](_0x6beb('0xc'),auth[_0x6beb('0x9')](),controller[_0x6beb('0x15')]);module[_0x6beb('0x16')]=router;