UNPKG

attio-js

Version:

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

53 lines 3.09 kB
import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type DeleteV2NotesNoteIdRequest = { noteId: string; }; /** * Success */ export type DeleteV2NotesNoteIdResponse = {}; /** @internal */ export declare const DeleteV2NotesNoteIdRequest$inboundSchema: z.ZodType<DeleteV2NotesNoteIdRequest, z.ZodTypeDef, unknown>; /** @internal */ export type DeleteV2NotesNoteIdRequest$Outbound = { note_id: string; }; /** @internal */ export declare const DeleteV2NotesNoteIdRequest$outboundSchema: z.ZodType<DeleteV2NotesNoteIdRequest$Outbound, z.ZodTypeDef, DeleteV2NotesNoteIdRequest>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace DeleteV2NotesNoteIdRequest$ { /** @deprecated use `DeleteV2NotesNoteIdRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType<DeleteV2NotesNoteIdRequest, z.ZodTypeDef, unknown>; /** @deprecated use `DeleteV2NotesNoteIdRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType<DeleteV2NotesNoteIdRequest$Outbound, z.ZodTypeDef, DeleteV2NotesNoteIdRequest>; /** @deprecated use `DeleteV2NotesNoteIdRequest$Outbound` instead. */ type Outbound = DeleteV2NotesNoteIdRequest$Outbound; } export declare function deleteV2NotesNoteIdRequestToJSON(deleteV2NotesNoteIdRequest: DeleteV2NotesNoteIdRequest): string; export declare function deleteV2NotesNoteIdRequestFromJSON(jsonString: string): SafeParseResult<DeleteV2NotesNoteIdRequest, SDKValidationError>; /** @internal */ export declare const DeleteV2NotesNoteIdResponse$inboundSchema: z.ZodType<DeleteV2NotesNoteIdResponse, z.ZodTypeDef, unknown>; /** @internal */ export type DeleteV2NotesNoteIdResponse$Outbound = {}; /** @internal */ export declare const DeleteV2NotesNoteIdResponse$outboundSchema: z.ZodType<DeleteV2NotesNoteIdResponse$Outbound, z.ZodTypeDef, DeleteV2NotesNoteIdResponse>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace DeleteV2NotesNoteIdResponse$ { /** @deprecated use `DeleteV2NotesNoteIdResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType<DeleteV2NotesNoteIdResponse, z.ZodTypeDef, unknown>; /** @deprecated use `DeleteV2NotesNoteIdResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType<DeleteV2NotesNoteIdResponse$Outbound, z.ZodTypeDef, DeleteV2NotesNoteIdResponse>; /** @deprecated use `DeleteV2NotesNoteIdResponse$Outbound` instead. */ type Outbound = DeleteV2NotesNoteIdResponse$Outbound; } export declare function deleteV2NotesNoteIdResponseToJSON(deleteV2NotesNoteIdResponse: DeleteV2NotesNoteIdResponse): string; export declare function deleteV2NotesNoteIdResponseFromJSON(jsonString: string): SafeParseResult<DeleteV2NotesNoteIdResponse, SDKValidationError>; //# sourceMappingURL=deletev2notesnoteid.d.ts.map