01d38ed7b2014b845a8aa663afed4b3d9d580649
[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 _0xcf1f=['/voice/queue/countAttributes/:id','/campaign/countAttributes/:id','countContactsIvrCampaignHopperFinal','post','/voice/queue/moveContacts/:id','/voice/campaign/moveContacts/:id','moveContactsIvrCampaignHopperFinal','/checkContactHopper','update','exports','multer','util','path','express','../../components/interaction/service','get','index','/describe','describe','/:id','isAuthenticated','show'];(function(_0x19d959,_0x414e4f){var _0x35f4ed=function(_0x42cfd3){while(--_0x42cfd3){_0x19d959['push'](_0x19d959['shift']());}};_0x35f4ed(++_0x414e4f);}(_0xcf1f,0x78));var _0xfcf1=function(_0x447ef1,_0x374cd2){_0x447ef1=_0x447ef1-0x0;var _0x3d72ec=_0xcf1f[_0x447ef1];return _0x3d72ec;};'use strict';var multer=require(_0xfcf1('0x0'));var util=require(_0xfcf1('0x1'));var path=require(_0xfcf1('0x2'));var timeout=require('connect-timeout');var express=require(_0xfcf1('0x3'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0xfcf1('0x4'));var config=require('../../config/environment');var controller=require('./cmHopperFinal.controller');router[_0xfcf1('0x5')]('/',auth['isAuthenticated'](),controller[_0xfcf1('0x6')]);router[_0xfcf1('0x5')](_0xfcf1('0x7'),auth['isAuthenticated'](),controller[_0xfcf1('0x8')]);router[_0xfcf1('0x5')](_0xfcf1('0x9'),auth[_0xfcf1('0xa')](),controller[_0xfcf1('0xb')]);router['get'](_0xfcf1('0xc'),auth[_0xfcf1('0xa')](),controller['countContactsQueueCampaignHopperFinal']);router[_0xfcf1('0x5')](_0xfcf1('0xd'),auth[_0xfcf1('0xa')](),controller[_0xfcf1('0xe')]);router[_0xfcf1('0xf')](_0xfcf1('0x10'),auth['isAuthenticated'](),controller['moveContactsQueueCampaignHopperFinal']);router[_0xfcf1('0xf')](_0xfcf1('0x11'),auth[_0xfcf1('0xa')](),controller[_0xfcf1('0x12')]);router[_0xfcf1('0xf')](_0xfcf1('0x13'),auth[_0xfcf1('0xa')](),controller['checkContactHopper']);router['put'](_0xfcf1('0x9'),auth[_0xfcf1('0xa')](),controller[_0xfcf1('0x14')]);module[_0xfcf1('0x15')]=router;