UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

43 lines (38 loc) 946 B
/** * Marketstack Node - Version 1 * Discriminator: resource=ticker, operation=get */ interface Credentials { marketstackApi: CredentialReference; } /** Stock market symbol */ export type MarketstackV1TickerGetParams = { resource: 'ticker'; operation: 'get'; /** * Stock symbol (ticker) to retrieve, e.g. &lt;code&gt;AAPL&lt;/code&gt; */ symbol?: string | Expression<string> | PlaceholderValue; }; export type MarketstackV1TickerGetOutput = { country?: null; has_eod?: boolean; has_intraday?: boolean; name?: string; stock_exchange?: { acronym?: string; city?: string; country_code?: string; mic?: string; name?: string; website?: string; }; symbol?: string; }; export type MarketstackV1TickerGetNode = { type: 'n8n-nodes-base.marketstack'; version: 1; credentials?: Credentials; config: NodeConfig<MarketstackV1TickerGetParams>; output?: Items<MarketstackV1TickerGetOutput>; };