n8n-nodes-base
Version:
Base nodes of n8n
26 lines (22 loc) • 718 B
text/typescript
/**
* Marketstack Node - Version 1
* Discriminator: resource=exchange, operation=get
*/
interface Credentials {
marketstackApi: CredentialReference;
}
/** Stock market exchange */
export type MarketstackV1ExchangeGetParams = {
resource: 'exchange';
operation: 'get';
/**
* Stock exchange to retrieve, specified by <a href="https://en.wikipedia.org/wiki/Market_Identifier_Code">Market Identifier Code</a>, e.g. <code>XNAS</code>
*/
exchange?: string | Expression<string> | PlaceholderValue;
};
export type MarketstackV1ExchangeGetNode = {
type: 'n8n-nodes-base.marketstack';
version: 1;
credentials?: Credentials;
config: NodeConfig<MarketstackV1ExchangeGetParams>;
};