594b13d8e41ba89fa82fe2a9e2b1fd02a4293c14
[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 _0xc1a1=['/:id','/:id/members','getMembers','/:id/teams','getTeams','/:id/users','getAgents','post','addTeams','addAgents','put','update','delete','destroy','removeTeams','removeAgents','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/describe','describe'];(function(_0x411199,_0x518711){var _0x568ce7=function(_0x31c17c){while(--_0x31c17c){_0x411199['push'](_0x411199['shift']());}};_0x568ce7(++_0x518711);}(_0xc1a1,0x1d1));var _0x1c1a=function(_0x256c72,_0x44704b){_0x256c72=_0x256c72-0x0;var _0x52e000=_0xc1a1[_0x256c72];return _0x52e000;};'use strict';var multer=require(_0x1c1a('0x0'));var util=require(_0x1c1a('0x1'));var path=require(_0x1c1a('0x2'));var timeout=require(_0x1c1a('0x3'));var express=require(_0x1c1a('0x4'));var router=express[_0x1c1a('0x5')]();var fs_extra=require(_0x1c1a('0x6'));var auth=require(_0x1c1a('0x7'));var interaction=require(_0x1c1a('0x8'));var config=require(_0x1c1a('0x9'));var controller=require('./openchannelQueue.controller');router['get']('/',auth[_0x1c1a('0xa')](),controller[_0x1c1a('0xb')]);router[_0x1c1a('0xc')](_0x1c1a('0xd'),auth[_0x1c1a('0xa')](),controller[_0x1c1a('0xe')]);router[_0x1c1a('0xc')](_0x1c1a('0xf'),auth[_0x1c1a('0xa')](),controller['show']);router[_0x1c1a('0xc')](_0x1c1a('0x10'),auth[_0x1c1a('0xa')](),controller[_0x1c1a('0x11')]);router[_0x1c1a('0xc')](_0x1c1a('0x12'),auth[_0x1c1a('0xa')](),controller[_0x1c1a('0x13')]);router['get'](_0x1c1a('0x14'),auth[_0x1c1a('0xa')](),controller[_0x1c1a('0x15')]);router[_0x1c1a('0x16')]('/',auth[_0x1c1a('0xa')](),controller['create']);router[_0x1c1a('0x16')](_0x1c1a('0x12'),auth[_0x1c1a('0xa')](),controller[_0x1c1a('0x17')]);router[_0x1c1a('0x16')](_0x1c1a('0x14'),auth[_0x1c1a('0xa')](),controller[_0x1c1a('0x18')]);router[_0x1c1a('0x19')](_0x1c1a('0xf'),auth['isAuthenticated'](),controller[_0x1c1a('0x1a')]);router[_0x1c1a('0x1b')](_0x1c1a('0xf'),auth[_0x1c1a('0xa')](),controller[_0x1c1a('0x1c')]);router[_0x1c1a('0x1b')]('/:id/teams',auth[_0x1c1a('0xa')](),controller[_0x1c1a('0x1d')]);router[_0x1c1a('0x1b')](_0x1c1a('0x14'),auth[_0x1c1a('0xa')](),controller[_0x1c1a('0x1e')]);module[_0x1c1a('0x1f')]=router;