Built motion from commit (unavailable).|2.3.1
[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 _0x159f=['/:id/members','/:id/users','post','create','/:id/teams','addTeams','addAgents','put','delete','destroy','removeAgents','exports','multer','util','path','connect-timeout','express','../../components/auth/service','./faxQueue.controller','get','isAuthenticated','index','/describe','/:id','show'];(function(_0x3fadd6,_0x2bf0b2){var _0x5b90f9=function(_0x226bc6){while(--_0x226bc6){_0x3fadd6['push'](_0x3fadd6['shift']());}};_0x5b90f9(++_0x2bf0b2);}(_0x159f,0x19c));var _0xf159=function(_0x4086f9,_0x246b55){_0x4086f9=_0x4086f9-0x0;var _0x1f1eea=_0x159f[_0x4086f9];return _0x1f1eea;};'use strict';var multer=require(_0xf159('0x0'));var util=require(_0xf159('0x1'));var path=require(_0xf159('0x2'));var timeout=require(_0xf159('0x3'));var express=require(_0xf159('0x4'));var router=express['Router']();var auth=require(_0xf159('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xf159('0x6'));router[_0xf159('0x7')]('/',auth[_0xf159('0x8')](),controller[_0xf159('0x9')]);router[_0xf159('0x7')](_0xf159('0xa'),auth[_0xf159('0x8')](),controller['describe']);router[_0xf159('0x7')](_0xf159('0xb'),auth[_0xf159('0x8')](),controller[_0xf159('0xc')]);router[_0xf159('0x7')](_0xf159('0xd'),auth[_0xf159('0x8')](),controller['getMembers']);router[_0xf159('0x7')]('/:id/teams',auth[_0xf159('0x8')](),controller['getTeams']);router[_0xf159('0x7')](_0xf159('0xe'),auth[_0xf159('0x8')](),controller['getAgents']);router[_0xf159('0xf')]('/',auth[_0xf159('0x8')](),controller[_0xf159('0x10')]);router['post'](_0xf159('0x11'),auth[_0xf159('0x8')](),controller[_0xf159('0x12')]);router['post']('/:id/users',auth['isAuthenticated'](),controller[_0xf159('0x13')]);router[_0xf159('0x14')](_0xf159('0xb'),auth[_0xf159('0x8')](),controller['update']);router[_0xf159('0x15')](_0xf159('0xb'),auth[_0xf159('0x8')](),controller[_0xf159('0x16')]);router[_0xf159('0x15')]('/:id/teams',auth[_0xf159('0x8')](),controller['removeTeams']);router[_0xf159('0x15')](_0xf159('0xe'),auth[_0xf159('0x8')](),controller[_0xf159('0x17')]);module[_0xf159('0x18')]=router;