first commit

This commit is contained in:
2025-10-30 16:15:19 +08:00
commit 8139ca031c
18 changed files with 7739 additions and 0 deletions

View File

@@ -0,0 +1,51 @@
import type { ICredentialType, INodeProperties } from 'n8n-workflow';
export class GwezzOceanengineOAuth2Api implements ICredentialType {
name = 'gwezzOceanengineOAuth2Api';
extends = ['oAuth2Api'];
displayName = 'Gwezz Oceanengine OAuth2 API';
// Link to your community node's README
documentationUrl = 'https://github.com/org/-gwezz-oceanengine?tab=readme-ov-file#credentials';
properties: INodeProperties[] = [
{
displayName: 'Grant Type',
name: 'grantType',
type: 'hidden',
default: 'authorizationCode',
},
{
displayName: 'Authorization URL',
name: 'authUrl',
type: 'hidden',
default: 'https://api.example.com/oauth/authorize',
},
{
displayName: 'Access Token URL',
name: 'accessTokenUrl',
type: 'hidden',
default: 'https://api.example.com/oauth/token',
},
{
displayName: 'Auth URI Query Parameters',
name: 'authQueryParameters',
type: 'hidden',
default: '',
},
{
displayName: 'Scope',
name: 'scope',
type: 'hidden',
default: 'users:read users:write companies:read',
},
{
displayName: 'Authentication',
name: 'authentication',
type: 'hidden',
default: 'header',
},
];
}