UNPKG

attio-js

Version:

Developer-friendly & type-safe JS/TS SDK based on the official OpenAPI spec of Attio.

58 lines 3.34 kB
import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { Comment, Comment$Outbound } from "../components/comment.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetV2CommentsCommentIdRequest = { commentId: string; }; /** * Success */ export type GetV2CommentsCommentIdResponse = { data: Comment; }; /** @internal */ export declare const GetV2CommentsCommentIdRequest$inboundSchema: z.ZodType<GetV2CommentsCommentIdRequest, z.ZodTypeDef, unknown>; /** @internal */ export type GetV2CommentsCommentIdRequest$Outbound = { comment_id: string; }; /** @internal */ export declare const GetV2CommentsCommentIdRequest$outboundSchema: z.ZodType<GetV2CommentsCommentIdRequest$Outbound, z.ZodTypeDef, GetV2CommentsCommentIdRequest>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace GetV2CommentsCommentIdRequest$ { /** @deprecated use `GetV2CommentsCommentIdRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType<GetV2CommentsCommentIdRequest, z.ZodTypeDef, unknown>; /** @deprecated use `GetV2CommentsCommentIdRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType<GetV2CommentsCommentIdRequest$Outbound, z.ZodTypeDef, GetV2CommentsCommentIdRequest>; /** @deprecated use `GetV2CommentsCommentIdRequest$Outbound` instead. */ type Outbound = GetV2CommentsCommentIdRequest$Outbound; } export declare function getV2CommentsCommentIdRequestToJSON(getV2CommentsCommentIdRequest: GetV2CommentsCommentIdRequest): string; export declare function getV2CommentsCommentIdRequestFromJSON(jsonString: string): SafeParseResult<GetV2CommentsCommentIdRequest, SDKValidationError>; /** @internal */ export declare const GetV2CommentsCommentIdResponse$inboundSchema: z.ZodType<GetV2CommentsCommentIdResponse, z.ZodTypeDef, unknown>; /** @internal */ export type GetV2CommentsCommentIdResponse$Outbound = { data: Comment$Outbound; }; /** @internal */ export declare const GetV2CommentsCommentIdResponse$outboundSchema: z.ZodType<GetV2CommentsCommentIdResponse$Outbound, z.ZodTypeDef, GetV2CommentsCommentIdResponse>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace GetV2CommentsCommentIdResponse$ { /** @deprecated use `GetV2CommentsCommentIdResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType<GetV2CommentsCommentIdResponse, z.ZodTypeDef, unknown>; /** @deprecated use `GetV2CommentsCommentIdResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType<GetV2CommentsCommentIdResponse$Outbound, z.ZodTypeDef, GetV2CommentsCommentIdResponse>; /** @deprecated use `GetV2CommentsCommentIdResponse$Outbound` instead. */ type Outbound = GetV2CommentsCommentIdResponse$Outbound; } export declare function getV2CommentsCommentIdResponseToJSON(getV2CommentsCommentIdResponse: GetV2CommentsCommentIdResponse): string; export declare function getV2CommentsCommentIdResponseFromJSON(jsonString: string): SafeParseResult<GetV2CommentsCommentIdResponse, SDKValidationError>; //# sourceMappingURL=getv2commentscommentid.d.ts.map