n8n-nodes-base
Version:
Base nodes of n8n
29 lines (25 loc) • 808 B
text/typescript
/**
* HubSpot Node - Version 1
* Discriminator: resource=form, operation=getFields
*/
interface Credentials {
hubspotApi: CredentialReference;
hubspotAppToken: CredentialReference;
hubspotOAuth2Api: CredentialReference;
}
/** Get all fields from a form */
export type HubspotV1FormGetFieldsParams = {
resource: 'form';
operation: 'getFields';
authentication?: 'apiKey' | 'appToken' | 'oAuth2' | Expression<string>;
/**
* The ID of the form. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
*/
formId?: string | Expression<string>;
};
export type HubspotV1FormGetFieldsNode = {
type: 'n8n-nodes-base.hubspot';
version: 1;
credentials?: Credentials;
config: NodeConfig<HubspotV1FormGetFieldsParams>;
};