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