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 _0xc681=['put','update','exports','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','/:id','show','post','create'];(function(_0x2641f9,_0x26715f){var _0x585741=function(_0x2d1462){while(--_0x2d1462){_0x2641f9['push'](_0x2641f9['shift']());}};_0x585741(++_0x26715f);}(_0xc681,0xd5));var _0x1c68=function(_0x502645,_0x26d54a){_0x502645=_0x502645-0x0;var _0x96d618=_0xc681[_0x502645];return _0x96d618;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0x1c68('0x0'));var router=express[_0x1c68('0x1')]();var fs_extra=require(_0x1c68('0x2'));var auth=require(_0x1c68('0x3'));var interaction=require(_0x1c68('0x4'));var config=require('../../config/environment');var controller=require('./whatsappApplication.controller');router[_0x1c68('0x5')]('/',auth[_0x1c68('0x6')](),controller[_0x1c68('0x7')]);router[_0x1c68('0x5')](_0x1c68('0x8'),auth[_0x1c68('0x6')](),controller[_0x1c68('0x9')]);router[_0x1c68('0xa')]('/',auth[_0x1c68('0x6')](),controller[_0x1c68('0xb')]);router[_0x1c68('0xc')]('/:id',auth[_0x1c68('0x6')](),controller[_0x1c68('0xd')]);router['delete'](_0x1c68('0x8'),auth[_0x1c68('0x6')](),controller['destroy']);module[_0x1c68('0xe')]=router;