UNPKG

n8n-nodes-msdyn365bc

Version:

An n8n integration node for Microsoft Dynamics 365 Business Central

27 lines 1.3 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BusinessCentralApi = void 0; function stringProperty(displayName, name, description = '', required = true, defaultValue = '') { return { displayName, name, type: 'string', required, default: defaultValue, description }; } class BusinessCentralApi { constructor() { this.name = 'businessCentralApi'; this.displayName = 'Business Central OAuth2 API'; this.extends = ['microsoftOAuth2Api']; this.documentationUrl = 'https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/api-reference/v2.0/'; this.properties = [ stringProperty('Tenant ID', 'tenantId', 'Your Azure Active Directory (AAD) tenant ID'), stringProperty('Environment Name', 'environmentName', 'Your Business Central environment'), stringProperty('Company ID', 'companyId', 'Your business central company name'), { displayName: 'OAuth2 Scope', name: 'scope', type: 'hidden', default: 'https://api.businesscentral.dynamics.com/.default', }, ]; } } exports.BusinessCentralApi = BusinessCentralApi; //# sourceMappingURL=BusinessCentralApi.credentials.js.map