UNPKG

attio-js

Version:

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

1,337 lines 96.7 kB
import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; export declare const NotFoundType: { readonly InvalidRequestError: "invalid_request_error"; }; export type NotFoundType = ClosedEnum<typeof NotFoundType>; export declare const NotFoundCode: { readonly NotFound: "not_found"; }; export type NotFoundCode = ClosedEnum<typeof NotFoundCode>; /** * Not Found */ export type GetV2ObjectsObjectNotFoundErrorData = { statusCode: number; type: NotFoundType; code: NotFoundCode; message: string; }; /** * Not Found */ export declare class GetV2ObjectsObjectNotFoundError extends Error { statusCode: number; type: NotFoundType; code: NotFoundCode; /** The original data that was passed to this error instance. */ data$: GetV2ObjectsObjectNotFoundErrorData; constructor(err: GetV2ObjectsObjectNotFoundErrorData); } export declare const ConflictType: { readonly InvalidRequestError: "invalid_request_error"; }; export type ConflictType = ClosedEnum<typeof ConflictType>; export declare const ConflictCode: { readonly SlugConflict: "slug_conflict"; }; export type ConflictCode = ClosedEnum<typeof ConflictCode>; /** * Conflict */ export type PostV2ObjectsSlugConflictErrorData = { statusCode: number; type: ConflictType; code: ConflictCode; message: string; }; /** * Conflict */ export declare class PostV2ObjectsSlugConflictError extends Error { statusCode: number; type: ConflictType; code: ConflictCode; /** The original data that was passed to this error instance. */ data$: PostV2ObjectsSlugConflictErrorData; constructor(err: PostV2ObjectsSlugConflictErrorData); } /** * Conflict */ export type PatchV2ObjectsObjectSlugConflictErrorData = { statusCode: number; type: ConflictType; code: ConflictCode; message: string; }; /** * Conflict */ export declare class PatchV2ObjectsObjectSlugConflictError extends Error { statusCode: number; type: ConflictType; code: ConflictCode; /** The original data that was passed to this error instance. */ data$: PatchV2ObjectsObjectSlugConflictErrorData; constructor(err: PatchV2ObjectsObjectSlugConflictErrorData); } export declare const BadRequestType: { readonly InvalidRequestError: "invalid_request_error"; }; export type BadRequestType = ClosedEnum<typeof BadRequestType>; export declare const CodeValidationType: { readonly ValidationType: "validation_type"; }; export type CodeValidationType = ClosedEnum<typeof CodeValidationType>; /** * Bad Request */ export type PatchV2ObjectsObjectValidationTypeErrorData = { statusCode: number; type: BadRequestType; code: CodeValidationType; message: string; }; /** * Bad Request */ export declare class PatchV2ObjectsObjectValidationTypeError extends Error { statusCode: number; type: BadRequestType; code: CodeValidationType; /** The original data that was passed to this error instance. */ data$: PatchV2ObjectsObjectValidationTypeErrorData; constructor(err: PatchV2ObjectsObjectValidationTypeErrorData); } /** * Conflict */ export type PostV2TargetIdentifierAttributesSlugConflictErrorData = { statusCode: number; type: ConflictType; code: ConflictCode; message: string; }; /** * Conflict */ export declare class PostV2TargetIdentifierAttributesSlugConflictError extends Error { statusCode: number; type: ConflictType; code: ConflictCode; /** The original data that was passed to this error instance. */ data$: PostV2TargetIdentifierAttributesSlugConflictErrorData; constructor(err: PostV2TargetIdentifierAttributesSlugConflictErrorData); } /** * Not Found */ export type PostV2TargetIdentifierAttributesNotFoundErrorData = { statusCode: number; type: NotFoundType; code: NotFoundCode; message: string; }; /** * Not Found */ export declare class PostV2TargetIdentifierAttributesNotFoundError extends Error { statusCode: number; type: NotFoundType; code: NotFoundCode; /** The original data that was passed to this error instance. */ data$: PostV2TargetIdentifierAttributesNotFoundErrorData; constructor(err: PostV2TargetIdentifierAttributesNotFoundErrorData); } /** * Bad Request */ export type PostV2TargetIdentifierAttributesValidationTypeErrorData = { statusCode: number; type: BadRequestType; code: CodeValidationType; message: string; }; /** * Bad Request */ export declare class PostV2TargetIdentifierAttributesValidationTypeError extends Error { statusCode: number; type: BadRequestType; code: CodeValidationType; /** The original data that was passed to this error instance. */ data$: PostV2TargetIdentifierAttributesValidationTypeErrorData; constructor(err: PostV2TargetIdentifierAttributesValidationTypeErrorData); } /** * Not Found */ export type GetV2TargetIdentifierAttributesAttributeNotFoundErrorData = { statusCode: number; type: NotFoundType; code: NotFoundCode; message: string; }; /** * Not Found */ export declare class GetV2TargetIdentifierAttributesAttributeNotFoundError extends Error { statusCode: number; type: NotFoundType; code: NotFoundCode; /** The original data that was passed to this error instance. */ data$: GetV2TargetIdentifierAttributesAttributeNotFoundErrorData; constructor(err: GetV2TargetIdentifierAttributesAttributeNotFoundErrorData); } export declare const PatchV2TargetIdentifierAttributesAttributeCode: { readonly SystemEditUnauthorized: "system_edit_unauthorized"; }; export type PatchV2TargetIdentifierAttributesAttributeCode = ClosedEnum<typeof PatchV2TargetIdentifierAttributesAttributeCode>; /** * Bad Request */ export type SystemEditUnauthorizedErrorData = { statusCode: number; type: BadRequestType; code: PatchV2TargetIdentifierAttributesAttributeCode; message: string; }; /** * Bad Request */ export declare class SystemEditUnauthorizedError extends Error { statusCode: number; type: BadRequestType; code: PatchV2TargetIdentifierAttributesAttributeCode; /** The original data that was passed to this error instance. */ data$: SystemEditUnauthorizedErrorData; constructor(err: SystemEditUnauthorizedErrorData); } /** * Conflict */ export type PostV2TargetIdentifierAttributesAttributeOptionsSlugConflictErrorData = { statusCode: number; type: ConflictType; code: ConflictCode; message: string; }; /** * Conflict */ export declare class PostV2TargetIdentifierAttributesAttributeOptionsSlugConflictError extends Error { statusCode: number; type: ConflictType; code: ConflictCode; /** The original data that was passed to this error instance. */ data$: PostV2TargetIdentifierAttributesAttributeOptionsSlugConflictErrorData; constructor(err: PostV2TargetIdentifierAttributesAttributeOptionsSlugConflictErrorData); } /** * Bad Request */ export type PostV2TargetIdentifierAttributesAttributeOptionsValidationTypeErrorData = { statusCode: number; type: BadRequestType; code: CodeValidationType; message: string; }; /** * Bad Request */ export declare class PostV2TargetIdentifierAttributesAttributeOptionsValidationTypeError extends Error { statusCode: number; type: BadRequestType; code: CodeValidationType; /** The original data that was passed to this error instance. */ data$: PostV2TargetIdentifierAttributesAttributeOptionsValidationTypeErrorData; constructor(err: PostV2TargetIdentifierAttributesAttributeOptionsValidationTypeErrorData); } export declare const BadRequestCode: { readonly ValueNotFound: "value_not_found"; readonly MissingValue: "missing_value"; }; export type BadRequestCode = ClosedEnum<typeof BadRequestCode>; /** * Bad Request */ export type PatchV2TargetIdentifierAttributesAttributeOptionsOptionInvalidRequestErrorData = { statusCode: number; type: BadRequestType; code: BadRequestCode; message: string; }; /** * Bad Request */ export declare class PatchV2TargetIdentifierAttributesAttributeOptionsOptionInvalidRequestError extends Error { statusCode: number; type: BadRequestType; code: BadRequestCode; /** The original data that was passed to this error instance. */ data$: PatchV2TargetIdentifierAttributesAttributeOptionsOptionInvalidRequestErrorData; constructor(err: PatchV2TargetIdentifierAttributesAttributeOptionsOptionInvalidRequestErrorData); } /** * Conflict */ export type PostV2TargetIdentifierAttributesAttributeStatusesSlugConflictErrorData = { statusCode: number; type: ConflictType; code: ConflictCode; message: string; }; /** * Conflict */ export declare class PostV2TargetIdentifierAttributesAttributeStatusesSlugConflictError extends Error { statusCode: number; type: ConflictType; code: ConflictCode; /** The original data that was passed to this error instance. */ data$: PostV2TargetIdentifierAttributesAttributeStatusesSlugConflictErrorData; constructor(err: PostV2TargetIdentifierAttributesAttributeStatusesSlugConflictErrorData); } /** * Bad Request */ export type PostV2TargetIdentifierAttributesAttributeStatusesValidationTypeErrorData = { statusCode: number; type: BadRequestType; code: CodeValidationType; message: string; }; /** * Bad Request */ export declare class PostV2TargetIdentifierAttributesAttributeStatusesValidationTypeError extends Error { statusCode: number; type: BadRequestType; code: CodeValidationType; /** The original data that was passed to this error instance. */ data$: PostV2TargetIdentifierAttributesAttributeStatusesValidationTypeErrorData; constructor(err: PostV2TargetIdentifierAttributesAttributeStatusesValidationTypeErrorData); } /** * Bad Request */ export type PatchV2TargetIdentifierAttributesAttributeStatusesStatusInvalidRequestErrorData = { statusCode: number; type: BadRequestType; code: BadRequestCode; message: string; }; /** * Bad Request */ export declare class PatchV2TargetIdentifierAttributesAttributeStatusesStatusInvalidRequestError extends Error { statusCode: number; type: BadRequestType; code: BadRequestCode; /** The original data that was passed to this error instance. */ data$: PatchV2TargetIdentifierAttributesAttributeStatusesStatusInvalidRequestErrorData; constructor(err: PatchV2TargetIdentifierAttributesAttributeStatusesStatusInvalidRequestErrorData); } /** * Not Found */ export type PostV2ObjectsObjectRecordsQueryNotFoundErrorData = { statusCode: number; type: NotFoundType; code: NotFoundCode; message: string; }; /** * Not Found */ export declare class PostV2ObjectsObjectRecordsQueryNotFoundError extends Error { statusCode: number; type: NotFoundType; code: NotFoundCode; /** The original data that was passed to this error instance. */ data$: PostV2ObjectsObjectRecordsQueryNotFoundErrorData; constructor(err: PostV2ObjectsObjectRecordsQueryNotFoundErrorData); } export declare const PostV2ObjectsObjectRecordsQueryCode: { readonly FilterError: "filter_error"; }; export type PostV2ObjectsObjectRecordsQueryCode = ClosedEnum<typeof PostV2ObjectsObjectRecordsQueryCode>; /** * Bad Request */ export type FilterErrorData = { statusCode: number; type: BadRequestType; code: PostV2ObjectsObjectRecordsQueryCode; message: string; }; /** * Bad Request */ export declare class FilterError extends Error { statusCode: number; type: BadRequestType; code: PostV2ObjectsObjectRecordsQueryCode; /** The original data that was passed to this error instance. */ data$: FilterErrorData; constructor(err: FilterErrorData); } /** * Bad Request */ export type PostV2ObjectsObjectRecordsInvalidRequestErrorData = { statusCode: number; type: BadRequestType; code: BadRequestCode; message: string; }; /** * Bad Request */ export declare class PostV2ObjectsObjectRecordsInvalidRequestError extends Error { statusCode: number; type: BadRequestType; code: BadRequestCode; /** The original data that was passed to this error instance. */ data$: PostV2ObjectsObjectRecordsInvalidRequestErrorData; constructor(err: PostV2ObjectsObjectRecordsInvalidRequestErrorData); } /** * Bad Request */ export type PutV2ObjectsObjectRecordsInvalidRequestErrorData = { statusCode: number; type: BadRequestType; code: BadRequestCode; message: string; }; /** * Bad Request */ export declare class PutV2ObjectsObjectRecordsInvalidRequestError extends Error { statusCode: number; type: BadRequestType; code: BadRequestCode; /** The original data that was passed to this error instance. */ data$: PutV2ObjectsObjectRecordsInvalidRequestErrorData; constructor(err: PutV2ObjectsObjectRecordsInvalidRequestErrorData); } /** * Not Found */ export type GetV2ObjectsObjectRecordsRecordIdInvalidRequestErrorData = { statusCode: number; type: NotFoundType; code: NotFoundCode; message: string; }; /** * Not Found */ export declare class GetV2ObjectsObjectRecordsRecordIdInvalidRequestError extends Error { statusCode: number; type: NotFoundType; code: NotFoundCode; /** The original data that was passed to this error instance. */ data$: GetV2ObjectsObjectRecordsRecordIdInvalidRequestErrorData; constructor(err: GetV2ObjectsObjectRecordsRecordIdInvalidRequestErrorData); } export declare const CodeMissingValue: { readonly MissingValue: "missing_value"; }; export type CodeMissingValue = ClosedEnum<typeof CodeMissingValue>; /** * Bad Request */ export type MissingValueErrorData = { statusCode: number; type: BadRequestType; code: CodeMissingValue; message: string; }; /** * Bad Request */ export declare class MissingValueError extends Error { statusCode: number; type: BadRequestType; code: CodeMissingValue; /** The original data that was passed to this error instance. */ data$: MissingValueErrorData; constructor(err: MissingValueErrorData); } /** * Bad Request */ export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesValidationTypeErrorData = { statusCode: number; type: BadRequestType; code: CodeValidationType; message: string; }; /** * Bad Request */ export declare class GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesValidationTypeError extends Error { statusCode: number; type: BadRequestType; code: CodeValidationType; /** The original data that was passed to this error instance. */ data$: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesValidationTypeErrorData; constructor(err: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesValidationTypeErrorData); } /** * Not Found */ export type PostV2ListsNotFoundErrorData = { statusCode: number; type: NotFoundType; code: NotFoundCode; message: string; }; /** * Not Found */ export declare class PostV2ListsNotFoundError extends Error { statusCode: number; type: NotFoundType; code: NotFoundCode; /** The original data that was passed to this error instance. */ data$: PostV2ListsNotFoundErrorData; constructor(err: PostV2ListsNotFoundErrorData); } export declare const PostV2ListsType: { readonly AuthError: "auth_error"; }; export type PostV2ListsType = ClosedEnum<typeof PostV2ListsType>; export declare const PostV2ListsCode: { readonly BillingError: "billing_error"; }; export type PostV2ListsCode = ClosedEnum<typeof PostV2ListsCode>; /** * Forbidden */ export type BillingErrorData = { statusCode: number; type: PostV2ListsType; code: PostV2ListsCode; message: string; }; /** * Forbidden */ export declare class BillingError extends Error { statusCode: number; type: PostV2ListsType; code: PostV2ListsCode; /** The original data that was passed to this error instance. */ data$: BillingErrorData; constructor(err: BillingErrorData); } /** * Bad Request */ export type PostV2ListsInvalidRequestErrorData = { statusCode: number; type: BadRequestType; code: BadRequestCode; message: string; }; /** * Bad Request */ export declare class PostV2ListsInvalidRequestError extends Error { statusCode: number; type: BadRequestType; code: BadRequestCode; /** The original data that was passed to this error instance. */ data$: PostV2ListsInvalidRequestErrorData; constructor(err: PostV2ListsInvalidRequestErrorData); } /** * Not Found */ export type GetV2ListsListNotFoundErrorData = { statusCode: number; type: NotFoundType; code: NotFoundCode; message: string; }; /** * Not Found */ export declare class GetV2ListsListNotFoundError extends Error { statusCode: number; type: NotFoundType; code: NotFoundCode; /** The original data that was passed to this error instance. */ data$: GetV2ListsListNotFoundErrorData; constructor(err: GetV2ListsListNotFoundErrorData); } /** * Not Found */ export type PostV2ListsListEntriesNotFoundErrorData = { statusCode: number; type: NotFoundType; code: NotFoundCode; message: string; }; /** * Not Found */ export declare class PostV2ListsListEntriesNotFoundError extends Error { statusCode: number; type: NotFoundType; code: NotFoundCode; /** The original data that was passed to this error instance. */ data$: PostV2ListsListEntriesNotFoundErrorData; constructor(err: PostV2ListsListEntriesNotFoundErrorData); } /** * Bad Request */ export type PostV2ListsListEntriesInvalidRequestErrorData = { statusCode: number; type: BadRequestType; code: BadRequestCode; message: string; }; /** * Bad Request */ export declare class PostV2ListsListEntriesInvalidRequestError extends Error { statusCode: number; type: BadRequestType; code: BadRequestCode; /** The original data that was passed to this error instance. */ data$: PostV2ListsListEntriesInvalidRequestErrorData; constructor(err: PostV2ListsListEntriesInvalidRequestErrorData); } /** * Not Found */ export type PutV2ListsListEntriesNotFoundErrorData = { statusCode: number; type: NotFoundType; code: NotFoundCode; message: string; }; /** * Not Found */ export declare class PutV2ListsListEntriesNotFoundError extends Error { statusCode: number; type: NotFoundType; code: NotFoundCode; /** The original data that was passed to this error instance. */ data$: PutV2ListsListEntriesNotFoundErrorData; constructor(err: PutV2ListsListEntriesNotFoundErrorData); } export declare const PutV2ListsListEntriesCode: { readonly MultipleMatchResults: "multiple_match_results"; }; export type PutV2ListsListEntriesCode = ClosedEnum<typeof PutV2ListsListEntriesCode>; /** * Bad Request */ export type MultipleMatchResultsErrorData = { statusCode: number; type: BadRequestType; code: PutV2ListsListEntriesCode; message: string; }; /** * Bad Request */ export declare class MultipleMatchResultsError extends Error { statusCode: number; type: BadRequestType; code: PutV2ListsListEntriesCode; /** The original data that was passed to this error instance. */ data$: MultipleMatchResultsErrorData; constructor(err: MultipleMatchResultsErrorData); } export declare const CodeImmutableValue: { readonly ImmutableValue: "immutable_value"; }; export type CodeImmutableValue = ClosedEnum<typeof CodeImmutableValue>; /** * Bad Request */ export type ImmutableValueErrorData = { statusCode: number; type: BadRequestType; code: CodeImmutableValue; message: string; }; /** * Bad Request */ export declare class ImmutableValueError extends Error { statusCode: number; type: BadRequestType; code: CodeImmutableValue; /** The original data that was passed to this error instance. */ data$: ImmutableValueErrorData; constructor(err: ImmutableValueErrorData); } /** * Not Found */ export type GetV2WorkspaceMembersWorkspaceMemberIdInvalidRequestErrorData = { statusCode: number; type: NotFoundType; code: NotFoundCode; message: string; }; /** * Not Found */ export declare class GetV2WorkspaceMembersWorkspaceMemberIdInvalidRequestError extends Error { statusCode: number; type: NotFoundType; code: NotFoundCode; /** The original data that was passed to this error instance. */ data$: GetV2WorkspaceMembersWorkspaceMemberIdInvalidRequestErrorData; constructor(err: GetV2WorkspaceMembersWorkspaceMemberIdInvalidRequestErrorData); } /** * Not Found */ export type GetV2NotesNoteIdNotFoundErrorData = { statusCode: number; type: NotFoundType; code: NotFoundCode; message: string; }; /** * Not Found */ export declare class GetV2NotesNoteIdNotFoundError extends Error { statusCode: number; type: NotFoundType; code: NotFoundCode; /** The original data that was passed to this error instance. */ data$: GetV2NotesNoteIdNotFoundErrorData; constructor(err: GetV2NotesNoteIdNotFoundErrorData); } /** * Bad Request */ export type PostV2TasksValidationTypeErrorData = { statusCode: number; type: BadRequestType; code: CodeValidationType; message: string; }; /** * Bad Request */ export declare class PostV2TasksValidationTypeError extends Error { statusCode: number; type: BadRequestType; code: CodeValidationType; /** The original data that was passed to this error instance. */ data$: PostV2TasksValidationTypeErrorData; constructor(err: PostV2TasksValidationTypeErrorData); } /** * Not Found */ export type GetV2TasksTaskIdNotFoundErrorData = { statusCode: number; type: NotFoundType; code: NotFoundCode; message: string; }; /** * Not Found */ export declare class GetV2TasksTaskIdNotFoundError extends Error { statusCode: number; type: NotFoundType; code: NotFoundCode; /** The original data that was passed to this error instance. */ data$: GetV2TasksTaskIdNotFoundErrorData; constructor(err: GetV2TasksTaskIdNotFoundErrorData); } /** * Not Found */ export type PatchV2TasksTaskIdNotFoundErrorData = { statusCode: number; type: NotFoundType; code: NotFoundCode; message: string; }; /** * Not Found */ export declare class PatchV2TasksTaskIdNotFoundError extends Error { statusCode: number; type: NotFoundType; code: NotFoundCode; /** The original data that was passed to this error instance. */ data$: PatchV2TasksTaskIdNotFoundErrorData; constructor(err: PatchV2TasksTaskIdNotFoundErrorData); } /** * Not Found */ export type GetV2ThreadsThreadIdNotFoundErrorData = { statusCode: number; type: NotFoundType; code: NotFoundCode; message: string; }; /** * Not Found */ export declare class GetV2ThreadsThreadIdNotFoundError extends Error { statusCode: number; type: NotFoundType; code: NotFoundCode; /** The original data that was passed to this error instance. */ data$: GetV2ThreadsThreadIdNotFoundErrorData; constructor(err: GetV2ThreadsThreadIdNotFoundErrorData); } /** * Bad Request */ export type PostV2CommentsInvalidRequestErrorData = { statusCode: number; type: BadRequestType; code: BadRequestCode; message: string; }; /** * Bad Request */ export declare class PostV2CommentsInvalidRequestError extends Error { statusCode: number; type: BadRequestType; code: BadRequestCode; /** The original data that was passed to this error instance. */ data$: PostV2CommentsInvalidRequestErrorData; constructor(err: PostV2CommentsInvalidRequestErrorData); } /** * Not Found */ export type GetV2CommentsCommentIdNotFoundErrorData = { statusCode: number; type: NotFoundType; code: NotFoundCode; message: string; }; /** * Not Found */ export declare class GetV2CommentsCommentIdNotFoundError extends Error { statusCode: number; type: NotFoundType; code: NotFoundCode; /** The original data that was passed to this error instance. */ data$: GetV2CommentsCommentIdNotFoundErrorData; constructor(err: GetV2CommentsCommentIdNotFoundErrorData); } /** * Not Found */ export type DeleteV2CommentsCommentIdNotFoundErrorData = { statusCode: number; type: NotFoundType; code: NotFoundCode; message: string; }; /** * Not Found */ export declare class DeleteV2CommentsCommentIdNotFoundError extends Error { statusCode: number; type: NotFoundType; code: NotFoundCode; /** The original data that was passed to this error instance. */ data$: DeleteV2CommentsCommentIdNotFoundErrorData; constructor(err: DeleteV2CommentsCommentIdNotFoundErrorData); } /** * Bad Request */ export type PostV2WebhooksValidationTypeErrorData = { statusCode: number; type: BadRequestType; code: CodeValidationType; message: string; }; /** * Bad Request */ export declare class PostV2WebhooksValidationTypeError extends Error { statusCode: number; type: BadRequestType; code: CodeValidationType; /** The original data that was passed to this error instance. */ data$: PostV2WebhooksValidationTypeErrorData; constructor(err: PostV2WebhooksValidationTypeErrorData); } /** * Not Found */ export type GetV2WebhooksWebhookIdNotFoundErrorData = { statusCode: number; type: NotFoundType; code: NotFoundCode; message: string; }; /** * Not Found */ export declare class GetV2WebhooksWebhookIdNotFoundError extends Error { statusCode: number; type: NotFoundType; code: NotFoundCode; /** The original data that was passed to this error instance. */ data$: GetV2WebhooksWebhookIdNotFoundErrorData; constructor(err: GetV2WebhooksWebhookIdNotFoundErrorData); } /** * Not Found */ export type DeleteV2WebhooksWebhookIdNotFoundErrorData = { statusCode: number; type: NotFoundType; code: NotFoundCode; message: string; }; /** * Not Found */ export declare class DeleteV2WebhooksWebhookIdNotFoundError extends Error { statusCode: number; type: NotFoundType; code: NotFoundCode; /** The original data that was passed to this error instance. */ data$: DeleteV2WebhooksWebhookIdNotFoundErrorData; constructor(err: DeleteV2WebhooksWebhookIdNotFoundErrorData); } /** @internal */ export declare const NotFoundType$inboundSchema: z.ZodNativeEnum<typeof NotFoundType>; /** @internal */ export declare const NotFoundType$outboundSchema: z.ZodNativeEnum<typeof NotFoundType>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace NotFoundType$ { /** @deprecated use `NotFoundType$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly InvalidRequestError: "invalid_request_error"; }>; /** @deprecated use `NotFoundType$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly InvalidRequestError: "invalid_request_error"; }>; } /** @internal */ export declare const NotFoundCode$inboundSchema: z.ZodNativeEnum<typeof NotFoundCode>; /** @internal */ export declare const NotFoundCode$outboundSchema: z.ZodNativeEnum<typeof NotFoundCode>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace NotFoundCode$ { /** @deprecated use `NotFoundCode$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly NotFound: "not_found"; }>; /** @deprecated use `NotFoundCode$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly NotFound: "not_found"; }>; } /** @internal */ export declare const GetV2ObjectsObjectNotFoundError$inboundSchema: z.ZodType<GetV2ObjectsObjectNotFoundError, z.ZodTypeDef, unknown>; /** @internal */ export type GetV2ObjectsObjectNotFoundError$Outbound = { status_code: number; type: string; code: string; message: string; }; /** @internal */ export declare const GetV2ObjectsObjectNotFoundError$outboundSchema: z.ZodType<GetV2ObjectsObjectNotFoundError$Outbound, z.ZodTypeDef, GetV2ObjectsObjectNotFoundError>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace GetV2ObjectsObjectNotFoundError$ { /** @deprecated use `GetV2ObjectsObjectNotFoundError$inboundSchema` instead. */ const inboundSchema: z.ZodType<GetV2ObjectsObjectNotFoundError, z.ZodTypeDef, unknown>; /** @deprecated use `GetV2ObjectsObjectNotFoundError$outboundSchema` instead. */ const outboundSchema: z.ZodType<GetV2ObjectsObjectNotFoundError$Outbound, z.ZodTypeDef, GetV2ObjectsObjectNotFoundError>; /** @deprecated use `GetV2ObjectsObjectNotFoundError$Outbound` instead. */ type Outbound = GetV2ObjectsObjectNotFoundError$Outbound; } /** @internal */ export declare const ConflictType$inboundSchema: z.ZodNativeEnum<typeof ConflictType>; /** @internal */ export declare const ConflictType$outboundSchema: z.ZodNativeEnum<typeof ConflictType>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace ConflictType$ { /** @deprecated use `ConflictType$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly InvalidRequestError: "invalid_request_error"; }>; /** @deprecated use `ConflictType$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly InvalidRequestError: "invalid_request_error"; }>; } /** @internal */ export declare const ConflictCode$inboundSchema: z.ZodNativeEnum<typeof ConflictCode>; /** @internal */ export declare const ConflictCode$outboundSchema: z.ZodNativeEnum<typeof ConflictCode>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace ConflictCode$ { /** @deprecated use `ConflictCode$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly SlugConflict: "slug_conflict"; }>; /** @deprecated use `ConflictCode$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly SlugConflict: "slug_conflict"; }>; } /** @internal */ export declare const PostV2ObjectsSlugConflictError$inboundSchema: z.ZodType<PostV2ObjectsSlugConflictError, z.ZodTypeDef, unknown>; /** @internal */ export type PostV2ObjectsSlugConflictError$Outbound = { status_code: number; type: string; code: string; message: string; }; /** @internal */ export declare const PostV2ObjectsSlugConflictError$outboundSchema: z.ZodType<PostV2ObjectsSlugConflictError$Outbound, z.ZodTypeDef, PostV2ObjectsSlugConflictError>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace PostV2ObjectsSlugConflictError$ { /** @deprecated use `PostV2ObjectsSlugConflictError$inboundSchema` instead. */ const inboundSchema: z.ZodType<PostV2ObjectsSlugConflictError, z.ZodTypeDef, unknown>; /** @deprecated use `PostV2ObjectsSlugConflictError$outboundSchema` instead. */ const outboundSchema: z.ZodType<PostV2ObjectsSlugConflictError$Outbound, z.ZodTypeDef, PostV2ObjectsSlugConflictError>; /** @deprecated use `PostV2ObjectsSlugConflictError$Outbound` instead. */ type Outbound = PostV2ObjectsSlugConflictError$Outbound; } /** @internal */ export declare const PatchV2ObjectsObjectSlugConflictError$inboundSchema: z.ZodType<PatchV2ObjectsObjectSlugConflictError, z.ZodTypeDef, unknown>; /** @internal */ export type PatchV2ObjectsObjectSlugConflictError$Outbound = { status_code: number; type: string; code: string; message: string; }; /** @internal */ export declare const PatchV2ObjectsObjectSlugConflictError$outboundSchema: z.ZodType<PatchV2ObjectsObjectSlugConflictError$Outbound, z.ZodTypeDef, PatchV2ObjectsObjectSlugConflictError>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace PatchV2ObjectsObjectSlugConflictError$ { /** @deprecated use `PatchV2ObjectsObjectSlugConflictError$inboundSchema` instead. */ const inboundSchema: z.ZodType<PatchV2ObjectsObjectSlugConflictError, z.ZodTypeDef, unknown>; /** @deprecated use `PatchV2ObjectsObjectSlugConflictError$outboundSchema` instead. */ const outboundSchema: z.ZodType<PatchV2ObjectsObjectSlugConflictError$Outbound, z.ZodTypeDef, PatchV2ObjectsObjectSlugConflictError>; /** @deprecated use `PatchV2ObjectsObjectSlugConflictError$Outbound` instead. */ type Outbound = PatchV2ObjectsObjectSlugConflictError$Outbound; } /** @internal */ export declare const BadRequestType$inboundSchema: z.ZodNativeEnum<typeof BadRequestType>; /** @internal */ export declare const BadRequestType$outboundSchema: z.ZodNativeEnum<typeof BadRequestType>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace BadRequestType$ { /** @deprecated use `BadRequestType$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly InvalidRequestError: "invalid_request_error"; }>; /** @deprecated use `BadRequestType$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly InvalidRequestError: "invalid_request_error"; }>; } /** @internal */ export declare const CodeValidationType$inboundSchema: z.ZodNativeEnum<typeof CodeValidationType>; /** @internal */ export declare const CodeValidationType$outboundSchema: z.ZodNativeEnum<typeof CodeValidationType>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace CodeValidationType$ { /** @deprecated use `CodeValidationType$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly ValidationType: "validation_type"; }>; /** @deprecated use `CodeValidationType$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly ValidationType: "validation_type"; }>; } /** @internal */ export declare const PatchV2ObjectsObjectValidationTypeError$inboundSchema: z.ZodType<PatchV2ObjectsObjectValidationTypeError, z.ZodTypeDef, unknown>; /** @internal */ export type PatchV2ObjectsObjectValidationTypeError$Outbound = { status_code: number; type: string; code: string; message: string; }; /** @internal */ export declare const PatchV2ObjectsObjectValidationTypeError$outboundSchema: z.ZodType<PatchV2ObjectsObjectValidationTypeError$Outbound, z.ZodTypeDef, PatchV2ObjectsObjectValidationTypeError>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace PatchV2ObjectsObjectValidationTypeError$ { /** @deprecated use `PatchV2ObjectsObjectValidationTypeError$inboundSchema` instead. */ const inboundSchema: z.ZodType<PatchV2ObjectsObjectValidationTypeError, z.ZodTypeDef, unknown>; /** @deprecated use `PatchV2ObjectsObjectValidationTypeError$outboundSchema` instead. */ const outboundSchema: z.ZodType<PatchV2ObjectsObjectValidationTypeError$Outbound, z.ZodTypeDef, PatchV2ObjectsObjectValidationTypeError>; /** @deprecated use `PatchV2ObjectsObjectValidationTypeError$Outbound` instead. */ type Outbound = PatchV2ObjectsObjectValidationTypeError$Outbound; } /** @internal */ export declare const PostV2TargetIdentifierAttributesSlugConflictError$inboundSchema: z.ZodType<PostV2TargetIdentifierAttributesSlugConflictError, z.ZodTypeDef, unknown>; /** @internal */ export type PostV2TargetIdentifierAttributesSlugConflictError$Outbound = { status_code: number; type: string; code: string; message: string; }; /** @internal */ export declare const PostV2TargetIdentifierAttributesSlugConflictError$outboundSchema: z.ZodType<PostV2TargetIdentifierAttributesSlugConflictError$Outbound, z.ZodTypeDef, PostV2TargetIdentifierAttributesSlugConflictError>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace PostV2TargetIdentifierAttributesSlugConflictError$ { /** @deprecated use `PostV2TargetIdentifierAttributesSlugConflictError$inboundSchema` instead. */ const inboundSchema: z.ZodType<PostV2TargetIdentifierAttributesSlugConflictError, z.ZodTypeDef, unknown>; /** @deprecated use `PostV2TargetIdentifierAttributesSlugConflictError$outboundSchema` instead. */ const outboundSchema: z.ZodType<PostV2TargetIdentifierAttributesSlugConflictError$Outbound, z.ZodTypeDef, PostV2TargetIdentifierAttributesSlugConflictError>; /** @deprecated use `PostV2TargetIdentifierAttributesSlugConflictError$Outbound` instead. */ type Outbound = PostV2TargetIdentifierAttributesSlugConflictError$Outbound; } /** @internal */ export declare const PostV2TargetIdentifierAttributesNotFoundError$inboundSchema: z.ZodType<PostV2TargetIdentifierAttributesNotFoundError, z.ZodTypeDef, unknown>; /** @internal */ export type PostV2TargetIdentifierAttributesNotFoundError$Outbound = { status_code: number; type: string; code: string; message: string; }; /** @internal */ export declare const PostV2TargetIdentifierAttributesNotFoundError$outboundSchema: z.ZodType<PostV2TargetIdentifierAttributesNotFoundError$Outbound, z.ZodTypeDef, PostV2TargetIdentifierAttributesNotFoundError>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace PostV2TargetIdentifierAttributesNotFoundError$ { /** @deprecated use `PostV2TargetIdentifierAttributesNotFoundError$inboundSchema` instead. */ const inboundSchema: z.ZodType<PostV2TargetIdentifierAttributesNotFoundError, z.ZodTypeDef, unknown>; /** @deprecated use `PostV2TargetIdentifierAttributesNotFoundError$outboundSchema` instead. */ const outboundSchema: z.ZodType<PostV2TargetIdentifierAttributesNotFoundError$Outbound, z.ZodTypeDef, PostV2TargetIdentifierAttributesNotFoundError>; /** @deprecated use `PostV2TargetIdentifierAttributesNotFoundError$Outbound` instead. */ type Outbound = PostV2TargetIdentifierAttributesNotFoundError$Outbound; } /** @internal */ export declare const PostV2TargetIdentifierAttributesValidationTypeError$inboundSchema: z.ZodType<PostV2TargetIdentifierAttributesValidationTypeError, z.ZodTypeDef, unknown>; /** @internal */ export type PostV2TargetIdentifierAttributesValidationTypeError$Outbound = { status_code: number; type: string; code: string; message: string; }; /** @internal */ export declare const PostV2TargetIdentifierAttributesValidationTypeError$outboundSchema: z.ZodType<PostV2TargetIdentifierAttributesValidationTypeError$Outbound, z.ZodTypeDef, PostV2TargetIdentifierAttributesValidationTypeError>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace PostV2TargetIdentifierAttributesValidationTypeError$ { /** @deprecated use `PostV2TargetIdentifierAttributesValidationTypeError$inboundSchema` instead. */ const inboundSchema: z.ZodType<PostV2TargetIdentifierAttributesValidationTypeError, z.ZodTypeDef, unknown>; /** @deprecated use `PostV2TargetIdentifierAttributesValidationTypeError$outboundSchema` instead. */ const outboundSchema: z.ZodType<PostV2TargetIdentifierAttributesValidationTypeError$Outbound, z.ZodTypeDef, PostV2TargetIdentifierAttributesValidationTypeError>; /** @deprecated use `PostV2TargetIdentifierAttributesValidationTypeError$Outbound` instead. */ type Outbound = PostV2TargetIdentifierAttributesValidationTypeError$Outbound; } /** @internal */ export declare const GetV2TargetIdentifierAttributesAttributeNotFoundError$inboundSchema: z.ZodType<GetV2TargetIdentifierAttributesAttributeNotFoundError, z.ZodTypeDef, unknown>; /** @internal */ export type GetV2TargetIdentifierAttributesAttributeNotFoundError$Outbound = { status_code: number; type: string; code: string; message: string; }; /** @internal */ export declare const GetV2TargetIdentifierAttributesAttributeNotFoundError$outboundSchema: z.ZodType<GetV2TargetIdentifierAttributesAttributeNotFoundError$Outbound, z.ZodTypeDef, GetV2TargetIdentifierAttributesAttributeNotFoundError>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace GetV2TargetIdentifierAttributesAttributeNotFoundError$ { /** @deprecated use `GetV2TargetIdentifierAttributesAttributeNotFoundError$inboundSchema` instead. */ const inboundSchema: z.ZodType<GetV2TargetIdentifierAttributesAttributeNotFoundError, z.ZodTypeDef, unknown>; /** @deprecated use `GetV2TargetIdentifierAttributesAttributeNotFoundError$outboundSchema` instead. */ const outboundSchema: z.ZodType<GetV2TargetIdentifierAttributesAttributeNotFoundError$Outbound, z.ZodTypeDef, GetV2TargetIdentifierAttributesAttributeNotFoundError>; /** @deprecated use `GetV2TargetIdentifierAttributesAttributeNotFoundError$Outbound` instead. */ type Outbound = GetV2TargetIdentifierAttributesAttributeNotFoundError$Outbound; } /** @internal */ export declare const PatchV2TargetIdentifierAttributesAttributeCode$inboundSchema: z.ZodNativeEnum<typeof PatchV2TargetIdentifierAttributesAttributeCode>; /** @internal */ export declare const PatchV2TargetIdentifierAttributesAttributeCode$outboundSchema: z.ZodNativeEnum<typeof PatchV2TargetIdentifierAttributesAttributeCode>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace PatchV2TargetIdentifierAttributesAttributeCode$ { /** @deprecated use `PatchV2TargetIdentifierAttributesAttributeCode$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly SystemEditUnauthorized: "system_edit_unauthorized"; }>; /** @deprecated use `PatchV2TargetIdentifierAttributesAttributeCode$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly SystemEditUnauthorized: "system_edit_unauthorized"; }>; } /** @internal */ export declare const SystemEditUnauthorizedError$inboundSchema: z.ZodType<SystemEditUnauthorizedError, z.ZodTypeDef, unknown>; /** @internal */ export type SystemEditUnauthorizedError$Outbound = { status_code: number; type: string; code: string; message: string; }; /** @internal */ export declare const SystemEditUnauthorizedError$outboundSchema: z.ZodType<SystemEditUnauthorizedError$Outbound, z.ZodTypeDef, SystemEditUnauthorizedError>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace SystemEditUnauthorizedError$ { /** @deprecated use `SystemEditUnauthorizedError$inboundSchema` instead. */ const inboundSchema: z.ZodType<SystemEditUnauthorizedError, z.ZodTypeDef, unknown>; /** @deprecated use `SystemEditUnauthorizedError$outboundSchema` instead. */ const outboundSchema: z.ZodType<SystemEditUnauthorizedError$Outbound, z.ZodTypeDef, SystemEditUnauthorizedError>; /** @deprecated use `SystemEditUnauthorizedError$Outbound` instead. */ type Outbound = SystemEditUnauthorizedError$Outbound; } /** @internal */ export declare const PostV2TargetIdentifierAttributesAttributeOptionsSlugConflictError$inboundSchema: z.ZodType<PostV2TargetIdentifierAttributesAttributeOptionsSlugConflictError, z.ZodTypeDef, unknown>; /** @internal */ export type PostV2TargetIdentifierAttributesAttributeOptionsSlugConflictError$Outbound = { status_code: number; type: string; code: string; message: string; }; /** @internal */ export declare const PostV2TargetIdentifierAttributesAttributeOptionsSlugConflictError$outboundSchema: z.ZodType<PostV2TargetIdentifierAttributesAttributeOptionsSlugConflictError$Outbound, z.ZodTypeDef, PostV2TargetIdentifierAttributesAttributeOptionsSlugConflictError>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace PostV2TargetIdentifierAttributesAttributeOptionsSlugConflictError$ { /** @deprecated use `PostV2TargetIdentifierAttributesAttributeOptionsSlugConflictError$inboundSchema` instead. */ const inboundSchema: z.ZodType<PostV2TargetIdentifierAttributesAttributeOptionsSlugConflictError, z.ZodTypeDef, unknown>; /** @deprecated use `PostV2TargetIdentifierAttributesAttributeOptionsSlugConflictError$outboundSchema` instead. */ const outboundSchema: z.ZodType<PostV2TargetIdentifierAttributesAttributeOptionsSlugConflictError$Outbound, z.ZodTypeDef, PostV2TargetIdentifierAttributesAttributeOptionsSlugConflictError>; /** @deprecated use `PostV2TargetIdentifierAttributesAttributeOptionsSlugConflictError$Outbound` instead. */ type Outbound = PostV2TargetIdentifierAttributesAttributeOptionsSlugConflictError$Outbound; } /** @internal */ export declare const PostV2TargetIdentifierAttributesAttributeOptionsValidationTypeError$inboundSchema: z.ZodType<PostV2TargetIdentifierAttributesAttributeOptionsValidationTypeError, z.ZodTypeDef, unknown>; /** @internal */ export type PostV2TargetIdentifierAttributesAttributeOptionsValidationTypeError$Outbound = { status_code: number; type: string; code: string; message: string; }; /** @internal */ export declare const PostV2TargetIdentifierAttributesAttributeOptionsValidationTypeError$outboundSchema: z.ZodType<PostV2TargetIdentifierAttributesAttributeOptionsValidationTypeError$Outbound, z.ZodTypeDef, PostV2TargetIdentifierAttributesAttributeOptionsValidationTypeError>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace PostV2TargetIdentifierAttributesAttributeOptionsValidationTypeError$ { /** @deprecated use `PostV2TargetIdentifierAttributesAttributeOptionsValidationTypeError$inboundSchema` instead. */ const inboundSchema: z.ZodType<PostV2TargetIdentifierAttributesAttributeOptionsValidationTypeError, z.ZodTypeDef, unknown>; /** @deprecated use `PostV2TargetIdentifierAttributesAttributeOptionsValidationTypeError$outboundSchema` instead. */ const outboundSchema: z.ZodType<PostV2TargetIdentifierAttributesAttributeOptionsValidationTypeError$Outbound, z.ZodTypeDef, PostV2TargetIdentifierAttributesAttributeOptionsValidationTypeError>; /** @deprecated use `PostV2TargetIdentifierAttributesAttributeOptionsValidationTypeError$Outbound` instead. */ type Outbound = PostV2TargetIdentifierAttributesAttributeOptionsValidationTypeError$Outbound; } /** @internal */ export declare const BadRequestCode$inboundSchema: z.ZodNativeEnum<typeof BadRequestCode>; /** @internal */ export declare const BadRequestCode$outboundSchema: z.ZodNativeEnum<typeof BadRequestCode>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace BadRequestCode$ { /** @deprecated use `BadRequestCode$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly ValueNotFound: "value_not_found"; readonly MissingValue: "missing_value"; }>; /** @deprecated use `BadRequestCode$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly ValueNotFound: "value_not_found"; readonly MissingValue: "missing_value"; }>; } /** @internal */ export declare const PatchV2TargetIdentifierAttributesAttributeOptionsOptionInvalidRequestError$inboundSchema: z.ZodType<PatchV2TargetIdentifierAttributesAttributeOptionsOptionInvalidRequestError, z.ZodTypeDef, unknown>; /** @internal */ export type PatchV2TargetIdentifierAttributesAttributeOptionsOptionInvalidRequestError$Outbound = { status_code: number; type: string; code: string; message: string; }; /** @internal */ export declare const PatchV2TargetIdentifierAttributesAttributeOptionsOptionInvalidRequestError$outboundSchema: z.ZodType<PatchV2TargetIdentifierAttributesAttributeOptionsOptionInvalidRequestError$Outbound, z.ZodTypeDef, PatchV2TargetIdentifierAttributesAttributeOptionsOptionInvalidRequestError>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace PatchV2TargetIdentifierAttributesAttributeOptionsOptionInvalidRequestError$ { /** @deprecated use `PatchV2TargetIdentifierAttributesAttributeOptionsOptionInvalidRequestError$inboundSchema` instead. */ const inboundSchema: z.ZodType<PatchV2TargetIdentifierAttributesAttributeOptionsOptionInvalidRequestError, z.ZodTypeDef, unknown>; /** @deprecated use `PatchV2TargetIdentifierAttributesAttributeOptionsOptionInvalid