Built motion from commit dbf3a7e2.|2.6.30
[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 _0xd880=['addTeams','addAgents','put','/:id','update','delete','destroy','removeTeams','removeAgents','exports','util','path','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./openchannelQueue.controller','isAuthenticated','index','/describe','get','show','/:id/members','getMembers','/:id/teams','getTeams','/:id/users','getAgents','post','create'];(function(_0x39834f,_0x19fc17){var _0x29b174=function(_0x207e35){while(--_0x207e35){_0x39834f['push'](_0x39834f['shift']());}};_0x29b174(++_0x19fc17);}(_0xd880,0x19d));var _0x0d88=function(_0x3ffbb3,_0x54932){_0x3ffbb3=_0x3ffbb3-0x0;var _0x41a77d=_0xd880[_0x3ffbb3];return _0x41a77d;};'use strict';var multer=require('multer');var util=require(_0x0d88('0x0'));var path=require(_0x0d88('0x1'));var timeout=require('connect-timeout');var express=require(_0x0d88('0x2'));var router=express[_0x0d88('0x3')]();var fs_extra=require(_0x0d88('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x0d88('0x5'));var config=require(_0x0d88('0x6'));var controller=require(_0x0d88('0x7'));router['get']('/',auth[_0x0d88('0x8')](),controller[_0x0d88('0x9')]);router['get'](_0x0d88('0xa'),auth[_0x0d88('0x8')](),controller['describe']);router[_0x0d88('0xb')]('/:id',auth['isAuthenticated'](),controller[_0x0d88('0xc')]);router[_0x0d88('0xb')](_0x0d88('0xd'),auth['isAuthenticated'](),controller[_0x0d88('0xe')]);router[_0x0d88('0xb')](_0x0d88('0xf'),auth[_0x0d88('0x8')](),controller[_0x0d88('0x10')]);router[_0x0d88('0xb')](_0x0d88('0x11'),auth[_0x0d88('0x8')](),controller[_0x0d88('0x12')]);router[_0x0d88('0x13')]('/',auth[_0x0d88('0x8')](),controller[_0x0d88('0x14')]);router[_0x0d88('0x13')](_0x0d88('0xf'),auth[_0x0d88('0x8')](),controller[_0x0d88('0x15')]);router[_0x0d88('0x13')](_0x0d88('0x11'),auth[_0x0d88('0x8')](),controller[_0x0d88('0x16')]);router[_0x0d88('0x17')](_0x0d88('0x18'),auth[_0x0d88('0x8')](),controller[_0x0d88('0x19')]);router[_0x0d88('0x1a')](_0x0d88('0x18'),auth[_0x0d88('0x8')](),controller[_0x0d88('0x1b')]);router[_0x0d88('0x1a')](_0x0d88('0xf'),auth['isAuthenticated'](),controller[_0x0d88('0x1c')]);router[_0x0d88('0x1a')](_0x0d88('0x11'),auth[_0x0d88('0x8')](),controller[_0x0d88('0x1d')]);module[_0x0d88('0x1e')]=router;