Built motion from commit 092f8824.|2.5.49
[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 _0x57a1=['get','/:id','isAuthenticated','show','/voice/queue/countAttributes/:id','countContactsQueueCampaignHopperFinal','/campaign/countAttributes/:id','countContactsIvrCampaignHopperFinal','/voice/queue/moveContacts/:id','moveContactsQueueCampaignHopperFinal','/voice/campaign/moveContacts/:id','moveContactsIvrCampaignHopperFinal','post','checkContactHopper','put','update','multer','path','connect-timeout','fs-extra','../../config/environment','./cmHopperFinal.controller','index','describe'];(function(_0x2530d0,_0x402918){var _0x18370c=function(_0x4ddc57){while(--_0x4ddc57){_0x2530d0['push'](_0x2530d0['shift']());}};_0x18370c(++_0x402918);}(_0x57a1,0x148));var _0x157a=function(_0x78c442,_0x1d9dad){_0x78c442=_0x78c442-0x0;var _0x345210=_0x57a1[_0x78c442];return _0x345210;};'use strict';var multer=require(_0x157a('0x0'));var util=require('util');var path=require(_0x157a('0x1'));var timeout=require(_0x157a('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x157a('0x3'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x157a('0x4'));var controller=require(_0x157a('0x5'));router['get']('/',auth['isAuthenticated'](),controller[_0x157a('0x6')]);router['get']('/describe',auth['isAuthenticated'](),controller[_0x157a('0x7')]);router[_0x157a('0x8')](_0x157a('0x9'),auth[_0x157a('0xa')](),controller[_0x157a('0xb')]);router[_0x157a('0x8')](_0x157a('0xc'),auth[_0x157a('0xa')](),controller[_0x157a('0xd')]);router['get'](_0x157a('0xe'),auth[_0x157a('0xa')](),controller[_0x157a('0xf')]);router['post'](_0x157a('0x10'),auth[_0x157a('0xa')](),controller[_0x157a('0x11')]);router['post'](_0x157a('0x12'),auth[_0x157a('0xa')](),controller[_0x157a('0x13')]);router[_0x157a('0x14')]('/checkContactHopper',auth[_0x157a('0xa')](),controller[_0x157a('0x15')]);router[_0x157a('0x16')](_0x157a('0x9'),auth['isAuthenticated'](),controller[_0x157a('0x17')]);module['exports']=router;