import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * An object representing a shipping or billing address. */ export type EcommerceAddress = { /** * Address line 1 of the billing address. */ line1?: string | null | undefined; /** * Address line 2 of the billing address. */ line2?: string | null | undefined; /** * Company name of the customer */ companyName?: string | null | undefined; /** * City of the billing address. */ city?: string | null | undefined; /** * State/province of the billing address. */ state?: string | null | undefined; /** * Postal/ZIP code of the billing address. */ postalCode?: string | null | undefined; /** * Country of the billing address. */ country?: string | null | undefined; }; /** @internal */ export declare const EcommerceAddress$inboundSchema: z.ZodType; /** @internal */ export type EcommerceAddress$Outbound = { line1?: string | null | undefined; line2?: string | null | undefined; company_name?: string | null | undefined; city?: string | null | undefined; state?: string | null | undefined; postal_code?: string | null | undefined; country?: string | null | undefined; }; /** @internal */ export declare const EcommerceAddress$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 EcommerceAddress$ { /** @deprecated use `EcommerceAddress$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `EcommerceAddress$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `EcommerceAddress$Outbound` instead. */ type Outbound = EcommerceAddress$Outbound; } export declare function ecommerceAddressToJSON(ecommerceAddress: EcommerceAddress): string; export declare function ecommerceAddressFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=ecommerceaddress.d.ts.map