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