attio-js
Version:
Developer-friendly & type-safe JS/TS SDK based on the official OpenAPI spec of Attio.
33 lines • 1.58 kB
TypeScript
import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { List, List$Outbound } from "../components/list.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
* Success
*/
export type GetV2ListsResponse = {
data: Array<List>;
};
/** @internal */
export declare const GetV2ListsResponse$inboundSchema: z.ZodType<GetV2ListsResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type GetV2ListsResponse$Outbound = {
data: Array<List$Outbound>;
};
/** @internal */
export declare const GetV2ListsResponse$outboundSchema: z.ZodType<GetV2ListsResponse$Outbound, z.ZodTypeDef, GetV2ListsResponse>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace GetV2ListsResponse$ {
/** @deprecated use `GetV2ListsResponse$inboundSchema` instead. */
const inboundSchema: z.ZodType<GetV2ListsResponse, z.ZodTypeDef, unknown>;
/** @deprecated use `GetV2ListsResponse$outboundSchema` instead. */
const outboundSchema: z.ZodType<GetV2ListsResponse$Outbound, z.ZodTypeDef, GetV2ListsResponse>;
/** @deprecated use `GetV2ListsResponse$Outbound` instead. */
type Outbound = GetV2ListsResponse$Outbound;
}
export declare function getV2ListsResponseToJSON(getV2ListsResponse: GetV2ListsResponse): string;
export declare function getV2ListsResponseFromJSON(jsonString: string): SafeParseResult<GetV2ListsResponse, SDKValidationError>;
//# sourceMappingURL=getv2lists.d.ts.map