import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { CountryCode } from "./countrycode.js"; /** * The type of address reference */ export declare enum AddressReferenceExplicitTag { Explicit = "explicit" } /** * A physical address. */ export type AddressReferenceExplicit = { /** * The type of address reference */ dotTag: AddressReferenceExplicitTag; /** * The address's unique identifier. */ id?: string | undefined; /** * The first name of the person associated with this address. */ firstName: string; /** * The last name of the person associated with this address. */ lastName: string; /** * The company associated with this address. */ company?: string | undefined; /** * The street address associated with this address. */ streetAddress1: string; /** * Any additional, optional, street address information associated with this address. */ streetAddress2?: string | undefined; /** * The locality (e.g. city, town, etc...) associated with this address. */ locality: string; /** * The postal code associated with this address. */ postalCode: string; /** * The region or administrative area (e.g. state, province, county, etc...) associated with this address. */ region?: string | undefined; /** * The country (in its ISO 3166 alpha-2 format) associated with this address. */ countryCode: CountryCode; /** * The email address associated with this address. */ email?: string | undefined; /** * The phone number associated with this address. */ phone?: string | undefined; }; /** * A physical address. */ export type AddressReferenceExplicitInput = { /** * The type of address reference */ dotTag: AddressReferenceExplicitTag; /** * The first name of the person associated with this address. */ firstName: string; /** * The last name of the person associated with this address. */ lastName: string; /** * The company associated with this address. */ company?: string | undefined; /** * The street address associated with this address. */ streetAddress1: string; /** * Any additional, optional, street address information associated with this address. */ streetAddress2?: string | undefined; /** * The locality (e.g. city, town, etc...) associated with this address. */ locality: string; /** * The postal code associated with this address. */ postalCode: string; /** * The region or administrative area (e.g. state, province, county, etc...) associated with this address. */ region?: string | undefined; /** * The country (in its ISO 3166 alpha-2 format) associated with this address. */ countryCode: CountryCode; /** * The email address associated with this address. */ email?: string | undefined; /** * The phone number associated with this address. */ phone?: string | undefined; }; /** @internal */ export declare const AddressReferenceExplicitTag$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const AddressReferenceExplicitTag$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace AddressReferenceExplicitTag$ { /** @deprecated use `AddressReferenceExplicitTag$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum; /** @deprecated use `AddressReferenceExplicitTag$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum; } /** @internal */ export declare const AddressReferenceExplicit$inboundSchema: z.ZodType; /** @internal */ export type AddressReferenceExplicit$Outbound = { ".tag": string; id?: string | undefined; first_name: string; last_name: string; company?: string | undefined; street_address1: string; street_address2?: string | undefined; locality: string; postal_code: string; region?: string | undefined; country_code: string; email?: string | undefined; phone?: string | undefined; }; /** @internal */ export declare const AddressReferenceExplicit$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 AddressReferenceExplicit$ { /** @deprecated use `AddressReferenceExplicit$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AddressReferenceExplicit$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AddressReferenceExplicit$Outbound` instead. */ type Outbound = AddressReferenceExplicit$Outbound; } export declare function addressReferenceExplicitToJSON(addressReferenceExplicit: AddressReferenceExplicit): string; export declare function addressReferenceExplicitFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AddressReferenceExplicitInput$inboundSchema: z.ZodType; /** @internal */ export type AddressReferenceExplicitInput$Outbound = { ".tag": string; first_name: string; last_name: string; company?: string | undefined; street_address1: string; street_address2?: string | undefined; locality: string; postal_code: string; region?: string | undefined; country_code: string; email?: string | undefined; phone?: string | undefined; }; /** @internal */ export declare const AddressReferenceExplicitInput$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 AddressReferenceExplicitInput$ { /** @deprecated use `AddressReferenceExplicitInput$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AddressReferenceExplicitInput$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AddressReferenceExplicitInput$Outbound` instead. */ type Outbound = AddressReferenceExplicitInput$Outbound; } export declare function addressReferenceExplicitInputToJSON(addressReferenceExplicitInput: AddressReferenceExplicitInput): string; export declare function addressReferenceExplicitInputFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=addressreferenceexplicit.d.ts.map