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