EndpointAlert class Endpoint

Fraud alert queue, evidence assembly, and consumer report triage.

Inheritance

Constructors

EndpointAlert(EndpointCaller caller)

Properties

caller → EndpointCaller
Holds a reference to the caller class.
finalinherited
client ↔ ServerpodClientShared
Reference to the client.
latefinalinherited
hashCode → int
The hash code for this object.
no setterinherited
name → String
The name of the endpoint this reference is connected to.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

assign({UuidValue? workspaceId, required UuidValue alertId, String? assignee}) → Future<FraudAlert>
Assigns an alert to an investigator.
evidence(UuidValue alertId) → Future<AlertEvidence>
Assembles everything needed to investigate one alert in a single call.
get(UuidValue alertId) → Future<FraudAlert>
Loads one alert.
list({UuidValue? workspaceId, AlertStatus? status, AlertSeverity? severity, required int page, required int pageSize}) → Future<List<FraudAlert>>
Lists alerts, newest first.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reports({UuidValue? workspaceId, FakeReportStatus? status, required int page, required int pageSize}) → Future<List<FakeReport>>
Lists consumer reports for triage.
signals({UuidValue? workspaceId, UuidValue? batchId, SignalType? type, required int page, required int pageSize}) → Future<List<FraudSignalRecord>>
Lists raw fraud signals for the intelligence feed.
toString() → String
A string representation of this object.
inherited
triageReport({UuidValue? workspaceId, required UuidValue reportId, required FakeReportStatus status, String? note}) → Future<FakeReport>
Triages a consumer report.
updateStatus({UuidValue? workspaceId, required UuidValue alertId, required AlertStatus status, String? note}) → Future<FraudAlert>
Moves an alert through its workflow.

Operators

operator ==(Object other) → bool
The equality operator.
inherited