attio-js
Version:
Developer-friendly & type-safe JS/TS SDK based on the official OpenAPI spec of Attio.
58 lines • 2.98 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";
export type GetV2ListsListRequest = {
list: string;
};
/**
* Success
*/
export type GetV2ListsListResponse = {
data: List;
};
/** @internal */
export declare const GetV2ListsListRequest$inboundSchema: z.ZodType<GetV2ListsListRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type GetV2ListsListRequest$Outbound = {
list: string;
};
/** @internal */
export declare const GetV2ListsListRequest$outboundSchema: z.ZodType<GetV2ListsListRequest$Outbound, z.ZodTypeDef, GetV2ListsListRequest>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace GetV2ListsListRequest$ {
/** @deprecated use `GetV2ListsListRequest$inboundSchema` instead. */
const inboundSchema: z.ZodType<GetV2ListsListRequest, z.ZodTypeDef, unknown>;
/** @deprecated use `GetV2ListsListRequest$outboundSchema` instead. */
const outboundSchema: z.ZodType<GetV2ListsListRequest$Outbound, z.ZodTypeDef, GetV2ListsListRequest>;
/** @deprecated use `GetV2ListsListRequest$Outbound` instead. */
type Outbound = GetV2ListsListRequest$Outbound;
}
export declare function getV2ListsListRequestToJSON(getV2ListsListRequest: GetV2ListsListRequest): string;
export declare function getV2ListsListRequestFromJSON(jsonString: string): SafeParseResult<GetV2ListsListRequest, SDKValidationError>;
/** @internal */
export declare const GetV2ListsListResponse$inboundSchema: z.ZodType<GetV2ListsListResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type GetV2ListsListResponse$Outbound = {
data: List$Outbound;
};
/** @internal */
export declare const GetV2ListsListResponse$outboundSchema: z.ZodType<GetV2ListsListResponse$Outbound, z.ZodTypeDef, GetV2ListsListResponse>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace GetV2ListsListResponse$ {
/** @deprecated use `GetV2ListsListResponse$inboundSchema` instead. */
const inboundSchema: z.ZodType<GetV2ListsListResponse, z.ZodTypeDef, unknown>;
/** @deprecated use `GetV2ListsListResponse$outboundSchema` instead. */
const outboundSchema: z.ZodType<GetV2ListsListResponse$Outbound, z.ZodTypeDef, GetV2ListsListResponse>;
/** @deprecated use `GetV2ListsListResponse$Outbound` instead. */
type Outbound = GetV2ListsListResponse$Outbound;
}
export declare function getV2ListsListResponseToJSON(getV2ListsListResponse: GetV2ListsListResponse): string;
export declare function getV2ListsListResponseFromJSON(jsonString: string): SafeParseResult<GetV2ListsListResponse, SDKValidationError>;
//# sourceMappingURL=getv2listslist.d.ts.map