Built motion from commit (unavailable).|2.4.20
[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 _0xb7ce=['exports','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmHopperFinal.controller','get','isAuthenticated','/describe','describe','show','/voice/queue/countAttributes/:id','/campaign/countAttributes/:id','countContactsIvrCampaignHopperFinal','post','/voice/queue/moveContacts/:id','moveContactsIvrCampaignHopperFinal','/checkContactHopper','put'];(function(_0x52997f,_0x3a692e){var _0x1b5d5b=function(_0x31fc7e){while(--_0x31fc7e){_0x52997f['push'](_0x52997f['shift']());}};_0x1b5d5b(++_0x3a692e);}(_0xb7ce,0xb5));var _0xeb7c=function(_0x10c067,_0x5b8b73){_0x10c067=_0x10c067-0x0;var _0x16c373=_0xb7ce[_0x10c067];return _0x16c373;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0xeb7c('0x0'));var express=require(_0xeb7c('0x1'));var router=express['Router']();var auth=require(_0xeb7c('0x2'));var interaction=require(_0xeb7c('0x3'));var config=require(_0xeb7c('0x4'));var controller=require(_0xeb7c('0x5'));router[_0xeb7c('0x6')]('/',auth[_0xeb7c('0x7')](),controller['index']);router['get'](_0xeb7c('0x8'),auth['isAuthenticated'](),controller[_0xeb7c('0x9')]);router[_0xeb7c('0x6')]('/:id',auth[_0xeb7c('0x7')](),controller[_0xeb7c('0xa')]);router[_0xeb7c('0x6')](_0xeb7c('0xb'),auth[_0xeb7c('0x7')](),controller['countContactsQueueCampaignHopperFinal']);router[_0xeb7c('0x6')](_0xeb7c('0xc'),auth[_0xeb7c('0x7')](),controller[_0xeb7c('0xd')]);router[_0xeb7c('0xe')](_0xeb7c('0xf'),auth['isAuthenticated'](),controller['moveContactsQueueCampaignHopperFinal']);router[_0xeb7c('0xe')]('/voice/campaign/moveContacts/:id',auth[_0xeb7c('0x7')](),controller[_0xeb7c('0x10')]);router['post'](_0xeb7c('0x11'),auth[_0xeb7c('0x7')](),controller['checkContactHopper']);router[_0xeb7c('0x12')]('/:id',auth[_0xeb7c('0x7')](),controller['update']);module[_0xeb7c('0x13')]=router;