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