Built motion from commit 25580385.|2.6.2
[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 _0xff86=['multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmHopperFinal.controller','get','/describe','isAuthenticated','describe','/:id','show','/voice/queue/countAttributes/:id','/campaign/countAttributes/:id','countContactsIvrCampaignHopperFinal','post','/voice/queue/moveContacts/:id','moveContactsQueueCampaignHopperFinal','/voice/campaign/moveContacts/:id','moveContactsIvrCampaignHopperFinal','checkContactHopper','put','update','exports'];(function(_0x57bd0a,_0x58b2f0){var _0x166e1f=function(_0x3d80d6){while(--_0x3d80d6){_0x57bd0a['push'](_0x57bd0a['shift']());}};_0x166e1f(++_0x58b2f0);}(_0xff86,0x1a4));var _0x6ff8=function(_0x5555db,_0x3fbac9){_0x5555db=_0x5555db-0x0;var _0x2b45f1=_0xff86[_0x5555db];return _0x2b45f1;};'use strict';var multer=require(_0x6ff8('0x0'));var util=require(_0x6ff8('0x1'));var path=require(_0x6ff8('0x2'));var timeout=require(_0x6ff8('0x3'));var express=require('express');var router=express[_0x6ff8('0x4')]();var fs_extra=require(_0x6ff8('0x5'));var auth=require(_0x6ff8('0x6'));var interaction=require(_0x6ff8('0x7'));var config=require(_0x6ff8('0x8'));var controller=require(_0x6ff8('0x9'));router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0x6ff8('0xa')](_0x6ff8('0xb'),auth[_0x6ff8('0xc')](),controller[_0x6ff8('0xd')]);router['get'](_0x6ff8('0xe'),auth[_0x6ff8('0xc')](),controller[_0x6ff8('0xf')]);router['get'](_0x6ff8('0x10'),auth[_0x6ff8('0xc')](),controller['countContactsQueueCampaignHopperFinal']);router[_0x6ff8('0xa')](_0x6ff8('0x11'),auth[_0x6ff8('0xc')](),controller[_0x6ff8('0x12')]);router[_0x6ff8('0x13')](_0x6ff8('0x14'),auth[_0x6ff8('0xc')](),controller[_0x6ff8('0x15')]);router[_0x6ff8('0x13')](_0x6ff8('0x16'),auth[_0x6ff8('0xc')](),controller[_0x6ff8('0x17')]);router[_0x6ff8('0x13')]('/checkContactHopper',auth['isAuthenticated'](),controller[_0x6ff8('0x18')]);router[_0x6ff8('0x19')](_0x6ff8('0xe'),auth[_0x6ff8('0xc')](),controller[_0x6ff8('0x1a')]);module[_0x6ff8('0x1b')]=router;