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