Built motion from commit (unavailable).|2.4.18
[motion2.git] / server / api / openchannelQueue / 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 _0x7fd6=['../../components/auth/service','../../components/interaction/service','./openchannelQueue.controller','/describe','isAuthenticated','describe','get','/:id','show','getMembers','/:id/teams','getTeams','/:id/users','getAgents','post','create','addTeams','addAgents','put','update','delete','destroy','removeTeams','removeAgents','multer','path','connect-timeout','express','Router'];(function(_0x3e00cf,_0x10af60){var _0x2c31e2=function(_0x4dd01d){while(--_0x4dd01d){_0x3e00cf['push'](_0x3e00cf['shift']());}};_0x2c31e2(++_0x10af60);}(_0x7fd6,0x157));var _0x67fd=function(_0x5574fc,_0x4b9324){_0x5574fc=_0x5574fc-0x0;var _0x581838=_0x7fd6[_0x5574fc];return _0x581838;};'use strict';var multer=require(_0x67fd('0x0'));var util=require('util');var path=require(_0x67fd('0x1'));var timeout=require(_0x67fd('0x2'));var express=require(_0x67fd('0x3'));var router=express[_0x67fd('0x4')]();var auth=require(_0x67fd('0x5'));var interaction=require(_0x67fd('0x6'));var config=require('../../config/environment');var controller=require(_0x67fd('0x7'));router['get']('/',auth['isAuthenticated'](),controller['index']);router['get'](_0x67fd('0x8'),auth[_0x67fd('0x9')](),controller[_0x67fd('0xa')]);router[_0x67fd('0xb')](_0x67fd('0xc'),auth[_0x67fd('0x9')](),controller[_0x67fd('0xd')]);router[_0x67fd('0xb')]('/:id/members',auth[_0x67fd('0x9')](),controller[_0x67fd('0xe')]);router[_0x67fd('0xb')](_0x67fd('0xf'),auth[_0x67fd('0x9')](),controller[_0x67fd('0x10')]);router['get'](_0x67fd('0x11'),auth[_0x67fd('0x9')](),controller[_0x67fd('0x12')]);router[_0x67fd('0x13')]('/',auth[_0x67fd('0x9')](),controller[_0x67fd('0x14')]);router[_0x67fd('0x13')](_0x67fd('0xf'),auth[_0x67fd('0x9')](),controller[_0x67fd('0x15')]);router[_0x67fd('0x13')]('/:id/users',auth[_0x67fd('0x9')](),controller[_0x67fd('0x16')]);router[_0x67fd('0x17')](_0x67fd('0xc'),auth['isAuthenticated'](),controller[_0x67fd('0x18')]);router[_0x67fd('0x19')]('/:id',auth[_0x67fd('0x9')](),controller[_0x67fd('0x1a')]);router[_0x67fd('0x19')](_0x67fd('0xf'),auth[_0x67fd('0x9')](),controller[_0x67fd('0x1b')]);router[_0x67fd('0x19')](_0x67fd('0x11'),auth['isAuthenticated'](),controller[_0x67fd('0x1c')]);module['exports']=router;