Built motion from commit 1fa89557.|2.6.10
[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 _0xb6f8=['update','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmHopperFinal.controller','get','isAuthenticated','index','/describe','describe','/:id','show','/voice/queue/countAttributes/:id','countContactsQueueCampaignHopperFinal','/campaign/countAttributes/:id','/voice/queue/moveContacts/:id','moveContactsQueueCampaignHopperFinal','post','/voice/campaign/moveContacts/:id','/checkContactHopper','checkContactHopper','put'];(function(_0x46b0cc,_0x52192d){var _0x2b9072=function(_0x5e9dde){while(--_0x5e9dde){_0x46b0cc['push'](_0x46b0cc['shift']());}};_0x2b9072(++_0x52192d);}(_0xb6f8,0x9d));var _0x8b6f=function(_0xb6e2ea,_0x3b26e9){_0xb6e2ea=_0xb6e2ea-0x0;var _0x2a57bb=_0xb6f8[_0xb6e2ea];return _0x2a57bb;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x8b6f('0x0'));var timeout=require(_0x8b6f('0x1'));var express=require('express');var router=express[_0x8b6f('0x2')]();var fs_extra=require(_0x8b6f('0x3'));var auth=require(_0x8b6f('0x4'));var interaction=require(_0x8b6f('0x5'));var config=require(_0x8b6f('0x6'));var controller=require(_0x8b6f('0x7'));router[_0x8b6f('0x8')]('/',auth[_0x8b6f('0x9')](),controller[_0x8b6f('0xa')]);router['get'](_0x8b6f('0xb'),auth[_0x8b6f('0x9')](),controller[_0x8b6f('0xc')]);router[_0x8b6f('0x8')](_0x8b6f('0xd'),auth[_0x8b6f('0x9')](),controller[_0x8b6f('0xe')]);router[_0x8b6f('0x8')](_0x8b6f('0xf'),auth[_0x8b6f('0x9')](),controller[_0x8b6f('0x10')]);router[_0x8b6f('0x8')](_0x8b6f('0x11'),auth[_0x8b6f('0x9')](),controller['countContactsIvrCampaignHopperFinal']);router['post'](_0x8b6f('0x12'),auth['isAuthenticated'](),controller[_0x8b6f('0x13')]);router[_0x8b6f('0x14')](_0x8b6f('0x15'),auth[_0x8b6f('0x9')](),controller['moveContactsIvrCampaignHopperFinal']);router['post'](_0x8b6f('0x16'),auth[_0x8b6f('0x9')](),controller[_0x8b6f('0x17')]);router[_0x8b6f('0x18')](_0x8b6f('0xd'),auth[_0x8b6f('0x9')](),controller[_0x8b6f('0x19')]);module['exports']=router;