import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { PaginationCoverage, PaginationCoverage$Outbound } from "./paginationcoverage.js"; import { ResourceStatus } from "./resourcestatus.js"; import { SupportedProperty, SupportedProperty$Outbound } 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; /** @internal */ export type Coverage$Outbound = { downstream_id?: string | undefined; downstream_name?: string | undefined; pagination_supported?: boolean | undefined; pagination?: PaginationCoverage$Outbound | undefined; supported_operations?: Array | undefined; supported_filters?: Array | undefined; supported_sort_by?: Array | undefined; supported_fields?: Array | undefined; supported_list_fields?: Array | undefined; }; /** @internal */ export declare const Coverage$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 Coverage$ { /** @deprecated use `Coverage$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Coverage$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Coverage$Outbound` instead. */ type Outbound = Coverage$Outbound; } export declare function coverageToJSON(coverage: Coverage): string; export declare function coverageFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ApiResourceCoverage$inboundSchema: z.ZodType; /** @internal */ export type ApiResourceCoverage$Outbound = { id?: string | undefined; name?: string | undefined; status?: string | undefined; coverage?: Array | undefined; }; /** @internal */ export declare const ApiResourceCoverage$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 ApiResourceCoverage$ { /** @deprecated use `ApiResourceCoverage$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ApiResourceCoverage$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ApiResourceCoverage$Outbound` instead. */ type Outbound = ApiResourceCoverage$Outbound; } export declare function apiResourceCoverageToJSON(apiResourceCoverage: ApiResourceCoverage): string; export declare function apiResourceCoverageFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=apiresourcecoverage.d.ts.map