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