Built motion from commit 42801a18.|2.6.28
[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 _0xbeba=['describe','/:id','isAuthenticated','show','countContactsQueueCampaignHopperFinal','/campaign/countAttributes/:id','countContactsIvrCampaignHopperFinal','/voice/queue/moveContacts/:id','moveContactsQueueCampaignHopperFinal','moveContactsIvrCampaignHopperFinal','/checkContactHopper','put','update','exports','multer','util','path','express','Router','../../components/auth/service','../../config/environment','./cmHopperFinal.controller','get','index'];(function(_0x1d59ef,_0xf888d3){var _0x21459d=function(_0x37741d){while(--_0x37741d){_0x1d59ef['push'](_0x1d59ef['shift']());}};_0x21459d(++_0xf888d3);}(_0xbeba,0xb6));var _0xabeb=function(_0x38232d,_0x26d579){_0x38232d=_0x38232d-0x0;var _0x34ca7b=_0xbeba[_0x38232d];return _0x34ca7b;};'use strict';var multer=require(_0xabeb('0x0'));var util=require(_0xabeb('0x1'));var path=require(_0xabeb('0x2'));var timeout=require('connect-timeout');var express=require(_0xabeb('0x3'));var router=express[_0xabeb('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xabeb('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xabeb('0x6'));var controller=require(_0xabeb('0x7'));router[_0xabeb('0x8')]('/',auth['isAuthenticated'](),controller[_0xabeb('0x9')]);router['get']('/describe',auth['isAuthenticated'](),controller[_0xabeb('0xa')]);router['get'](_0xabeb('0xb'),auth[_0xabeb('0xc')](),controller[_0xabeb('0xd')]);router[_0xabeb('0x8')]('/voice/queue/countAttributes/:id',auth[_0xabeb('0xc')](),controller[_0xabeb('0xe')]);router[_0xabeb('0x8')](_0xabeb('0xf'),auth[_0xabeb('0xc')](),controller[_0xabeb('0x10')]);router['post'](_0xabeb('0x11'),auth[_0xabeb('0xc')](),controller[_0xabeb('0x12')]);router['post']('/voice/campaign/moveContacts/:id',auth[_0xabeb('0xc')](),controller[_0xabeb('0x13')]);router['post'](_0xabeb('0x14'),auth[_0xabeb('0xc')](),controller['checkContactHopper']);router[_0xabeb('0x15')]('/:id',auth[_0xabeb('0xc')](),controller[_0xabeb('0x16')]);module[_0xabeb('0x17')]=router;