UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

72 lines 2.4 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.HighLevelOAuth2Api = void 0; class HighLevelOAuth2Api { name = 'highLevelOAuth2Api'; extends = ['oAuth2Api']; displayName = 'HighLevel OAuth2 API'; documentationUrl = 'highlevel'; icon = 'file:icons/highLevel.svg'; properties = [ { displayName: 'Grant Type', name: 'grantType', type: 'hidden', default: 'authorizationCode', }, { displayName: 'Authorization URL', name: 'authUrl', type: 'options', default: 'https://marketplace.leadconnectorhq.com/oauth/chooselocation', required: true, options: [ { name: 'White-Label', value: 'https://marketplace.leadconnectorhq.com/oauth/chooselocation', }, { name: 'Standard', value: 'https://marketplace.gohighlevel.com/oauth/chooselocation', }, ], }, { displayName: 'Scope', name: 'scope', type: 'string', hint: "Separate scopes by space, scopes needed for node: 'locations.readonly contacts.readonly contacts.write opportunities.readonly opportunities.write users.readonly'", default: '', required: true, }, { displayName: 'Access Token URL', name: 'accessTokenUrl', type: 'hidden', default: 'https://services.leadconnectorhq.com/oauth/token', }, { displayName: 'Auth URI Query Parameters', name: 'authQueryParameters', type: 'hidden', default: '', }, { displayName: 'Authentication', name: 'authentication', type: 'hidden', default: 'body', }, { displayName: 'Make sure your credentials include the required OAuth scopes for all actions this node performs.', name: 'notice', type: 'notice', default: '', displayOptions: { hideOnCloud: true, }, }, ]; } exports.HighLevelOAuth2Api = HighLevelOAuth2Api; //# sourceMappingURL=HighLevelOAuth2Api.credentials.js.map