import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type AccountsGetLegalEntityRequest = { /** * The legalEntity id. */ legalEntityId: string; }; export type AccountsGetLegalEntityResponse = { httpMeta: components.HTTPMetadata; /** * OK */ legalEntity?: components.LegalEntity | undefined; /** * INVALID_ARGUMENT: The request is not valid, additional information may be present in the BadRequest details. */ status?: components.Status | undefined; }; /** @internal */ export declare const AccountsGetLegalEntityRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountsGetLegalEntityRequest$Outbound = { legalEntity_id: string; }; /** @internal */ export declare const AccountsGetLegalEntityRequest$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 AccountsGetLegalEntityRequest$ { /** @deprecated use `AccountsGetLegalEntityRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountsGetLegalEntityRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountsGetLegalEntityRequest$Outbound` instead. */ type Outbound = AccountsGetLegalEntityRequest$Outbound; } export declare function accountsGetLegalEntityRequestToJSON(accountsGetLegalEntityRequest: AccountsGetLegalEntityRequest): string; export declare function accountsGetLegalEntityRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountsGetLegalEntityResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountsGetLegalEntityResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; LegalEntity?: components.LegalEntity$Outbound | undefined; Status?: components.Status$Outbound | undefined; }; /** @internal */ export declare const AccountsGetLegalEntityResponse$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 AccountsGetLegalEntityResponse$ { /** @deprecated use `AccountsGetLegalEntityResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountsGetLegalEntityResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountsGetLegalEntityResponse$Outbound` instead. */ type Outbound = AccountsGetLegalEntityResponse$Outbound; } export declare function accountsGetLegalEntityResponseToJSON(accountsGetLegalEntityResponse: AccountsGetLegalEntityResponse): string; export declare function accountsGetLegalEntityResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountsgetlegalentity.d.ts.map