ae72ada68990e6c9b68b6e63108af7b5fc5889e2
[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 _0x91a5=['isAuthenticated','get','/describe','describe','/:id','/:id/members','getMembers','/:id/teams','getAgents','post','create','addTeams','/:id/users','addAgents','update','destroy','delete','removeTeams','removeAgents','exports','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./smsQueue.controller'];(function(_0x3d61b1,_0x2c749d){var _0x1309cb=function(_0x12084e){while(--_0x12084e){_0x3d61b1['push'](_0x3d61b1['shift']());}};_0x1309cb(++_0x2c749d);}(_0x91a5,0xc2));var _0x591a=function(_0x474c66,_0xbce925){_0x474c66=_0x474c66-0x0;var _0xcbd9bf=_0x91a5[_0x474c66];return _0xcbd9bf;};'use strict';var multer=require('multer');var util=require(_0x591a('0x0'));var path=require(_0x591a('0x1'));var timeout=require(_0x591a('0x2'));var express=require(_0x591a('0x3'));var router=express['Router']();var fs_extra=require(_0x591a('0x4'));var auth=require(_0x591a('0x5'));var interaction=require(_0x591a('0x6'));var config=require(_0x591a('0x7'));var controller=require(_0x591a('0x8'));router['get']('/',auth[_0x591a('0x9')](),controller['index']);router[_0x591a('0xa')](_0x591a('0xb'),auth['isAuthenticated'](),controller[_0x591a('0xc')]);router[_0x591a('0xa')](_0x591a('0xd'),auth[_0x591a('0x9')](),controller['show']);router[_0x591a('0xa')](_0x591a('0xe'),auth[_0x591a('0x9')](),controller[_0x591a('0xf')]);router[_0x591a('0xa')](_0x591a('0x10'),auth['isAuthenticated'](),controller['getTeams']);router[_0x591a('0xa')]('/:id/users',auth[_0x591a('0x9')](),controller[_0x591a('0x11')]);router[_0x591a('0x12')]('/',auth[_0x591a('0x9')](),controller[_0x591a('0x13')]);router[_0x591a('0x12')](_0x591a('0x10'),auth[_0x591a('0x9')](),controller[_0x591a('0x14')]);router['post'](_0x591a('0x15'),auth[_0x591a('0x9')](),controller[_0x591a('0x16')]);router['put'](_0x591a('0xd'),auth['isAuthenticated'](),controller[_0x591a('0x17')]);router['delete'](_0x591a('0xd'),auth['isAuthenticated'](),controller[_0x591a('0x18')]);router[_0x591a('0x19')](_0x591a('0x10'),auth['isAuthenticated'](),controller[_0x591a('0x1a')]);router['delete']('/:id/users',auth['isAuthenticated'](),controller[_0x591a('0x1b')]);module[_0x591a('0x1c')]=router;