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 _0x9beb=['path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappApplication.controller','get','index','/:id','isAuthenticated','show','post','create','put','delete','destroy','exports','multer'];(function(_0x455456,_0x5a2211){var _0x3bbc12=function(_0x2e69aa){while(--_0x2e69aa){_0x455456['push'](_0x455456['shift']());}};_0x3bbc12(++_0x5a2211);}(_0x9beb,0x18e));var _0xb9be=function(_0x344f52,_0x5733e1){_0x344f52=_0x344f52-0x0;var _0x4da12b=_0x9beb[_0x344f52];return _0x4da12b;};'use strict';var multer=require(_0xb9be('0x0'));var util=require('util');var path=require(_0xb9be('0x1'));var timeout=require(_0xb9be('0x2'));var express=require(_0xb9be('0x3'));var router=express['Router']();var auth=require(_0xb9be('0x4'));var interaction=require(_0xb9be('0x5'));var config=require(_0xb9be('0x6'));var controller=require(_0xb9be('0x7'));router[_0xb9be('0x8')]('/',auth['isAuthenticated'](),controller[_0xb9be('0x9')]);router[_0xb9be('0x8')](_0xb9be('0xa'),auth[_0xb9be('0xb')](),controller[_0xb9be('0xc')]);router[_0xb9be('0xd')]('/',auth[_0xb9be('0xb')](),controller[_0xb9be('0xe')]);router[_0xb9be('0xf')]('/:id',auth[_0xb9be('0xb')](),controller['update']);router[_0xb9be('0x10')](_0xb9be('0xa'),auth[_0xb9be('0xb')](),controller[_0xb9be('0x11')]);module[_0xb9be('0x12')]=router;