n8n-nodes-base
Version:
Base nodes of n8n
49 lines (45 loc) • 1.38 kB
text/typescript
/**
* HubSpot Node - Version 1
* Discriminator: resource=deal, operation=getRecentlyModified
*/
interface Credentials {
hubspotApi: CredentialReference;
hubspotAppToken: CredentialReference;
hubspotOAuth2Api: CredentialReference;
}
/** Get recently modified companies */
export type HubspotV1DealGetRecentlyModifiedParams = {
resource: 'deal';
operation: 'getRecentlyModified';
authentication?: 'apiKey' | 'appToken' | 'oAuth2' | Expression<string>;
/**
* Whether to return all results or only up to a given limit
* @default false
*/
returnAll?: boolean | Expression<boolean>;
/**
* Max number of results to return
* @displayOptions.show { returnAll: [false] }
* @default 100
*/
limit?: number | Expression<number>;
/**
* Filters
* @default {}
*/
filters?: {
/** Only return deals created after timestamp x
*/
since?: string | Expression<string>;
/** By default, you will only get data for the most recent version of a property in the "versions" data. If you include this parameter, you will get data for all previous versions.
* @default false
*/
includePropertyVersions?: boolean | Expression<boolean>;
};
};
export type HubspotV1DealGetRecentlyModifiedNode = {
type: 'n8n-nodes-base.hubspot';
version: 1;
credentials?: Credentials;
config: NodeConfig<HubspotV1DealGetRecentlyModifiedParams>;
};