n8n-nodes-base
Version:
Base nodes of n8n
51 lines (47 loc) • 1.15 kB
text/typescript
/**
* HaloPSA Node - Version 1
* Discriminator: resource=site, operation=getAll
*/
interface Credentials {
haloPSAApi: CredentialReference;
}
/** Get many clients */
export type HaloPSAV1SiteGetAllParams = {
resource: 'site';
operation: 'getAll';
/**
* Whether to return a simplified version of the response instead of the raw data
* @default true
*/
simplify?: boolean | Expression<boolean>;
/**
* 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?: {
/** Active Status
* @default all
*/
activeStatus?: 'active' | 'all' | 'inactive' | Expression<string>;
/** Filter sites by your search string
*/
search?: string | Expression<string> | PlaceholderValue;
};
};
export type HaloPSAV1SiteGetAllNode = {
type: 'n8n-nodes-base.haloPSA';
version: 1;
credentials?: Credentials;
config: NodeConfig<HaloPSAV1SiteGetAllParams>;
};