63015df05a5876779960eee2d4e2fe489f3b122c
[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 _0xb0e5=['./smsQueue.controller','isAuthenticated','index','describe','get','/:id','show','/:id/members','getTeams','/:id/users','getAgents','create','post','/:id/teams','addTeams','addAgents','put','update','delete','destroy','removeTeams','removeAgents','exports','multer','util','path','connect-timeout','express','../../components/interaction/service'];(function(_0x50b206,_0x5e8ee4){var _0x280f24=function(_0x3ba094){while(--_0x3ba094){_0x50b206['push'](_0x50b206['shift']());}};_0x280f24(++_0x5e8ee4);}(_0xb0e5,0x1ad));var _0x5b0e=function(_0x8cb31b,_0x509016){_0x8cb31b=_0x8cb31b-0x0;var _0x2ce32e=_0xb0e5[_0x8cb31b];return _0x2ce32e;};'use strict';var multer=require(_0x5b0e('0x0'));var util=require(_0x5b0e('0x1'));var path=require(_0x5b0e('0x2'));var timeout=require(_0x5b0e('0x3'));var express=require(_0x5b0e('0x4'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x5b0e('0x5'));var config=require('../../config/environment');var controller=require(_0x5b0e('0x6'));router['get']('/',auth[_0x5b0e('0x7')](),controller[_0x5b0e('0x8')]);router['get']('/describe',auth[_0x5b0e('0x7')](),controller[_0x5b0e('0x9')]);router[_0x5b0e('0xa')](_0x5b0e('0xb'),auth[_0x5b0e('0x7')](),controller[_0x5b0e('0xc')]);router[_0x5b0e('0xa')](_0x5b0e('0xd'),auth[_0x5b0e('0x7')](),controller['getMembers']);router[_0x5b0e('0xa')]('/:id/teams',auth['isAuthenticated'](),controller[_0x5b0e('0xe')]);router[_0x5b0e('0xa')](_0x5b0e('0xf'),auth['isAuthenticated'](),controller[_0x5b0e('0x10')]);router['post']('/',auth['isAuthenticated'](),controller[_0x5b0e('0x11')]);router[_0x5b0e('0x12')](_0x5b0e('0x13'),auth[_0x5b0e('0x7')](),controller[_0x5b0e('0x14')]);router[_0x5b0e('0x12')](_0x5b0e('0xf'),auth[_0x5b0e('0x7')](),controller[_0x5b0e('0x15')]);router[_0x5b0e('0x16')](_0x5b0e('0xb'),auth[_0x5b0e('0x7')](),controller[_0x5b0e('0x17')]);router[_0x5b0e('0x18')](_0x5b0e('0xb'),auth[_0x5b0e('0x7')](),controller[_0x5b0e('0x19')]);router[_0x5b0e('0x18')](_0x5b0e('0x13'),auth[_0x5b0e('0x7')](),controller[_0x5b0e('0x1a')]);router[_0x5b0e('0x18')]('/:id/users',auth['isAuthenticated'](),controller[_0x5b0e('0x1b')]);module[_0x5b0e('0x1c')]=router;