import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { PostalAddressCreate, PostalAddressCreate$Outbound } from "./postaladdresscreate.js"; /** * Travel rule party */ export type TravelRulePartyCreate = { /** * Represents a postal address, e.g. for postal delivery or payments addresses. Given a postal address, a postal service can deliver items to a premise, P.O. Box or similar. It is not intended to model geographical locations (roads, towns, mountains). * * @remarks * * In typical usage an address would be created via user input or from importing existing data, depending on the type of process. * * Advice on address input / editing: - Use an i18n-ready address widget such as https://github.com/google/libaddressinput) - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. * * For more guidance on how to use this schema, please see: https://support.google.com/business/answer/6397478 */ address: PostalAddressCreate; /** * The last name of the party */ familyName: string; /** * The first name of the party as well as any non-primary given names (e.g. middle names) */ givenNames: Array; }; /** @internal */ export declare const TravelRulePartyCreate$inboundSchema: z.ZodType; /** @internal */ export type TravelRulePartyCreate$Outbound = { address: PostalAddressCreate$Outbound; family_name: string; given_names: Array; }; /** @internal */ export declare const TravelRulePartyCreate$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 TravelRulePartyCreate$ { /** @deprecated use `TravelRulePartyCreate$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `TravelRulePartyCreate$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `TravelRulePartyCreate$Outbound` instead. */ type Outbound = TravelRulePartyCreate$Outbound; } export declare function travelRulePartyCreateToJSON(travelRulePartyCreate: TravelRulePartyCreate): string; export declare function travelRulePartyCreateFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=travelrulepartycreate.d.ts.map