ce70d9510156ef7019b536ac57607b2bd3ca938c
[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 _0xbae3=['util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmHopperFinal.controller','get','isAuthenticated','index','/describe','describe','show','countContactsQueueCampaignHopperFinal','/campaign/countAttributes/:id','countContactsIvrCampaignHopperFinal','/voice/queue/moveContacts/:id','moveContactsQueueCampaignHopperFinal','post','/voice/campaign/moveContacts/:id','moveContactsIvrCampaignHopperFinal','checkContactHopper','put','update','exports','multer'];(function(_0x227118,_0xa214cd){var _0x209d66=function(_0x4cf0f6){while(--_0x4cf0f6){_0x227118['push'](_0x227118['shift']());}};_0x209d66(++_0xa214cd);}(_0xbae3,0x1b2));var _0x3bae=function(_0x444cd9,_0x2466c5){_0x444cd9=_0x444cd9-0x0;var _0x1d8513=_0xbae3[_0x444cd9];return _0x1d8513;};'use strict';var multer=require(_0x3bae('0x0'));var util=require(_0x3bae('0x1'));var path=require(_0x3bae('0x2'));var timeout=require(_0x3bae('0x3'));var express=require(_0x3bae('0x4'));var router=express[_0x3bae('0x5')]();var fs_extra=require(_0x3bae('0x6'));var auth=require(_0x3bae('0x7'));var interaction=require(_0x3bae('0x8'));var config=require(_0x3bae('0x9'));var controller=require(_0x3bae('0xa'));router[_0x3bae('0xb')]('/',auth[_0x3bae('0xc')](),controller[_0x3bae('0xd')]);router[_0x3bae('0xb')](_0x3bae('0xe'),auth['isAuthenticated'](),controller[_0x3bae('0xf')]);router[_0x3bae('0xb')]('/:id',auth[_0x3bae('0xc')](),controller[_0x3bae('0x10')]);router['get']('/voice/queue/countAttributes/:id',auth[_0x3bae('0xc')](),controller[_0x3bae('0x11')]);router[_0x3bae('0xb')](_0x3bae('0x12'),auth[_0x3bae('0xc')](),controller[_0x3bae('0x13')]);router['post'](_0x3bae('0x14'),auth['isAuthenticated'](),controller[_0x3bae('0x15')]);router[_0x3bae('0x16')](_0x3bae('0x17'),auth[_0x3bae('0xc')](),controller[_0x3bae('0x18')]);router[_0x3bae('0x16')]('/checkContactHopper',auth[_0x3bae('0xc')](),controller[_0x3bae('0x19')]);router[_0x3bae('0x1a')]('/:id',auth['isAuthenticated'](),controller[_0x3bae('0x1b')]);module[_0x3bae('0x1c')]=router;