import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { PartyRequestCreate, PartyRequestCreate$Outbound } from "./partyrequestcreate.js"; /** * A request to replace a party on an account */ export type ReplacePartyRequestCreate = { /** * A list of Party IDs on the account that have approved the replacing of a party. The required signers are defined by the Registration Type of the Account. e.g. Individual Registrations require one signer, Joint Registrations require all Joint Owners to sign */ authorizedByPartyIds?: Array | undefined; /** * The ID of the party to replace Format: accounts/{account}/parties/{party} */ name: string; /** * A single record representing an owner or manager of an Account. Contains fully populated Party Identity object. */ party: PartyRequestCreate; }; /** @internal */ export declare const ReplacePartyRequestCreate$inboundSchema: z.ZodType; /** @internal */ export type ReplacePartyRequestCreate$Outbound = { authorized_by_party_ids?: Array | undefined; name: string; party: PartyRequestCreate$Outbound; }; /** @internal */ export declare const ReplacePartyRequestCreate$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 ReplacePartyRequestCreate$ { /** @deprecated use `ReplacePartyRequestCreate$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ReplacePartyRequestCreate$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ReplacePartyRequestCreate$Outbound` instead. */ type Outbound = ReplacePartyRequestCreate$Outbound; } export declare function replacePartyRequestCreateToJSON(replacePartyRequestCreate: ReplacePartyRequestCreate): string; export declare function replacePartyRequestCreateFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=replacepartyrequestcreate.d.ts.map