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