import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { PaginationCoverage } from "./paginationcoverage.js"; import { ResourceStatus } from "./resourcestatus.js"; import { SupportedProperty } from "./supportedproperty.js"; export type Coverage = { /** * ID of the resource in the Connector's API (downstream) */ downstreamId?: string | undefined; /** * Name of the resource in the Connector's API (downstream) */ downstreamName?: string | undefined; /** * Indicates if pagination (cursor and limit parameters) is supported on the list endpoint of the resource. */ paginationSupported?: boolean | undefined; pagination?: PaginationCoverage | undefined; /** * List of supported operations on the resource. */ supportedOperations?: Array | undefined; /** * Supported filters on the list endpoint of the resource. */ supportedFilters?: Array | undefined; /** * Supported sorting properties on the list endpoint of the resource. */ supportedSortBy?: Array | undefined; /** * Supported fields on the detail endpoint. */ supportedFields?: Array | undefined; /** * Supported fields on the list endpoint. */ supportedListFields?: Array | undefined; }; export type ApiResourceCoverage = { /** * ID of the resource, typically a lowercased version of name. */ id?: string | undefined; /** * Name of the resource (plural) */ name?: string | undefined; /** * Status of the resource. Resources with status live or beta are callable. */ status?: ResourceStatus | undefined; coverage?: Array | undefined; }; /** @internal */ export declare const Coverage$inboundSchema: z.ZodType; export declare function coverageFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ApiResourceCoverage$inboundSchema: z.ZodType; export declare function apiResourceCoverageFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=apiresourcecoverage.d.ts.map