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