import * as z from "zod"; import { OpenEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export declare enum MatchAttributes { MatchAttributeUnspecified = "MATCH_ATTRIBUTE_UNSPECIFIED", Name = "NAME", PhoneNumber = "PHONE_NUMBER", BirthDate = "BIRTH_DATE", Identification = "IDENTIFICATION", Email = "EMAIL", Address = "ADDRESS" } export type MatchAttributesOpen = OpenEnum; /** * The match state for a profile, one of: * * @remarks * - `MATCH_UNSPECIFIED` - Default/Null value. * - `CONFIRMED_MATCH` - Match is confirmed. * - `POTENTIAL_MATCH` - Match is a potential. * - `NO_MATCH` - Match is confirmed not to be a match. * - `INCONCLUSIVE` - Match is deemed to be inconclusive. */ export declare enum MatchState { MatchUnspecified = "MATCH_UNSPECIFIED", ConfirmedMatch = "CONFIRMED_MATCH", PotentialMatch = "POTENTIAL_MATCH", NoMatch = "NO_MATCH", Inconclusive = "INCONCLUSIVE" } /** * The match state for a profile, one of: * * @remarks * - `MATCH_UNSPECIFIED` - Default/Null value. * - `CONFIRMED_MATCH` - Match is confirmed. * - `POTENTIAL_MATCH` - Match is a potential. * - `NO_MATCH` - Match is confirmed not to be a match. * - `INCONCLUSIVE` - Match is deemed to be inconclusive. */ export type MatchStateOpen = OpenEnum; export declare enum MatchTypes { MatchTypeUnspecified = "MATCH_TYPE_UNSPECIFIED", NonOfacSanctions = "NON_OFAC_SANCTIONS", RelativeOrCloseAssociate = "RELATIVE_OR_CLOSE_ASSOCIATE", OfacSanctions = "OFAC_SANCTIONS", PoliticallyExposedPerson = "POLITICALLY_EXPOSED_PERSON", Dndb = "DNDB", NegativeNews = "NEGATIVE_NEWS" } export type MatchTypesOpen = OpenEnum; /** * Matched profile details */ export type WatchlistMatch = { /** * Identifies if the entry is active or not */ active?: boolean | undefined; /** * The time the watchlist match was created */ createdAt?: Date | null | undefined; /** * Identifies that a confirmed watchlist match can be excluded when calculating the related screen state */ excludeFromScreening?: boolean | undefined; /** * The attributes used in watchlist screening, one of: * * @remarks * - `MATCH_ATTRIBUTE_UNSPECIFIED` - Default/Null value. * - `NAME` - Matched on name. * - `PHONE_NUMBER` - Matched on phone number. * - `BIRTH_DATE` - Matched on birth date. * - `IDENTIFICATION` - Matched on identification. * - `EMAIL` - Matched on email. * - `ADDRESS` - Matched on address. */ matchAttributes?: Array | undefined; /** * The match state for a profile, one of: * * @remarks * - `MATCH_UNSPECIFIED` - Default/Null value. * - `CONFIRMED_MATCH` - Match is confirmed. * - `POTENTIAL_MATCH` - Match is a potential. * - `NO_MATCH` - Match is confirmed not to be a match. * - `INCONCLUSIVE` - Match is deemed to be inconclusive. */ matchState?: MatchStateOpen | undefined; /** * The type of watchlist match, one of: * * @remarks * - `MATCH_TYPE_UNSPECIFIED` - Default/Null value. * - `NON_OFAC_SANCTIONS` - Matched on a non OFAC sanctions list. * - `RELATIVE_OR_CLOSE_ASSOCIATE` - Matched on a relative or close associate. * - `OFAC_SANCTIONS` - Matched on a OFAC sanctions list. * - `POLITICALLY_EXPOSED_PERSON` - Matched on a politically exposed person list. * - `DNDB` - Matched on a do not do business list. * - `NEGATIVE_NEWS` - Matched on a negative news list. */ matchTypes?: Array | undefined; /** * The time the watchlist match was last updated */ updatedAt?: Date | null | undefined; /** * Indicates the watchlist source for a given match */ watchlistId?: string | undefined; /** * Identification number for the watchlist item that was matched */ watchlistItemId?: number | undefined; }; /** @internal */ export declare const MatchAttributes$inboundSchema: z.ZodType; /** @internal */ export declare const MatchAttributes$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace MatchAttributes$ { /** @deprecated use `MatchAttributes$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `MatchAttributes$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const MatchState$inboundSchema: z.ZodType; /** @internal */ export declare const MatchState$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace MatchState$ { /** @deprecated use `MatchState$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `MatchState$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const MatchTypes$inboundSchema: z.ZodType; /** @internal */ export declare const MatchTypes$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace MatchTypes$ { /** @deprecated use `MatchTypes$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `MatchTypes$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const WatchlistMatch$inboundSchema: z.ZodType; /** @internal */ export type WatchlistMatch$Outbound = { active?: boolean | undefined; created_at?: string | null | undefined; exclude_from_screening?: boolean | undefined; match_attributes?: Array | undefined; match_state?: string | undefined; match_types?: Array | undefined; updated_at?: string | null | undefined; watchlist_id?: string | undefined; watchlist_item_id?: number | undefined; }; /** @internal */ export declare const WatchlistMatch$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace WatchlistMatch$ { /** @deprecated use `WatchlistMatch$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WatchlistMatch$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WatchlistMatch$Outbound` instead. */ type Outbound = WatchlistMatch$Outbound; } export declare function watchlistMatchToJSON(watchlistMatch: WatchlistMatch): string; export declare function watchlistMatchFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=watchlistmatch.d.ts.map