import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { RFCDate } from "../../types/rfcdate.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { CustomMappings, CustomMappings$Outbound } from "./custommappings.js"; import { Gender } from "./gender.js"; export type Person = { /** * A unique identifier for an object. */ id?: string | null | undefined; /** * The first name of the person. */ firstName?: string | null | undefined; /** * The last name of the person. */ lastName?: string | null | undefined; /** * Middle name of the person. */ middleName?: string | null | undefined; /** * The gender represents the gender identity of a person. */ gender?: Gender | null | undefined; /** * Initials of the person */ initials?: string | null | undefined; /** * Date of birth */ birthday?: RFCDate | null | undefined; /** * Date of death */ deceasedOn?: RFCDate | null | undefined; /** * When custom mappings are configured on the resource, the result is included here. */ customMappings?: CustomMappings | null | undefined; }; /** @internal */ export declare const Person$inboundSchema: z.ZodType; /** @internal */ export type Person$Outbound = { id?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; middle_name?: string | null | undefined; gender?: string | null | undefined; initials?: string | null | undefined; birthday?: string | null | undefined; deceased_on?: string | null | undefined; custom_mappings?: CustomMappings$Outbound | null | undefined; }; /** @internal */ export declare const Person$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 Person$ { /** @deprecated use `Person$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Person$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Person$Outbound` instead. */ type Outbound = Person$Outbound; } export declare function personToJSON(person: Person): string; export declare function personFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=person.d.ts.map