Built motion from commit (unavailable).|2.5.1
[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 _0xa638=['util','express','Router','../../config/environment','./cmHopperFinal.controller','get','index','isAuthenticated','describe','/:id','/voice/queue/countAttributes/:id','countContactsQueueCampaignHopperFinal','/campaign/countAttributes/:id','countContactsIvrCampaignHopperFinal','post','/voice/queue/moveContacts/:id','/voice/campaign/moveContacts/:id','/checkContactHopper','checkContactHopper','put','update','exports','multer'];(function(_0x56ac9f,_0x34875a){var _0x3fc3a7=function(_0x161a32){while(--_0x161a32){_0x56ac9f['push'](_0x56ac9f['shift']());}};_0x3fc3a7(++_0x34875a);}(_0xa638,0x72));var _0x8a63=function(_0x2064e5,_0x4f6fa2){_0x2064e5=_0x2064e5-0x0;var _0x21a233=_0xa638[_0x2064e5];return _0x21a233;};'use strict';var multer=require(_0x8a63('0x0'));var util=require(_0x8a63('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x8a63('0x2'));var router=express[_0x8a63('0x3')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x8a63('0x4'));var controller=require(_0x8a63('0x5'));router[_0x8a63('0x6')]('/',auth['isAuthenticated'](),controller[_0x8a63('0x7')]);router[_0x8a63('0x6')]('/describe',auth[_0x8a63('0x8')](),controller[_0x8a63('0x9')]);router[_0x8a63('0x6')](_0x8a63('0xa'),auth[_0x8a63('0x8')](),controller['show']);router[_0x8a63('0x6')](_0x8a63('0xb'),auth[_0x8a63('0x8')](),controller[_0x8a63('0xc')]);router[_0x8a63('0x6')](_0x8a63('0xd'),auth[_0x8a63('0x8')](),controller[_0x8a63('0xe')]);router[_0x8a63('0xf')](_0x8a63('0x10'),auth[_0x8a63('0x8')](),controller['moveContactsQueueCampaignHopperFinal']);router[_0x8a63('0xf')](_0x8a63('0x11'),auth['isAuthenticated'](),controller['moveContactsIvrCampaignHopperFinal']);router[_0x8a63('0xf')](_0x8a63('0x12'),auth[_0x8a63('0x8')](),controller[_0x8a63('0x13')]);router[_0x8a63('0x14')]('/:id',auth[_0x8a63('0x8')](),controller[_0x8a63('0x15')]);module[_0x8a63('0x16')]=router;