Built motion from commit e02f907f.|2.6.14
[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 _0x9feb=['countContactsQueueCampaignHopperFinal','/campaign/countAttributes/:id','countContactsIvrCampaignHopperFinal','post','/voice/queue/moveContacts/:id','moveContactsQueueCampaignHopperFinal','/voice/campaign/moveContacts/:id','moveContactsIvrCampaignHopperFinal','checkContactHopper','put','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','/:id','show','/voice/queue/countAttributes/:id'];(function(_0x481afd,_0x22f792){var _0x6c053=function(_0x1e9c53){while(--_0x1e9c53){_0x481afd['push'](_0x481afd['shift']());}};_0x6c053(++_0x22f792);}(_0x9feb,0x6e));var _0xb9fe=function(_0x45b7d2,_0x4709d9){_0x45b7d2=_0x45b7d2-0x0;var _0x4e7ab2=_0x9feb[_0x45b7d2];return _0x4e7ab2;};'use strict';var multer=require(_0xb9fe('0x0'));var util=require(_0xb9fe('0x1'));var path=require('path');var timeout=require(_0xb9fe('0x2'));var express=require(_0xb9fe('0x3'));var router=express[_0xb9fe('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xb9fe('0x5'));var interaction=require(_0xb9fe('0x6'));var config=require(_0xb9fe('0x7'));var controller=require('./cmHopperFinal.controller');router[_0xb9fe('0x8')]('/',auth[_0xb9fe('0x9')](),controller[_0xb9fe('0xa')]);router[_0xb9fe('0x8')](_0xb9fe('0xb'),auth[_0xb9fe('0x9')](),controller['describe']);router[_0xb9fe('0x8')](_0xb9fe('0xc'),auth['isAuthenticated'](),controller[_0xb9fe('0xd')]);router[_0xb9fe('0x8')](_0xb9fe('0xe'),auth[_0xb9fe('0x9')](),controller[_0xb9fe('0xf')]);router[_0xb9fe('0x8')](_0xb9fe('0x10'),auth[_0xb9fe('0x9')](),controller[_0xb9fe('0x11')]);router[_0xb9fe('0x12')](_0xb9fe('0x13'),auth[_0xb9fe('0x9')](),controller[_0xb9fe('0x14')]);router[_0xb9fe('0x12')](_0xb9fe('0x15'),auth[_0xb9fe('0x9')](),controller[_0xb9fe('0x16')]);router[_0xb9fe('0x12')]('/checkContactHopper',auth[_0xb9fe('0x9')](),controller[_0xb9fe('0x17')]);router[_0xb9fe('0x18')](_0xb9fe('0xc'),auth[_0xb9fe('0x9')](),controller['update']);module['exports']=router;