Built motion from commit (unavailable).|2.4.17
[motion2.git] / server / api / chatQueue / 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 _0x6dc7=['addTeams','post','addAgents','delete','destroy','removeTeams','removeAgents','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','./chatQueue.controller','get','isAuthenticated','index','/describe','/:id','show','getMembers','/:id/teams','getTeams','/:id/users','getAgents'];(function(_0x1eda20,_0x1149f4){var _0x31b953=function(_0x25f0d8){while(--_0x25f0d8){_0x1eda20['push'](_0x1eda20['shift']());}};_0x31b953(++_0x1149f4);}(_0x6dc7,0x8f));var _0x76dc=function(_0x2df1f2,_0x58d388){_0x2df1f2=_0x2df1f2-0x0;var _0x38652b=_0x6dc7[_0x2df1f2];return _0x38652b;};'use strict';var multer=require(_0x76dc('0x0'));var util=require(_0x76dc('0x1'));var path=require(_0x76dc('0x2'));var timeout=require(_0x76dc('0x3'));var express=require(_0x76dc('0x4'));var router=express[_0x76dc('0x5')]();var auth=require(_0x76dc('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x76dc('0x7'));router[_0x76dc('0x8')]('/',auth[_0x76dc('0x9')](),controller[_0x76dc('0xa')]);router[_0x76dc('0x8')](_0x76dc('0xb'),auth[_0x76dc('0x9')](),controller['describe']);router['get'](_0x76dc('0xc'),auth['isAuthenticated'](),controller[_0x76dc('0xd')]);router[_0x76dc('0x8')]('/:id/members',auth[_0x76dc('0x9')](),controller[_0x76dc('0xe')]);router['get'](_0x76dc('0xf'),auth[_0x76dc('0x9')](),controller[_0x76dc('0x10')]);router['get'](_0x76dc('0x11'),auth[_0x76dc('0x9')](),controller[_0x76dc('0x12')]);router['post']('/',auth[_0x76dc('0x9')](),controller['create']);router['post'](_0x76dc('0xf'),auth[_0x76dc('0x9')](),controller[_0x76dc('0x13')]);router[_0x76dc('0x14')](_0x76dc('0x11'),auth[_0x76dc('0x9')](),controller[_0x76dc('0x15')]);router['put'](_0x76dc('0xc'),auth['isAuthenticated'](),controller['update']);router[_0x76dc('0x16')](_0x76dc('0xc'),auth[_0x76dc('0x9')](),controller[_0x76dc('0x17')]);router[_0x76dc('0x16')]('/:id/teams',auth[_0x76dc('0x9')](),controller[_0x76dc('0x18')]);router[_0x76dc('0x16')](_0x76dc('0x11'),auth[_0x76dc('0x9')](),controller[_0x76dc('0x19')]);module[_0x76dc('0x1a')]=router;