1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x0c6a=['index','isAuthenticated','describe','/:id','show','get','countContactsQueueCampaignHopperFinal','/campaign/countAttributes/:id','countContactsIvrCampaignHopperFinal','post','/voice/queue/moveContacts/:id','moveContactsQueueCampaignHopperFinal','/voice/campaign/moveContacts/:id','moveContactsIvrCampaignHopperFinal','checkContactHopper','put','update','exports','util','connect-timeout','Router','fs-extra','../../components/interaction/service','../../config/environment','./cmHopperFinal.controller'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x0c6a,0x157));var _0xa0c6=function(_0x11af81,_0x3d1a99){_0x11af81=_0x11af81-0x0;var _0x367dc6=_0x0c6a[_0x11af81];return _0x367dc6;};'use strict';var multer=require('multer');var util=require(_0xa0c6('0x0'));var path=require('path');var timeout=require(_0xa0c6('0x1'));var express=require('express');var router=express[_0xa0c6('0x2')]();var fs_extra=require(_0xa0c6('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0xa0c6('0x4'));var config=require(_0xa0c6('0x5'));var controller=require(_0xa0c6('0x6'));router['get']('/',auth['isAuthenticated'](),controller[_0xa0c6('0x7')]);router['get']('/describe',auth[_0xa0c6('0x8')](),controller[_0xa0c6('0x9')]);router['get'](_0xa0c6('0xa'),auth['isAuthenticated'](),controller[_0xa0c6('0xb')]);router[_0xa0c6('0xc')]('/voice/queue/countAttributes/:id',auth[_0xa0c6('0x8')](),controller[_0xa0c6('0xd')]);router[_0xa0c6('0xc')](_0xa0c6('0xe'),auth[_0xa0c6('0x8')](),controller[_0xa0c6('0xf')]);router[_0xa0c6('0x10')](_0xa0c6('0x11'),auth[_0xa0c6('0x8')](),controller[_0xa0c6('0x12')]);router[_0xa0c6('0x10')](_0xa0c6('0x13'),auth[_0xa0c6('0x8')](),controller[_0xa0c6('0x14')]);router['post']('/checkContactHopper',auth[_0xa0c6('0x8')](),controller[_0xa0c6('0x15')]);router[_0xa0c6('0x16')](_0xa0c6('0xa'),auth['isAuthenticated'](),controller[_0xa0c6('0x17')]);module[_0xa0c6('0x18')]=router;