import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Filter tenants by ID(s). Use bracket notation for multiple values (e.g., `id[0]=t1&id[1]=t2` or `id[]=t1&id[]=t2`). */ export type ListTenantsId = string | Array; /** * Sort direction. */ export declare const ListTenantsDir: { readonly Asc: "asc"; readonly Desc: "desc"; }; /** * Sort direction. */ export type ListTenantsDir = ClosedEnum; export type ListTenantsRequest = { /** * Filter tenants by ID(s). Use bracket notation for multiple values (e.g., `id[0]=t1&id[1]=t2` or `id[]=t1&id[]=t2`). */ id?: string | Array | undefined; /** * Number of tenants to return per page (1-100, default 20). */ limit?: number | undefined; /** * Sort direction. */ dir?: ListTenantsDir | undefined; /** * Cursor for the next page of results. Mutually exclusive with `prev`. */ next?: string | undefined; /** * Cursor for the previous page of results. Mutually exclusive with `next`. */ prev?: string | undefined; }; export type ListTenantsResponse = { result: components.TenantPaginatedResult; }; /** @internal */ export declare const ListTenantsId$inboundSchema: z.ZodType; /** @internal */ export type ListTenantsId$Outbound = string | Array; /** @internal */ export declare const ListTenantsId$outboundSchema: z.ZodType; export declare function listTenantsIdToJSON(listTenantsId: ListTenantsId): string; export declare function listTenantsIdFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ListTenantsDir$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ListTenantsDir$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ListTenantsRequest$inboundSchema: z.ZodType; /** @internal */ export type ListTenantsRequest$Outbound = { id?: string | Array | undefined; limit: number; dir: string; next?: string | undefined; prev?: string | undefined; }; /** @internal */ export declare const ListTenantsRequest$outboundSchema: z.ZodType; export declare function listTenantsRequestToJSON(listTenantsRequest: ListTenantsRequest): string; export declare function listTenantsRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ListTenantsResponse$inboundSchema: z.ZodType; /** @internal */ export type ListTenantsResponse$Outbound = { Result: components.TenantPaginatedResult$Outbound; }; /** @internal */ export declare const ListTenantsResponse$outboundSchema: z.ZodType; export declare function listTenantsResponseToJSON(listTenantsResponse: ListTenantsResponse): string; export declare function listTenantsResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=listtenants.d.ts.map