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 _0x6422=['./faxQueue.controller','index','/describe','isAuthenticated','describe','get','show','/:id/members','getMembers','/:id/teams','getTeams','getAgents','post','addTeams','addAgents','put','/:id','update','delete','destroy','removeTeams','/:id/users','removeAgents','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x618414,_0x1a7a60){var _0x21c19a=function(_0x507b17){while(--_0x507b17){_0x618414['push'](_0x618414['shift']());}};_0x21c19a(++_0x1a7a60);}(_0x6422,0x117));var _0x2642=function(_0x27e8c1,_0x5e2bfd){_0x27e8c1=_0x27e8c1-0x0;var _0x492bfd=_0x6422[_0x27e8c1];return _0x492bfd;};'use strict';var multer=require(_0x2642('0x0'));var util=require(_0x2642('0x1'));var path=require(_0x2642('0x2'));var timeout=require(_0x2642('0x3'));var express=require(_0x2642('0x4'));var router=express[_0x2642('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x2642('0x6'));var interaction=require(_0x2642('0x7'));var config=require(_0x2642('0x8'));var controller=require(_0x2642('0x9'));router['get']('/',auth['isAuthenticated'](),controller[_0x2642('0xa')]);router['get'](_0x2642('0xb'),auth[_0x2642('0xc')](),controller[_0x2642('0xd')]);router[_0x2642('0xe')]('/:id',auth['isAuthenticated'](),controller[_0x2642('0xf')]);router[_0x2642('0xe')](_0x2642('0x10'),auth[_0x2642('0xc')](),controller[_0x2642('0x11')]);router[_0x2642('0xe')](_0x2642('0x12'),auth[_0x2642('0xc')](),controller[_0x2642('0x13')]);router['get']('/:id/users',auth[_0x2642('0xc')](),controller[_0x2642('0x14')]);router['post']('/',auth[_0x2642('0xc')](),controller['create']);router[_0x2642('0x15')](_0x2642('0x12'),auth[_0x2642('0xc')](),controller[_0x2642('0x16')]);router[_0x2642('0x15')]('/:id/users',auth[_0x2642('0xc')](),controller[_0x2642('0x17')]);router[_0x2642('0x18')](_0x2642('0x19'),auth['isAuthenticated'](),controller[_0x2642('0x1a')]);router[_0x2642('0x1b')](_0x2642('0x19'),auth[_0x2642('0xc')](),controller[_0x2642('0x1c')]);router[_0x2642('0x1b')](_0x2642('0x12'),auth[_0x2642('0xc')](),controller[_0x2642('0x1d')]);router[_0x2642('0x1b')](_0x2642('0x1e'),auth['isAuthenticated'](),controller[_0x2642('0x1f')]);module['exports']=router;