1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x3827=['delete','removeTeams','removeAgents','exports','multer','connect-timeout','express','Router','fs-extra','../../components/auth/service','get','isAuthenticated','index','/describe','describe','/:id','show','getMembers','/:id/teams','/:id/users','getAgents','post','create','addTeams','addAgents','put','update','destroy'];(function(_0xad3524,_0x3061f4){var _0x4e6c4e=function(_0xaec9f4){while(--_0xaec9f4){_0xad3524['push'](_0xad3524['shift']());}};_0x4e6c4e(++_0x3061f4);}(_0x3827,0x1c4));var _0x7382=function(_0x47aa64,_0xfb8a07){_0x47aa64=_0x47aa64-0x0;var _0x549c7a=_0x3827[_0x47aa64];return _0x549c7a;};'use strict';var multer=require(_0x7382('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x7382('0x1'));var express=require(_0x7382('0x2'));var router=express[_0x7382('0x3')]();var fs_extra=require(_0x7382('0x4'));var auth=require(_0x7382('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./smsQueue.controller');router[_0x7382('0x6')]('/',auth[_0x7382('0x7')](),controller[_0x7382('0x8')]);router[_0x7382('0x6')](_0x7382('0x9'),auth[_0x7382('0x7')](),controller[_0x7382('0xa')]);router['get'](_0x7382('0xb'),auth[_0x7382('0x7')](),controller[_0x7382('0xc')]);router[_0x7382('0x6')]('/:id/members',auth[_0x7382('0x7')](),controller[_0x7382('0xd')]);router[_0x7382('0x6')](_0x7382('0xe'),auth[_0x7382('0x7')](),controller['getTeams']);router['get'](_0x7382('0xf'),auth['isAuthenticated'](),controller[_0x7382('0x10')]);router[_0x7382('0x11')]('/',auth[_0x7382('0x7')](),controller[_0x7382('0x12')]);router[_0x7382('0x11')](_0x7382('0xe'),auth['isAuthenticated'](),controller[_0x7382('0x13')]);router['post'](_0x7382('0xf'),auth[_0x7382('0x7')](),controller[_0x7382('0x14')]);router[_0x7382('0x15')](_0x7382('0xb'),auth['isAuthenticated'](),controller[_0x7382('0x16')]);router['delete'](_0x7382('0xb'),auth[_0x7382('0x7')](),controller[_0x7382('0x17')]);router[_0x7382('0x18')]('/:id/teams',auth[_0x7382('0x7')](),controller[_0x7382('0x19')]);router['delete']('/:id/users',auth[_0x7382('0x7')](),controller[_0x7382('0x1a')]);module[_0x7382('0x1b')]=router;