/** * Wise Node - Version 1 * Discriminator: resource=exchangeRate, operation=get */ interface Credentials { wiseApi: CredentialReference; } export type WiseV1ExchangeRateGetParams = { resource: 'exchangeRate'; operation: 'get'; /** * Code of the source currency to retrieve the exchange rate for */ source?: string | Expression | PlaceholderValue; /** * Code of the target currency to retrieve the exchange rate for */ target?: string | Expression | PlaceholderValue; /** * Additional Fields * @default {} */ additionalFields?: { /** Interval * @default day */ interval?: 'day' | 'hour' | 'minute' | Expression; /** Range of time to retrieve the exchange rate for * @default {} */ range?: { /** Range Properties */ rangeProperties?: { /** Range Start */ from?: string | Expression; /** Range End */ to?: string | Expression; }; }; /** Point in time to retrieve the exchange rate for */ time?: string | Expression; }; }; export type WiseV1ExchangeRateGetOutput = { rate?: number; source?: string; target?: string; time?: string; }; export type WiseV1ExchangeRateGetNode = { type: 'n8n-nodes-base.wise'; version: 1; credentials?: Credentials; config: NodeConfig; output?: Items; };