Skip to content

RegistrationConfig

Source code in docs_src/capo_voice_id/types/registration_config.py
class RegistrationConfig(TypedDict, closed=True):
    duplicate_registration_action: NotRequired[
        "capo_voice_id.types.duplicate_registration_action.DuplicateRegistrationAction"
    ]
    """<p>The action to take when a fraudster is identified as a duplicate. The default action is <code>SKIP</code>, which skips registering the duplicate fraudster. Setting the value to <code>REGISTER_AS_NEW</code> always registers a new fraudster into the specified domain.</p>"""
    fraudster_similarity_threshold: NotRequired["capo_voice_id.types.score.Score"]
    """<p>The minimum similarity score between the new and old fraudsters in order to consider the new fraudster a duplicate.</p>"""
    watchlist_ids: NotRequired[
        "capo_voice_id.types.registration_config_watchlist_ids.RegistrationConfigWatchlistIds"
    ]
    """<p>The identifiers of watchlists that a fraudster is registered to. If a watchlist isn't provided, the fraudsters are registered to the default watchlist. </p>"""

duplicate_registration_action instance-attribute

duplicate_registration_action: NotRequired[DuplicateRegistrationAction]

The action to take when a fraudster is identified as a duplicate. The default action is SKIP, which skips registering the duplicate fraudster. Setting the value to REGISTER_AS_NEW always registers a new fraudster into the specified domain.

fraudster_similarity_threshold instance-attribute

fraudster_similarity_threshold: NotRequired[Score]

The minimum similarity score between the new and old fraudsters in order to consider the new fraudster a duplicate.

watchlist_ids instance-attribute

watchlist_ids: NotRequired[RegistrationConfigWatchlistIds]

The identifiers of watchlists that a fraudster is registered to. If a watchlist isn't provided, the fraudsters are registered to the default watchlist.