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