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"; /** * Direction of sorting */ export declare const TopicsControllerListTopicsQueryParamOrderDirection: { readonly Asc: "ASC"; readonly Desc: "DESC"; }; /** * Direction of sorting */ export type TopicsControllerListTopicsQueryParamOrderDirection = ClosedEnum; export type TopicsControllerListTopicsRequest = { /** * Cursor for pagination indicating the starting point after which to fetch results. */ after?: string | undefined; /** * Cursor for pagination indicating the ending point before which to fetch results. */ before?: string | undefined; /** * Limit the number of items to return (max 100) */ limit?: number | undefined; /** * Direction of sorting */ orderDirection?: TopicsControllerListTopicsQueryParamOrderDirection | undefined; /** * Field to order by */ orderBy?: string | undefined; /** * Include cursor item in response */ includeCursor?: boolean | undefined; /** * Key of the topic to filter results. */ key?: string | undefined; /** * Name of the topic to filter results. */ name?: string | undefined; /** * A header for idempotency purposes */ idempotencyKey?: string | undefined; }; export type TopicsControllerListTopicsResponse = { headers: { [k: string]: Array; }; result: components.ListTopicsResponseDto; }; /** @internal */ export declare const TopicsControllerListTopicsQueryParamOrderDirection$outboundSchema: z.ZodNativeEnum; /** @internal */ export type TopicsControllerListTopicsRequest$Outbound = { after?: string | undefined; before?: string | undefined; limit?: number | undefined; orderDirection?: string | undefined; orderBy?: string | undefined; includeCursor?: boolean | undefined; key?: string | undefined; name?: string | undefined; "idempotency-key"?: string | undefined; }; /** @internal */ export declare const TopicsControllerListTopicsRequest$outboundSchema: z.ZodType; export declare function topicsControllerListTopicsRequestToJSON(topicsControllerListTopicsRequest: TopicsControllerListTopicsRequest): string; /** @internal */ export declare const TopicsControllerListTopicsResponse$inboundSchema: z.ZodType; export declare function topicsControllerListTopicsResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=topicscontrollerlisttopics.d.ts.map