Built motion from commit (unavailable).|2.5.4
[motion2.git] / server / api / team / 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 _0x20cf=['index','/:id','show','isAuthenticated','getQueues','/:id/users','getAgents','post','create','addQueues','addAgents','put','update','destroy','delete','/:id/queues','removeQueues','removeAgents','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./team.controller','get'];(function(_0x4792c8,_0x5158a1){var _0x35edb1=function(_0x2472d3){while(--_0x2472d3){_0x4792c8['push'](_0x4792c8['shift']());}};_0x35edb1(++_0x5158a1);}(_0x20cf,0x152));var _0xf20c=function(_0x252076,_0x1347a8){_0x252076=_0x252076-0x0;var _0x53ee79=_0x20cf[_0x252076];return _0x53ee79;};'use strict';var multer=require(_0xf20c('0x0'));var util=require(_0xf20c('0x1'));var path=require('path');var timeout=require(_0xf20c('0x2'));var express=require(_0xf20c('0x3'));var router=express[_0xf20c('0x4')]();var auth=require(_0xf20c('0x5'));var interaction=require(_0xf20c('0x6'));var config=require(_0xf20c('0x7'));var controller=require(_0xf20c('0x8'));router[_0xf20c('0x9')]('/',auth['isAuthenticated'](),controller[_0xf20c('0xa')]);router[_0xf20c('0x9')](_0xf20c('0xb'),auth['isAuthenticated'](),controller[_0xf20c('0xc')]);router[_0xf20c('0x9')]('/:id/queues',auth[_0xf20c('0xd')](),controller[_0xf20c('0xe')]);router[_0xf20c('0x9')](_0xf20c('0xf'),auth[_0xf20c('0xd')](),controller[_0xf20c('0x10')]);router[_0xf20c('0x11')]('/',auth[_0xf20c('0xd')](),controller[_0xf20c('0x12')]);router[_0xf20c('0x11')]('/:id/queues',auth[_0xf20c('0xd')](),controller[_0xf20c('0x13')]);router[_0xf20c('0x11')](_0xf20c('0xf'),auth['isAuthenticated'](),controller[_0xf20c('0x14')]);router[_0xf20c('0x15')](_0xf20c('0xb'),auth[_0xf20c('0xd')](),controller[_0xf20c('0x16')]);router['delete'](_0xf20c('0xb'),auth['isAuthenticated'](),controller[_0xf20c('0x17')]);router[_0xf20c('0x18')](_0xf20c('0x19'),auth['isAuthenticated'](),controller[_0xf20c('0x1a')]);router[_0xf20c('0x18')](_0xf20c('0xf'),auth[_0xf20c('0xd')](),controller[_0xf20c('0x1b')]);module[_0xf20c('0x1c')]=router;