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