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 ConnectorResource = { /** * ID of the resource, typically a lowercased version of name. */ id?: string | undefined; /** * Name of the resource (plural) */ name?: string | undefined; /** * 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; /** * Status of the resource. Resources with status live or beta are callable. */ status?: ResourceStatus | undefined; /** * Indicates if pagination (cursor and limit parameters) is supported on the list endpoint of the resource. */ paginationSupported?: boolean | undefined; pagination?: PaginationCoverage | undefined; /** * Indicates if custom fields are supported on this resource. */ customFieldsSupported?: boolean | undefined; /** * List of supported operations on the resource. */ supportedOperations?: Array | undefined; /** * List of operations that are not supported on the downstream. */ downstreamUnsupportedOperations?: 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; }; /** @internal */ export declare const ConnectorResource$inboundSchema: z.ZodType; export declare function connectorResourceFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=connectorresource.d.ts.map