import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { LegalEntity, LegalEntity$Outbound } from "./legalentity.js"; /** * The response to list Legal Entities. */ export type ListLegalEntitiesResponse = { /** * The list of available legal entities */ legalEntities?: Array | undefined; /** * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */ nextPageToken?: string | undefined; }; /** @internal */ export declare const ListLegalEntitiesResponse$inboundSchema: z.ZodType; /** @internal */ export type ListLegalEntitiesResponse$Outbound = { legal_entities?: Array | undefined; next_page_token?: string | undefined; }; /** @internal */ export declare const ListLegalEntitiesResponse$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 ListLegalEntitiesResponse$ { /** @deprecated use `ListLegalEntitiesResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ListLegalEntitiesResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ListLegalEntitiesResponse$Outbound` instead. */ type Outbound = ListLegalEntitiesResponse$Outbound; } export declare function listLegalEntitiesResponseToJSON(listLegalEntitiesResponse: ListLegalEntitiesResponse): string; export declare function listLegalEntitiesResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=listlegalentitiesresponse.d.ts.map