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