4ef008270b8ca5b25abb930b32801fc46804c7cc
[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 _0x8135=['../../components/interaction/service','../../config/environment','./cmHopperFinal.controller','isAuthenticated','describe','get','/:id','/voice/queue/countAttributes/:id','/campaign/countAttributes/:id','countContactsIvrCampaignHopperFinal','post','/voice/queue/moveContacts/:id','moveContactsQueueCampaignHopperFinal','/checkContactHopper','put','update','exports','multer','util','connect-timeout','express','../../components/auth/service'];(function(_0x1c947f,_0x347428){var _0x2618da=function(_0x23a0ed){while(--_0x23a0ed){_0x1c947f['push'](_0x1c947f['shift']());}};_0x2618da(++_0x347428);}(_0x8135,0x171));var _0x5813=function(_0x52cc93,_0xd91df0){_0x52cc93=_0x52cc93-0x0;var _0x330080=_0x8135[_0x52cc93];return _0x330080;};'use strict';var multer=require(_0x5813('0x0'));var util=require(_0x5813('0x1'));var path=require('path');var timeout=require(_0x5813('0x2'));var express=require(_0x5813('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x5813('0x4'));var interaction=require(_0x5813('0x5'));var config=require(_0x5813('0x6'));var controller=require(_0x5813('0x7'));router['get']('/',auth[_0x5813('0x8')](),controller['index']);router['get']('/describe',auth[_0x5813('0x8')](),controller[_0x5813('0x9')]);router[_0x5813('0xa')](_0x5813('0xb'),auth[_0x5813('0x8')](),controller['show']);router[_0x5813('0xa')](_0x5813('0xc'),auth[_0x5813('0x8')](),controller['countContactsQueueCampaignHopperFinal']);router[_0x5813('0xa')](_0x5813('0xd'),auth['isAuthenticated'](),controller[_0x5813('0xe')]);router[_0x5813('0xf')](_0x5813('0x10'),auth['isAuthenticated'](),controller[_0x5813('0x11')]);router[_0x5813('0xf')]('/voice/campaign/moveContacts/:id',auth[_0x5813('0x8')](),controller['moveContactsIvrCampaignHopperFinal']);router[_0x5813('0xf')](_0x5813('0x12'),auth[_0x5813('0x8')](),controller['checkContactHopper']);router[_0x5813('0x13')](_0x5813('0xb'),auth[_0x5813('0x8')](),controller[_0x5813('0x14')]);module[_0x5813('0x15')]=router;