import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { CountryCode } from "./countrycode.js"; /** * An address saved on an account, i.e. a physical address plus any additional account-specific metadata. */ export type AddressListingInput = { /** * 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 AddressListingInput$inboundSchema: z.ZodType; /** @internal */ export type AddressListingInput$Outbound = { 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 AddressListingInput$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 AddressListingInput$ { /** @deprecated use `AddressListingInput$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AddressListingInput$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AddressListingInput$Outbound` instead. */ type Outbound = AddressListingInput$Outbound; } export declare function addressListingInputToJSON(addressListingInput: AddressListingInput): string; export declare function addressListingInputFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=addresslistinginput.d.ts.map