n8n-nodes-base
Version:
Base nodes of n8n
41 lines (37 loc) • 1.14 kB
text/typescript
/**
* urlscan.io Node - Version 1
* Discriminator: resource=scan, operation=getAll
*/
interface Credentials {
urlScanIoApi: CredentialReference;
}
export type UrlScanIoV1ScanGetAllParams = {
resource: 'scan';
operation: 'getAll';
/**
* 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 50
*/
limit?: number | Expression<number>;
/**
* Filters
* @default {}
*/
filters?: {
/** Query using the <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html#query-dsl-query-string-query">Elastic Search Query String syntax</a>. See <a href="https://urlscan.io/docs/search/">supported fields</a> in the documentation.
*/
query?: string | Expression<string> | PlaceholderValue;
};
};
export type UrlScanIoV1ScanGetAllNode = {
type: 'n8n-nodes-base.urlScanIo';
version: 1;
credentials?: Credentials;
config: NodeConfig<UrlScanIoV1ScanGetAllParams>;
};