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