import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * How pagination is implemented on this connector. Native mode means Apideck is using the pagination parameters of the connector. With virtual pagination, the connector does not support pagination, but Apideck emulates it. */ export declare const PaginationCoverageMode: { readonly Native: "native"; readonly Virtual: "virtual"; }; /** * How pagination is implemented on this connector. Native mode means Apideck is using the pagination parameters of the connector. With virtual pagination, the connector does not support pagination, but Apideck emulates it. */ export type PaginationCoverageMode = ClosedEnum; export type PaginationCoverage = { /** * How pagination is implemented on this connector. Native mode means Apideck is using the pagination parameters of the connector. With virtual pagination, the connector does not support pagination, but Apideck emulates it. */ mode?: PaginationCoverageMode | undefined; /** * Indicates whether the connector supports paging through results using the cursor parameter. */ pagingSupport?: boolean | undefined; /** * Indicates whether the connector supports changing the page size by using the limit parameter. */ limitSupport?: boolean | undefined; }; /** @internal */ export declare const PaginationCoverageMode$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const PaginationCoverageMode$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace PaginationCoverageMode$ { /** @deprecated use `PaginationCoverageMode$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Native: "native"; readonly Virtual: "virtual"; }>; /** @deprecated use `PaginationCoverageMode$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Native: "native"; readonly Virtual: "virtual"; }>; } /** @internal */ export declare const PaginationCoverage$inboundSchema: z.ZodType; /** @internal */ export type PaginationCoverage$Outbound = { mode?: string | undefined; paging_support?: boolean | undefined; limit_support?: boolean | undefined; }; /** @internal */ export declare const PaginationCoverage$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 PaginationCoverage$ { /** @deprecated use `PaginationCoverage$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PaginationCoverage$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `PaginationCoverage$Outbound` instead. */ type Outbound = PaginationCoverage$Outbound; } export declare function paginationCoverageToJSON(paginationCoverage: PaginationCoverage): string; export declare function paginationCoverageFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=paginationcoverage.d.ts.map