Built motion from commit (unavailable).|2.3.91
[motion2.git] / server / api / voiceQueue / 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 _0x9a19=['getMembers','/:id/lists','getLists','/:id/blacklists','post','create','/:id/clone','clone','addTeams','addLists','addBlackLists','put','delete','destroy','removeTeams','removeAgents','removeLists','exports','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceQueue.controller','get','isAuthenticated','index','/:id','/:id/hoppers','/:id/hopper_histories','getHopperHistories','/:id/hopper_finals','getHopperFinals','/:id/hopper_black','getHopperBlacks','/:id/teams','getTeams','/:id/users','getAgents','/:id/members'];(function(_0x1b943e,_0x2025ce){var _0x5d09f7=function(_0x5e8009){while(--_0x5e8009){_0x1b943e['push'](_0x1b943e['shift']());}};_0x5d09f7(++_0x2025ce);}(_0x9a19,0x114));var _0x99a1=function(_0x531d15,_0x599af5){_0x531d15=_0x531d15-0x0;var _0x271a18=_0x9a19[_0x531d15];return _0x271a18;};'use strict';var multer=require(_0x99a1('0x0'));var util=require(_0x99a1('0x1'));var path=require(_0x99a1('0x2'));var timeout=require('connect-timeout');var express=require(_0x99a1('0x3'));var router=express[_0x99a1('0x4')]();var auth=require(_0x99a1('0x5'));var interaction=require(_0x99a1('0x6'));var config=require(_0x99a1('0x7'));var controller=require(_0x99a1('0x8'));router[_0x99a1('0x9')]('/',auth[_0x99a1('0xa')](),controller[_0x99a1('0xb')]);router[_0x99a1('0x9')](_0x99a1('0xc'),auth['isAuthenticated'](),controller['show']);router['get'](_0x99a1('0xd'),auth[_0x99a1('0xa')](),controller['getHoppers']);router['get'](_0x99a1('0xe'),auth[_0x99a1('0xa')](),controller[_0x99a1('0xf')]);router[_0x99a1('0x9')](_0x99a1('0x10'),auth['isAuthenticated'](),controller[_0x99a1('0x11')]);router[_0x99a1('0x9')](_0x99a1('0x12'),auth[_0x99a1('0xa')](),controller[_0x99a1('0x13')]);router[_0x99a1('0x9')](_0x99a1('0x14'),auth[_0x99a1('0xa')](),controller[_0x99a1('0x15')]);router[_0x99a1('0x9')](_0x99a1('0x16'),auth[_0x99a1('0xa')](),controller[_0x99a1('0x17')]);router[_0x99a1('0x9')](_0x99a1('0x18'),auth['isAuthenticated'](),controller[_0x99a1('0x19')]);router[_0x99a1('0x9')](_0x99a1('0x1a'),auth[_0x99a1('0xa')](),controller[_0x99a1('0x1b')]);router[_0x99a1('0x9')](_0x99a1('0x1c'),auth['isAuthenticated'](),controller['getBlackLists']);router[_0x99a1('0x1d')]('/',auth[_0x99a1('0xa')](),controller[_0x99a1('0x1e')]);router[_0x99a1('0x1d')](_0x99a1('0x1f'),auth[_0x99a1('0xa')](),controller[_0x99a1('0x20')]);router[_0x99a1('0x1d')](_0x99a1('0x14'),auth[_0x99a1('0xa')](),controller[_0x99a1('0x21')]);router['post'](_0x99a1('0x16'),auth[_0x99a1('0xa')](),controller['addAgents']);router[_0x99a1('0x1d')]('/:id/lists',auth[_0x99a1('0xa')](),controller[_0x99a1('0x22')]);router[_0x99a1('0x1d')](_0x99a1('0x1c'),auth['isAuthenticated'](),controller[_0x99a1('0x23')]);router[_0x99a1('0x24')]('/:id',auth[_0x99a1('0xa')](),controller['update']);router[_0x99a1('0x25')](_0x99a1('0xc'),auth[_0x99a1('0xa')](),controller[_0x99a1('0x26')]);router[_0x99a1('0x25')](_0x99a1('0x14'),auth['isAuthenticated'](),controller[_0x99a1('0x27')]);router['delete']('/:id/users',auth[_0x99a1('0xa')](),controller[_0x99a1('0x28')]);router[_0x99a1('0x25')](_0x99a1('0x1a'),auth[_0x99a1('0xa')](),controller[_0x99a1('0x29')]);router[_0x99a1('0x25')]('/:id/blacklists',auth[_0x99a1('0xa')](),controller['removeBlackLists']);module[_0x99a1('0x2a')]=router;