UNPKG

attio-js

Version:

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

524 lines 25.7 kB
import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { Comment, Comment$Outbound } from "../components/comment.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * The format that the comment content is provided in. The `plaintext` format uses the line feed character `\n` to create new lines within the note content. Rich text formatting and links are not supported. */ export declare const PostV2CommentsFormat3: { readonly Plaintext: "plaintext"; }; /** * The format that the comment content is provided in. The `plaintext` format uses the line feed character `\n` to create new lines within the note content. Rich text formatting and links are not supported. */ export type PostV2CommentsFormat3 = ClosedEnum<typeof PostV2CommentsFormat3>; export declare const PostV2CommentsType3: { readonly WorkspaceMember: "workspace-member"; }; export type PostV2CommentsType3 = ClosedEnum<typeof PostV2CommentsType3>; /** * The workspace member who wrote this comment. Note that other types of actors are not currently supported. */ export type Author3 = { type: PostV2CommentsType3; id: string; }; export type Entry = { /** * If creating a top-level comment on a list entry, this is the slug or ID of that list. */ list: string; /** * If creating a top-level comment on a list entry, this is the ID of that entry. */ entryId: string; }; export type PostV2CommentsDataPlaintext3 = { /** * The format that the comment content is provided in. The `plaintext` format uses the line feed character `\n` to create new lines within the note content. Rich text formatting and links are not supported. */ format: PostV2CommentsFormat3; /** * The content of the comment itself. Workspace members can be mentioned using their email address, otherwise email addresses will be presented to users as clickable mailto links. */ content: string; /** * The workspace member who wrote this comment. Note that other types of actors are not currently supported. */ author: Author3; /** * `created_at` will default to the current time. However, if you wish to backdate a comment for migration or other purposes, you can override with a custom `created_at` value. Note that dates before 1970 or in the future are not allowed. */ createdAt?: string | undefined; entry: Entry; }; /** * The format that the comment content is provided in. The `plaintext` format uses the line feed character `\n` to create new lines within the note content. Rich text formatting and links are not supported. */ export declare const PostV2CommentsFormat2: { readonly Plaintext: "plaintext"; }; /** * The format that the comment content is provided in. The `plaintext` format uses the line feed character `\n` to create new lines within the note content. Rich text formatting and links are not supported. */ export type PostV2CommentsFormat2 = ClosedEnum<typeof PostV2CommentsFormat2>; export declare const PostV2CommentsType2: { readonly WorkspaceMember: "workspace-member"; }; export type PostV2CommentsType2 = ClosedEnum<typeof PostV2CommentsType2>; /** * The workspace member who wrote this comment. Note that other types of actors are not currently supported. */ export type Author2 = { type: PostV2CommentsType2; id: string; }; export type RecordT = { /** * If creating a top-level comment on a record, this is the slug or ID of that object. */ object: string; /** * If creating a top-level comment on a record, this is the ID of that record. */ recordId: string; }; export type PostV2CommentsDataPlaintext2 = { /** * The format that the comment content is provided in. The `plaintext` format uses the line feed character `\n` to create new lines within the note content. Rich text formatting and links are not supported. */ format: PostV2CommentsFormat2; /** * The content of the comment itself. Workspace members can be mentioned using their email address, otherwise email addresses will be presented to users as clickable mailto links. */ content: string; /** * The workspace member who wrote this comment. Note that other types of actors are not currently supported. */ author: Author2; /** * `created_at` will default to the current time. However, if you wish to backdate a comment for migration or other purposes, you can override with a custom `created_at` value. Note that dates before 1970 or in the future are not allowed. */ createdAt?: string | undefined; record: RecordT; }; /** * The format that the comment content is provided in. The `plaintext` format uses the line feed character `\n` to create new lines within the note content. Rich text formatting and links are not supported. */ export declare const PostV2CommentsFormat1: { readonly Plaintext: "plaintext"; }; /** * The format that the comment content is provided in. The `plaintext` format uses the line feed character `\n` to create new lines within the note content. Rich text formatting and links are not supported. */ export type PostV2CommentsFormat1 = ClosedEnum<typeof PostV2CommentsFormat1>; export declare const PostV2CommentsType1: { readonly WorkspaceMember: "workspace-member"; }; export type PostV2CommentsType1 = ClosedEnum<typeof PostV2CommentsType1>; /** * The workspace member who wrote this comment. Note that other types of actors are not currently supported. */ export type Author1 = { type: PostV2CommentsType1; id: string; }; export type PostV2CommentsDataPlaintext1 = { /** * The format that the comment content is provided in. The `plaintext` format uses the line feed character `\n` to create new lines within the note content. Rich text formatting and links are not supported. */ format: PostV2CommentsFormat1; /** * The content of the comment itself. Workspace members can be mentioned using their email address, otherwise email addresses will be presented to users as clickable mailto links. */ content: string; /** * The workspace member who wrote this comment. Note that other types of actors are not currently supported. */ author: Author1; /** * `created_at` will default to the current time. However, if you wish to backdate a comment for migration or other purposes, you can override with a custom `created_at` value. Note that dates before 1970 or in the future are not allowed. */ createdAt?: string | undefined; /** * If responding to an existing thread, this would be the ID of that thread. */ threadId: string; }; export type PostV2CommentsDataUnion = PostV2CommentsDataPlaintext1 | PostV2CommentsDataPlaintext2 | PostV2CommentsDataPlaintext3; export type PostV2CommentsRequest = { data: PostV2CommentsDataPlaintext1 | PostV2CommentsDataPlaintext2 | PostV2CommentsDataPlaintext3; }; /** * Success */ export type PostV2CommentsResponse = { data: Comment; }; /** @internal */ export declare const PostV2CommentsFormat3$inboundSchema: z.ZodNativeEnum<typeof PostV2CommentsFormat3>; /** @internal */ export declare const PostV2CommentsFormat3$outboundSchema: z.ZodNativeEnum<typeof PostV2CommentsFormat3>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace PostV2CommentsFormat3$ { /** @deprecated use `PostV2CommentsFormat3$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Plaintext: "plaintext"; }>; /** @deprecated use `PostV2CommentsFormat3$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Plaintext: "plaintext"; }>; } /** @internal */ export declare const PostV2CommentsType3$inboundSchema: z.ZodNativeEnum<typeof PostV2CommentsType3>; /** @internal */ export declare const PostV2CommentsType3$outboundSchema: z.ZodNativeEnum<typeof PostV2CommentsType3>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace PostV2CommentsType3$ { /** @deprecated use `PostV2CommentsType3$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly WorkspaceMember: "workspace-member"; }>; /** @deprecated use `PostV2CommentsType3$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly WorkspaceMember: "workspace-member"; }>; } /** @internal */ export declare const Author3$inboundSchema: z.ZodType<Author3, z.ZodTypeDef, unknown>; /** @internal */ export type Author3$Outbound = { type: string; id: string; }; /** @internal */ export declare const Author3$outboundSchema: z.ZodType<Author3$Outbound, z.ZodTypeDef, Author3>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace Author3$ { /** @deprecated use `Author3$inboundSchema` instead. */ const inboundSchema: z.ZodType<Author3, z.ZodTypeDef, unknown>; /** @deprecated use `Author3$outboundSchema` instead. */ const outboundSchema: z.ZodType<Author3$Outbound, z.ZodTypeDef, Author3>; /** @deprecated use `Author3$Outbound` instead. */ type Outbound = Author3$Outbound; } export declare function author3ToJSON(author3: Author3): string; export declare function author3FromJSON(jsonString: string): SafeParseResult<Author3, SDKValidationError>; /** @internal */ export declare const Entry$inboundSchema: z.ZodType<Entry, z.ZodTypeDef, unknown>; /** @internal */ export type Entry$Outbound = { list: string; entry_id: string; }; /** @internal */ export declare const Entry$outboundSchema: z.ZodType<Entry$Outbound, z.ZodTypeDef, Entry>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace Entry$ { /** @deprecated use `Entry$inboundSchema` instead. */ const inboundSchema: z.ZodType<Entry, z.ZodTypeDef, unknown>; /** @deprecated use `Entry$outboundSchema` instead. */ const outboundSchema: z.ZodType<Entry$Outbound, z.ZodTypeDef, Entry>; /** @deprecated use `Entry$Outbound` instead. */ type Outbound = Entry$Outbound; } export declare function entryToJSON(entry: Entry): string; export declare function entryFromJSON(jsonString: string): SafeParseResult<Entry, SDKValidationError>; /** @internal */ export declare const PostV2CommentsDataPlaintext3$inboundSchema: z.ZodType<PostV2CommentsDataPlaintext3, z.ZodTypeDef, unknown>; /** @internal */ export type PostV2CommentsDataPlaintext3$Outbound = { format: string; content: string; author: Author3$Outbound; created_at?: string | undefined; entry: Entry$Outbound; }; /** @internal */ export declare const PostV2CommentsDataPlaintext3$outboundSchema: z.ZodType<PostV2CommentsDataPlaintext3$Outbound, z.ZodTypeDef, PostV2CommentsDataPlaintext3>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace PostV2CommentsDataPlaintext3$ { /** @deprecated use `PostV2CommentsDataPlaintext3$inboundSchema` instead. */ const inboundSchema: z.ZodType<PostV2CommentsDataPlaintext3, z.ZodTypeDef, unknown>; /** @deprecated use `PostV2CommentsDataPlaintext3$outboundSchema` instead. */ const outboundSchema: z.ZodType<PostV2CommentsDataPlaintext3$Outbound, z.ZodTypeDef, PostV2CommentsDataPlaintext3>; /** @deprecated use `PostV2CommentsDataPlaintext3$Outbound` instead. */ type Outbound = PostV2CommentsDataPlaintext3$Outbound; } export declare function postV2CommentsDataPlaintext3ToJSON(postV2CommentsDataPlaintext3: PostV2CommentsDataPlaintext3): string; export declare function postV2CommentsDataPlaintext3FromJSON(jsonString: string): SafeParseResult<PostV2CommentsDataPlaintext3, SDKValidationError>; /** @internal */ export declare const PostV2CommentsFormat2$inboundSchema: z.ZodNativeEnum<typeof PostV2CommentsFormat2>; /** @internal */ export declare const PostV2CommentsFormat2$outboundSchema: z.ZodNativeEnum<typeof PostV2CommentsFormat2>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace PostV2CommentsFormat2$ { /** @deprecated use `PostV2CommentsFormat2$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Plaintext: "plaintext"; }>; /** @deprecated use `PostV2CommentsFormat2$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Plaintext: "plaintext"; }>; } /** @internal */ export declare const PostV2CommentsType2$inboundSchema: z.ZodNativeEnum<typeof PostV2CommentsType2>; /** @internal */ export declare const PostV2CommentsType2$outboundSchema: z.ZodNativeEnum<typeof PostV2CommentsType2>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace PostV2CommentsType2$ { /** @deprecated use `PostV2CommentsType2$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly WorkspaceMember: "workspace-member"; }>; /** @deprecated use `PostV2CommentsType2$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly WorkspaceMember: "workspace-member"; }>; } /** @internal */ export declare const Author2$inboundSchema: z.ZodType<Author2, z.ZodTypeDef, unknown>; /** @internal */ export type Author2$Outbound = { type: string; id: string; }; /** @internal */ export declare const Author2$outboundSchema: z.ZodType<Author2$Outbound, z.ZodTypeDef, Author2>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace Author2$ { /** @deprecated use `Author2$inboundSchema` instead. */ const inboundSchema: z.ZodType<Author2, z.ZodTypeDef, unknown>; /** @deprecated use `Author2$outboundSchema` instead. */ const outboundSchema: z.ZodType<Author2$Outbound, z.ZodTypeDef, Author2>; /** @deprecated use `Author2$Outbound` instead. */ type Outbound = Author2$Outbound; } export declare function author2ToJSON(author2: Author2): string; export declare function author2FromJSON(jsonString: string): SafeParseResult<Author2, SDKValidationError>; /** @internal */ export declare const RecordT$inboundSchema: z.ZodType<RecordT, z.ZodTypeDef, unknown>; /** @internal */ export type RecordT$Outbound = { object: string; record_id: string; }; /** @internal */ export declare const RecordT$outboundSchema: z.ZodType<RecordT$Outbound, z.ZodTypeDef, RecordT>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace RecordT$ { /** @deprecated use `RecordT$inboundSchema` instead. */ const inboundSchema: z.ZodType<RecordT, z.ZodTypeDef, unknown>; /** @deprecated use `RecordT$outboundSchema` instead. */ const outboundSchema: z.ZodType<RecordT$Outbound, z.ZodTypeDef, RecordT>; /** @deprecated use `RecordT$Outbound` instead. */ type Outbound = RecordT$Outbound; } export declare function recordToJSON(recordT: RecordT): string; export declare function recordFromJSON(jsonString: string): SafeParseResult<RecordT, SDKValidationError>; /** @internal */ export declare const PostV2CommentsDataPlaintext2$inboundSchema: z.ZodType<PostV2CommentsDataPlaintext2, z.ZodTypeDef, unknown>; /** @internal */ export type PostV2CommentsDataPlaintext2$Outbound = { format: string; content: string; author: Author2$Outbound; created_at?: string | undefined; record: RecordT$Outbound; }; /** @internal */ export declare const PostV2CommentsDataPlaintext2$outboundSchema: z.ZodType<PostV2CommentsDataPlaintext2$Outbound, z.ZodTypeDef, PostV2CommentsDataPlaintext2>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace PostV2CommentsDataPlaintext2$ { /** @deprecated use `PostV2CommentsDataPlaintext2$inboundSchema` instead. */ const inboundSchema: z.ZodType<PostV2CommentsDataPlaintext2, z.ZodTypeDef, unknown>; /** @deprecated use `PostV2CommentsDataPlaintext2$outboundSchema` instead. */ const outboundSchema: z.ZodType<PostV2CommentsDataPlaintext2$Outbound, z.ZodTypeDef, PostV2CommentsDataPlaintext2>; /** @deprecated use `PostV2CommentsDataPlaintext2$Outbound` instead. */ type Outbound = PostV2CommentsDataPlaintext2$Outbound; } export declare function postV2CommentsDataPlaintext2ToJSON(postV2CommentsDataPlaintext2: PostV2CommentsDataPlaintext2): string; export declare function postV2CommentsDataPlaintext2FromJSON(jsonString: string): SafeParseResult<PostV2CommentsDataPlaintext2, SDKValidationError>; /** @internal */ export declare const PostV2CommentsFormat1$inboundSchema: z.ZodNativeEnum<typeof PostV2CommentsFormat1>; /** @internal */ export declare const PostV2CommentsFormat1$outboundSchema: z.ZodNativeEnum<typeof PostV2CommentsFormat1>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace PostV2CommentsFormat1$ { /** @deprecated use `PostV2CommentsFormat1$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Plaintext: "plaintext"; }>; /** @deprecated use `PostV2CommentsFormat1$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Plaintext: "plaintext"; }>; } /** @internal */ export declare const PostV2CommentsType1$inboundSchema: z.ZodNativeEnum<typeof PostV2CommentsType1>; /** @internal */ export declare const PostV2CommentsType1$outboundSchema: z.ZodNativeEnum<typeof PostV2CommentsType1>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace PostV2CommentsType1$ { /** @deprecated use `PostV2CommentsType1$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly WorkspaceMember: "workspace-member"; }>; /** @deprecated use `PostV2CommentsType1$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly WorkspaceMember: "workspace-member"; }>; } /** @internal */ export declare const Author1$inboundSchema: z.ZodType<Author1, z.ZodTypeDef, unknown>; /** @internal */ export type Author1$Outbound = { type: string; id: string; }; /** @internal */ export declare const Author1$outboundSchema: z.ZodType<Author1$Outbound, z.ZodTypeDef, Author1>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace Author1$ { /** @deprecated use `Author1$inboundSchema` instead. */ const inboundSchema: z.ZodType<Author1, z.ZodTypeDef, unknown>; /** @deprecated use `Author1$outboundSchema` instead. */ const outboundSchema: z.ZodType<Author1$Outbound, z.ZodTypeDef, Author1>; /** @deprecated use `Author1$Outbound` instead. */ type Outbound = Author1$Outbound; } export declare function author1ToJSON(author1: Author1): string; export declare function author1FromJSON(jsonString: string): SafeParseResult<Author1, SDKValidationError>; /** @internal */ export declare const PostV2CommentsDataPlaintext1$inboundSchema: z.ZodType<PostV2CommentsDataPlaintext1, z.ZodTypeDef, unknown>; /** @internal */ export type PostV2CommentsDataPlaintext1$Outbound = { format: string; content: string; author: Author1$Outbound; created_at?: string | undefined; thread_id: string; }; /** @internal */ export declare const PostV2CommentsDataPlaintext1$outboundSchema: z.ZodType<PostV2CommentsDataPlaintext1$Outbound, z.ZodTypeDef, PostV2CommentsDataPlaintext1>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace PostV2CommentsDataPlaintext1$ { /** @deprecated use `PostV2CommentsDataPlaintext1$inboundSchema` instead. */ const inboundSchema: z.ZodType<PostV2CommentsDataPlaintext1, z.ZodTypeDef, unknown>; /** @deprecated use `PostV2CommentsDataPlaintext1$outboundSchema` instead. */ const outboundSchema: z.ZodType<PostV2CommentsDataPlaintext1$Outbound, z.ZodTypeDef, PostV2CommentsDataPlaintext1>; /** @deprecated use `PostV2CommentsDataPlaintext1$Outbound` instead. */ type Outbound = PostV2CommentsDataPlaintext1$Outbound; } export declare function postV2CommentsDataPlaintext1ToJSON(postV2CommentsDataPlaintext1: PostV2CommentsDataPlaintext1): string; export declare function postV2CommentsDataPlaintext1FromJSON(jsonString: string): SafeParseResult<PostV2CommentsDataPlaintext1, SDKValidationError>; /** @internal */ export declare const PostV2CommentsDataUnion$inboundSchema: z.ZodType<PostV2CommentsDataUnion, z.ZodTypeDef, unknown>; /** @internal */ export type PostV2CommentsDataUnion$Outbound = PostV2CommentsDataPlaintext1$Outbound | PostV2CommentsDataPlaintext2$Outbound | PostV2CommentsDataPlaintext3$Outbound; /** @internal */ export declare const PostV2CommentsDataUnion$outboundSchema: z.ZodType<PostV2CommentsDataUnion$Outbound, z.ZodTypeDef, PostV2CommentsDataUnion>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace PostV2CommentsDataUnion$ { /** @deprecated use `PostV2CommentsDataUnion$inboundSchema` instead. */ const inboundSchema: z.ZodType<PostV2CommentsDataUnion, z.ZodTypeDef, unknown>; /** @deprecated use `PostV2CommentsDataUnion$outboundSchema` instead. */ const outboundSchema: z.ZodType<PostV2CommentsDataUnion$Outbound, z.ZodTypeDef, PostV2CommentsDataUnion>; /** @deprecated use `PostV2CommentsDataUnion$Outbound` instead. */ type Outbound = PostV2CommentsDataUnion$Outbound; } export declare function postV2CommentsDataUnionToJSON(postV2CommentsDataUnion: PostV2CommentsDataUnion): string; export declare function postV2CommentsDataUnionFromJSON(jsonString: string): SafeParseResult<PostV2CommentsDataUnion, SDKValidationError>; /** @internal */ export declare const PostV2CommentsRequest$inboundSchema: z.ZodType<PostV2CommentsRequest, z.ZodTypeDef, unknown>; /** @internal */ export type PostV2CommentsRequest$Outbound = { data: PostV2CommentsDataPlaintext1$Outbound | PostV2CommentsDataPlaintext2$Outbound | PostV2CommentsDataPlaintext3$Outbound; }; /** @internal */ export declare const PostV2CommentsRequest$outboundSchema: z.ZodType<PostV2CommentsRequest$Outbound, z.ZodTypeDef, PostV2CommentsRequest>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace PostV2CommentsRequest$ { /** @deprecated use `PostV2CommentsRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType<PostV2CommentsRequest, z.ZodTypeDef, unknown>; /** @deprecated use `PostV2CommentsRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType<PostV2CommentsRequest$Outbound, z.ZodTypeDef, PostV2CommentsRequest>; /** @deprecated use `PostV2CommentsRequest$Outbound` instead. */ type Outbound = PostV2CommentsRequest$Outbound; } export declare function postV2CommentsRequestToJSON(postV2CommentsRequest: PostV2CommentsRequest): string; export declare function postV2CommentsRequestFromJSON(jsonString: string): SafeParseResult<PostV2CommentsRequest, SDKValidationError>; /** @internal */ export declare const PostV2CommentsResponse$inboundSchema: z.ZodType<PostV2CommentsResponse, z.ZodTypeDef, unknown>; /** @internal */ export type PostV2CommentsResponse$Outbound = { data: Comment$Outbound; }; /** @internal */ export declare const PostV2CommentsResponse$outboundSchema: z.ZodType<PostV2CommentsResponse$Outbound, z.ZodTypeDef, PostV2CommentsResponse>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace PostV2CommentsResponse$ { /** @deprecated use `PostV2CommentsResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType<PostV2CommentsResponse, z.ZodTypeDef, unknown>; /** @deprecated use `PostV2CommentsResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType<PostV2CommentsResponse$Outbound, z.ZodTypeDef, PostV2CommentsResponse>; /** @deprecated use `PostV2CommentsResponse$Outbound` instead. */ type Outbound = PostV2CommentsResponse$Outbound; } export declare function postV2CommentsResponseToJSON(postV2CommentsResponse: PostV2CommentsResponse): string; export declare function postV2CommentsResponseFromJSON(jsonString: string): SafeParseResult<PostV2CommentsResponse, SDKValidationError>; //# sourceMappingURL=postv2comments.d.ts.map