UNPKG

@tuanltntu/n8n-nodes-bitrix24

Version:

Comprehensive n8n community node for Bitrix24 API integration with CRM, Tasks, Chat, Telephony, and more

70 lines 2.55 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Bitrix24Api = void 0; class Bitrix24Api { constructor() { this.name = "bitrix24Api"; this.displayName = "Bitrix24 API"; this.documentationUrl = "bitrix24"; this.icon = { light: "file:../nodes/Bitrix24/bitrix24.svg", dark: "file:../nodes/Bitrix24/bitrix24.svg", }; this.properties = [ { displayName: "Portal URL", name: "portalUrl", type: "string", default: "", placeholder: "https://your-portal.bitrix24.com", description: "The URL of your Bitrix24 portal", required: true, }, { displayName: "Access Token", name: "accessToken", type: "string", typeOptions: { password: true, }, default: "", description: "The access token for Bitrix24 API", required: true, }, { displayName: "Refresh Token", name: "refreshToken", type: "string", typeOptions: { password: true, }, default: "", description: "The refresh token for Bitrix24 API. Used to automatically refresh the access token via oauth.bitrix.info when it expires.", required: false, }, { displayName: "Client ID", name: "clientId", type: "string", default: "", description: "The client ID of your Bitrix24 application (needed for token refresh via oauth.bitrix.info)", required: false, }, { displayName: "Client Secret", name: "clientSecret", type: "string", typeOptions: { password: true, }, default: "", description: "The client secret of your Bitrix24 application (needed for token refresh via oauth.bitrix.info)", required: false, }, ]; // Bitrix24 doesn't use Bearer token authentication // It passes the access token in the URL or request body } } exports.Bitrix24Api = Bitrix24Api; //# sourceMappingURL=Bitrix24Api.credentials.js.map