Built motion from commit (unavailable).|2.2.0
[motion2.git] / server / api / faxQueue / 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 _0x6f02=['../../config/environment','get','isAuthenticated','index','/describe','describe','/:id','show','getMembers','/:id/teams','getTeams','/:id/users','getAgents','post','create','addTeams','addAgents','put','delete','destroy','removeTeams','removeAgents','multer','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x21ec2f,_0xd3bb32){var _0x1435bf=function(_0x4be528){while(--_0x4be528){_0x21ec2f['push'](_0x21ec2f['shift']());}};_0x1435bf(++_0xd3bb32);}(_0x6f02,0xbe));var _0x26f0=function(_0x295747,_0xdd833a){_0x295747=_0x295747-0x0;var _0x34eead=_0x6f02[_0x295747];return _0x34eead;};'use strict';var multer=require(_0x26f0('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x26f0('0x1'));var express=require(_0x26f0('0x2'));var router=express[_0x26f0('0x3')]();var auth=require(_0x26f0('0x4'));var interaction=require(_0x26f0('0x5'));var config=require(_0x26f0('0x6'));var controller=require('./faxQueue.controller');router[_0x26f0('0x7')]('/',auth[_0x26f0('0x8')](),controller[_0x26f0('0x9')]);router['get'](_0x26f0('0xa'),auth[_0x26f0('0x8')](),controller[_0x26f0('0xb')]);router[_0x26f0('0x7')](_0x26f0('0xc'),auth[_0x26f0('0x8')](),controller[_0x26f0('0xd')]);router[_0x26f0('0x7')]('/:id/members',auth[_0x26f0('0x8')](),controller[_0x26f0('0xe')]);router[_0x26f0('0x7')](_0x26f0('0xf'),auth['isAuthenticated'](),controller[_0x26f0('0x10')]);router['get'](_0x26f0('0x11'),auth['isAuthenticated'](),controller[_0x26f0('0x12')]);router[_0x26f0('0x13')]('/',auth[_0x26f0('0x8')](),controller[_0x26f0('0x14')]);router['post'](_0x26f0('0xf'),auth[_0x26f0('0x8')](),controller[_0x26f0('0x15')]);router[_0x26f0('0x13')]('/:id/users',auth[_0x26f0('0x8')](),controller[_0x26f0('0x16')]);router[_0x26f0('0x17')](_0x26f0('0xc'),auth[_0x26f0('0x8')](),controller['update']);router[_0x26f0('0x18')](_0x26f0('0xc'),auth['isAuthenticated'](),controller[_0x26f0('0x19')]);router[_0x26f0('0x18')](_0x26f0('0xf'),auth[_0x26f0('0x8')](),controller[_0x26f0('0x1a')]);router[_0x26f0('0x18')]('/:id/users',auth[_0x26f0('0x8')](),controller[_0x26f0('0x1b')]);module['exports']=router;