n8n-nodes-base
Version:
Base nodes of n8n
30 lines (26 loc) • 681 B
text/typescript
/**
* SyncroMSP Node - Version 1
* Discriminator: resource=rmm, operation=mute
*/
interface Credentials {
syncroMspApi: CredentialReference;
}
/** Mute RMM Alert */
export type SyncroMspV1RmmMuteParams = {
resource: 'rmm';
operation: 'mute';
/**
* Mute the RMM alert by ID
*/
alertId?: string | Expression<string> | PlaceholderValue;
/**
* Length of time to mute alert for
*/
muteFor?: '1-hour' | '1-day' | '2-days' | '1-week' | '2-weeks' | '1-month' | 'forever' | Expression<string>;
};
export type SyncroMspV1RmmMuteNode = {
type: 'n8n-nodes-base.syncroMsp';
version: 1;
credentials?: Credentials;
config: NodeConfig<SyncroMspV1RmmMuteParams>;
};