n8n-nodes-bitrix
Version:
n8n node for bitrix rest api
29 lines • 1 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.BitrixWebhookApi = void 0;
class BitrixWebhookApi {
constructor() {
this.name = "bitrixWebhookApi";
this.displayName = 'Bitrix Webhook API';
this.icon = 'file:b24_cloud.svg';
this.documentationUrl = 'https://apidocs.bitrix24.com/local-integrations/local-webhooks.html';
this.properties = [
{
displayName: 'Webhook URL',
name: 'webhookUrl',
type: 'string',
default: '',
placeholder: 'https://<YOUR-DOMAIN>.bitrix24.ru/rest/<USER_ID>/<WEBHOOK_CODE>/',
required: true,
},
];
this.test = {
request: {
baseURL: '={{$credentials.webhookUrl}}',
url: 'profile.json',
},
};
}
}
exports.BitrixWebhookApi = BitrixWebhookApi;
//# sourceMappingURL=BitrixWebhookApi.credentials.js.map