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