import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Lead, Lead$Outbound } from "./lead.js"; import { Links, Links$Outbound } from "./links.js"; import { Meta, Meta$Outbound } from "./meta.js"; /** * Leads */ export type GetLeadsResponse = { /** * HTTP Response Status Code */ statusCode: number; /** * HTTP Response Status */ status: string; /** * Apideck ID of service provider */ service: string; /** * Unified API resource name */ resource: string; /** * Operation performed */ operation: string; data: Array; /** * Response metadata */ meta?: Meta | undefined; /** * Links to navigate to previous or next pages through the API */ links?: Links | undefined; }; /** @internal */ export declare const GetLeadsResponse$inboundSchema: z.ZodType; /** @internal */ export type GetLeadsResponse$Outbound = { status_code: number; status: string; service: string; resource: string; operation: string; data: Array; meta?: Meta$Outbound | undefined; links?: Links$Outbound | undefined; }; /** @internal */ export declare const GetLeadsResponse$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 GetLeadsResponse$ { /** @deprecated use `GetLeadsResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetLeadsResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetLeadsResponse$Outbound` instead. */ type Outbound = GetLeadsResponse$Outbound; } export declare function getLeadsResponseToJSON(getLeadsResponse: GetLeadsResponse): string; export declare function getLeadsResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getleadsresponse.d.ts.map