n8n-nodes-base
Version:
Base nodes of n8n
39 lines (35 loc) • 983 B
text/typescript
/**
* PagerDuty Node - Version 1
* Discriminator: resource=incidentNote, operation=getAll
*/
interface Credentials {
pagerDutyApi: CredentialReference;
pagerDutyOAuth2Api: CredentialReference;
}
/** Get many incidents */
export type PagerDutyV1IncidentNoteGetAllParams = {
resource: 'incidentNote';
operation: 'getAll';
authentication?: 'apiToken' | 'oAuth2' | Expression<string>;
/**
* Unique identifier for the incident
*/
incidentId?: string | Expression<string> | PlaceholderValue;
/**
* 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>;
};
export type PagerDutyV1IncidentNoteGetAllNode = {
type: 'n8n-nodes-base.pagerDuty';
version: 1;
credentials?: Credentials;
config: NodeConfig<PagerDutyV1IncidentNoteGetAllParams>;
};