Add Free API support to DeepL Node (#1810)

This commit is contained in:
MedAliMarz
2021-05-30 19:33:43 +02:00
committed by GitHub
parent 1ec916e530
commit 07a9108e46
2 changed files with 26 additions and 7 deletions

View File

@@ -11,5 +11,21 @@ export class DeepLApi implements ICredentialType {
type: 'string' as NodePropertyTypes,
default: '',
},
{
displayName: 'API Plan',
name: 'apiPlan',
type: 'options' as NodePropertyTypes,
options: [
{
name: 'Pro Plan',
value: 'pro',
},
{
name: 'Free Plan',
value: 'free',
},
],
default: 'pro',
},
];
}