feat(Wise Node): Add XML as supported format in getStatement operation (#9193)

This commit is contained in:
webk
2024-04-29 09:32:08 +02:00
committed by GitHub
parent 1c261f85a3
commit a424b59e49
2 changed files with 7 additions and 3 deletions

View File

@@ -213,7 +213,7 @@ export class Wise implements INodeType {
const profileId = this.getNodeParameter('profileId', i);
const borderlessAccountId = this.getNodeParameter('borderlessAccountId', i);
const format = this.getNodeParameter('format', i) as 'json' | 'csv' | 'pdf';
const format = this.getNodeParameter('format', i) as 'json' | 'csv' | 'pdf' | 'xml';
const endpoint = `v3/profiles/${profileId}/borderless-accounts/${borderlessAccountId}/statement.${format}`;
const qs = {