feat(HighLevel Node): Api v2 support, new node version (#9554)

This commit is contained in:
Michael Kret
2024-06-03 12:09:05 +03:00
committed by GitHub
parent 0e10c84efd
commit 19e5c0397a
15 changed files with 2603 additions and 90 deletions

View File

@@ -39,7 +39,7 @@ export class HighLevelOAuth2Api implements ICredentialType {
displayName: 'Scope',
name: 'scope',
type: 'string',
hint: 'Separate scopes by space',
hint: "Separate scopes by space, scopes needed for node: 'locations.readonly contacts.readonly contacts.write opportunities.readonly opportunities.write users.readonly'",
default: '',
required: true,
},

View File

@@ -66,6 +66,9 @@ export class OAuth2Api implements ICredentialType {
default: '',
required: true,
},
// WARNING: if you are extending from this credentials and allow user to set their own scopes
// you HAVE TO add it to GENERIC_OAUTH2_CREDENTIALS_WITH_EDITABLE_SCOPE in packages/cli/src/constants.ts
// track any updates to this behavior in N8N-7424
{
displayName: 'Scope',
name: 'scope',