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