aa4d4f8c5760be6108b49928a23cb9d9776da999
[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 _0x1a22=['./cmHopperFinal.controller','get','isAuthenticated','index','/: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','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service'];(function(_0x1cc408,_0x30d40a){var _0x5d0d1a=function(_0x4cd765){while(--_0x4cd765){_0x1cc408['push'](_0x1cc408['shift']());}};_0x5d0d1a(++_0x30d40a);}(_0x1a22,0x125));var _0x21a2=function(_0x38db77,_0x18239f){_0x38db77=_0x38db77-0x0;var _0x916e60=_0x1a22[_0x38db77];return _0x916e60;};'use strict';var multer=require(_0x21a2('0x0'));var util=require(_0x21a2('0x1'));var path=require('path');var timeout=require(_0x21a2('0x2'));var express=require(_0x21a2('0x3'));var router=express[_0x21a2('0x4')]();var fs_extra=require(_0x21a2('0x5'));var auth=require(_0x21a2('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x21a2('0x7'));router[_0x21a2('0x8')]('/',auth[_0x21a2('0x9')](),controller[_0x21a2('0xa')]);router[_0x21a2('0x8')]('/describe',auth[_0x21a2('0x9')](),controller['describe']);router[_0x21a2('0x8')](_0x21a2('0xb'),auth[_0x21a2('0x9')](),controller[_0x21a2('0xc')]);router['get'](_0x21a2('0xd'),auth[_0x21a2('0x9')](),controller['countContactsQueueCampaignHopperFinal']);router['get'](_0x21a2('0xe'),auth[_0x21a2('0x9')](),controller[_0x21a2('0xf')]);router[_0x21a2('0x10')](_0x21a2('0x11'),auth['isAuthenticated'](),controller[_0x21a2('0x12')]);router[_0x21a2('0x10')](_0x21a2('0x13'),auth['isAuthenticated'](),controller[_0x21a2('0x14')]);router[_0x21a2('0x10')]('/checkContactHopper',auth['isAuthenticated'](),controller[_0x21a2('0x15')]);router[_0x21a2('0x16')](_0x21a2('0xb'),auth[_0x21a2('0x9')](),controller[_0x21a2('0x17')]);module[_0x21a2('0x18')]=router;