Module Values.FraudDetectionResultSource

The fraud detection result produced by Voice ID, processed against the current session state and streamed audio of the speaker.

Sourcetype nonrec t = {
  1. audioAggregationEndedAt : Timestamp.t option;
    (*

    A timestamp of when audio aggregation ended for this fraud detection result.

    *)
  2. audioAggregationStartedAt : Timestamp.t option;
    (*

    A timestamp of when audio aggregation started for this fraud detection result.

    *)
  3. configuration : FraudDetectionConfiguration.t option;
    (*

    The FraudDetectionConfiguration used to generate this fraud detection result.

    *)
  4. decision : FraudDetectionDecision.t option;
    (*

    The fraud detection decision produced by Voice ID, processed against the current session state and streamed audio of the speaker.

    *)
  5. fraudDetectionResultId : UniqueIdLarge.t option;
    (*

    The unique identifier for this fraud detection result. Given there can be multiple fraud detections for a given session, this field helps in identifying if the returned result is from previous streaming activity or a new result. Note that in the absence of any new streaming activity or risk threshold changes, Voice ID always returns cached Fraud Detection result for this API.

    *)
  6. reasons : FraudDetectionReasons.t option;
    (*

    The reason speaker was flagged by the fraud detection system. This is only be populated if fraud detection Decision is HIGH_RISK, and the following possible values: KNOWN_FRAUDSTER and VOICE_SPOOFING.

    *)
  7. riskDetails : FraudRiskDetails.t option;
    (*

    Details about each risk analyzed for this speaker. Currently, this contains KnownFraudsterRisk and VoiceSpoofingRisk details.

    *)
}
Sourceval make : ?audioAggregationEndedAt:??? -> ?audioAggregationStartedAt:??? -> ?configuration:??? -> ?decision:??? -> ?fraudDetectionResultId:??? -> ?reasons:??? -> ?riskDetails:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Enum of string ] list | `String of UniqueIdLarge.t | `Structure of (string * [> `Integer of Score.t | `String of WatchlistId.t | `Structure of (string * [> `Integer of Score.t | `String of GeneratedFraudsterId.t ]) list ]) list | `Timestamp of Timestamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t