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 _0x809a=['/:id','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappApplication.controller','get','isAuthenticated','index'];(function(_0x487702,_0x49f5d4){var _0x5e7150=function(_0x2b2b29){while(--_0x2b2b29){_0x487702['push'](_0x487702['shift']());}};_0x5e7150(++_0x49f5d4);}(_0x809a,0x93));var _0xa809=function(_0x2875ee,_0x6708a2){_0x2875ee=_0x2875ee-0x0;var _0x6531b4=_0x809a[_0x2875ee];return _0x6531b4;};'use strict';var multer=require(_0xa809('0x0'));var util=require(_0xa809('0x1'));var path=require(_0xa809('0x2'));var timeout=require(_0xa809('0x3'));var express=require(_0xa809('0x4'));var router=express[_0xa809('0x5')]();var auth=require(_0xa809('0x6'));var interaction=require(_0xa809('0x7'));var config=require(_0xa809('0x8'));var controller=require(_0xa809('0x9'));router[_0xa809('0xa')]('/',auth[_0xa809('0xb')](),controller[_0xa809('0xc')]);router[_0xa809('0xa')](_0xa809('0xd'),auth['isAuthenticated'](),controller['show']);router['post']('/',auth['isAuthenticated'](),controller[_0xa809('0xe')]);router[_0xa809('0xf')]('/:id',auth[_0xa809('0xb')](),controller[_0xa809('0x10')]);router[_0xa809('0x11')](_0xa809('0xd'),auth[_0xa809('0xb')](),controller[_0xa809('0x12')]);module[_0xa809('0x13')]=router;