add resource

This commit is contained in:
2025-10-30 18:11:19 +08:00
parent 6883edbeb7
commit 61796ab57d
7 changed files with 23 additions and 204 deletions

View File

@@ -12,6 +12,27 @@ export class GwezzOceanengineOAuth2Api implements ICredentialType {
documentationUrl = 'https://gitea.gwezz.com/n8n-nodes/n8n-nodes-gwezz-oceanengine/wiki';
properties: INodeProperties[] = [
{
displayName: 'APP_ID',
name: 'appId',
type: 'string',
default: '',
},
{
displayName: 'Secret',
name: 'secret',
type: 'string',
typeOptions: {
password: true,
},
default: '',
},
{
displayName: 'Redirect URI',
name: 'redirectUri',
type: 'hidden',
default: '={{$oauth2.redirectUrl}}',
},
{
displayName: 'Grant Type',
name: 'grantType',
@@ -22,13 +43,13 @@ export class GwezzOceanengineOAuth2Api implements ICredentialType {
displayName: 'Authorization URL',
name: 'authUrl',
type: 'hidden',
default: 'https://api.example.com/oauth/authorize',
default: 'https://ad.oceanengine.com/openapi/audit/oauth.html',
},
{
displayName: 'Access Token URL',
name: 'accessTokenUrl',
type: 'hidden',
default: 'https://api.example.com/oauth/token',
default: 'https://ad.oceanengine.com/open_api/oauth2/access_token/',
},
{
displayName: 'Auth URI Query Parameters',