n8n-nodes-megaapi
Version:
N8N Community Node for MegaAPI WhatsApp automation - Complete WhatsApp integration with messaging, groups, media, and more
60 lines • 1.78 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.configWebhookProperties = void 0;
exports.configWebhookProperties = [
{
displayName: 'Webhook URL',
name: 'webhookUrl',
type: 'string',
required: true,
displayOptions: {
show: {
resource: ['webhook'],
operation: ['configWebhook'],
},
},
default: '',
placeholder: 'https://your-webhook-url.com/webhook',
description: 'The URL where webhook notifications will be sent',
},
{
displayName: 'Webhook Enabled',
name: 'webhookEnabled',
type: 'options',
required: true,
displayOptions: {
show: {
resource: ['webhook'],
operation: ['configWebhook'],
},
},
options: [
{
name: 'Enabled',
value: true,
description: 'Enable webhook notifications',
},
{
name: 'Disabled',
value: false,
description: 'Disable webhook notifications',
},
],
default: true,
description: 'Whether to enable or disable webhook notifications',
},
{
displayName: 'Information',
name: 'information',
type: 'notice',
displayOptions: {
show: {
resource: ['webhook'],
operation: ['configWebhook'],
},
},
default: '',
description: '⚙️ This will configure the webhook URL and enable/disable webhook notifications for your WhatsApp instance',
},
];
//# sourceMappingURL=configWebhook.js.map