@tuanltntu/n8n-nodes-bitrix24
Version:
Comprehensive n8n community node for Bitrix24 API integration with CRM, Tasks, Chat, Telephony, and more
36 lines • 1.37 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Bitrix24Webhook = void 0;
class Bitrix24Webhook {
constructor() {
this.name = "bitrix24Webhook";
this.displayName = "Bitrix24 Webhook";
this.documentationUrl = "https://apidocs.bitrix24.com/api-reference/";
this.icon = {
light: "file:../nodes/Bitrix24/bitrix24.svg",
dark: "file:../nodes/Bitrix24/bitrix24.svg",
};
this.properties = [
{
displayName: "Webhook URL",
name: "webhookUrl",
type: "string",
default: "",
placeholder: "https://your-portal.bitrix24.com/rest/1/webhookcode/",
description: "The webhook URL for your Bitrix24 account. Format should be: https://your-portal.bitrix24.com/rest/USER_ID/WEBHOOK_CODE/",
required: true,
},
];
// This authenticate function is called by n8n when credentials are used
this.authenticate = {
type: "generic",
properties: {
qs: {
// No additional parameters needed as the auth is in the URL itself
},
},
};
}
}
exports.Bitrix24Webhook = Bitrix24Webhook;
//# sourceMappingURL=Bitrix24Webhook.credentials.js.map