import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Cursors to navigate to previous or next pages through the API */ export type Cursors = { /** * Cursor to navigate to the previous page of results through the API */ previous?: string | null | undefined; /** * Cursor to navigate to the current page of results through the API */ current?: string | null | undefined; /** * Cursor to navigate to the next page of results through the API */ next?: string | null | undefined; }; /** * Advisory warning emitted when an optional workflow step fails non-fatally. The overall request still succeeds (HTTP 200); inspect this to detect partial or degraded data. */ export type Warnings = { /** * Discriminator for the warning kind. */ type?: string | undefined; /** * HTTP status code returned by the failed downstream request, when available. */ statusCode?: number | null | undefined; /** * Short error description from the downstream provider, when available. */ error?: string | null | undefined; /** * Identifier of the workflow step that failed. */ operation?: string | null | undefined; /** * Detailed message from the downstream provider, when available. */ message?: string | null | undefined; }; /** * Response metadata */ export type Meta = { /** * Number of items returned in the data property of the response */ itemsOnPage?: number | undefined; /** * Cursors to navigate to previous or next pages through the API */ cursors?: Cursors | undefined; /** * Number of records available in total for this resource */ totalCount?: number | undefined; /** * Non-fatal warnings emitted when optional workflow steps failed. Present only when at least one step degraded; the response status remains 200. */ warnings?: Array | null | undefined; }; /** @internal */ export declare const Cursors$inboundSchema: z.ZodType; export declare function cursorsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Warnings$inboundSchema: z.ZodType; export declare function warningsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Meta$inboundSchema: z.ZodType; export declare function metaFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=meta.d.ts.map