import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { CustomMappings, CustomMappings$Outbound } from "./custommappings.js"; import { PassThroughBody, PassThroughBody$Outbound } from "./passthroughbody.js"; export type Note = { /** * The unique identifier of the note */ id?: string | undefined; /** * The title of the note */ title?: string | null | undefined; /** * The content of the note. */ content?: string | null | undefined; /** * The user that owns the note. */ ownerId?: string | null | undefined; /** * The contact that is related to the note. */ contactId?: string | null | undefined; /** * The company that is related to the note. */ companyId?: string | null | undefined; /** * The opportunity that is related to the note. */ opportunityId?: string | null | undefined; /** * The lead that is related to the note. */ leadId?: string | null | undefined; /** * Whether the Note is active or not. */ active?: boolean | null | undefined; /** * When custom mappings are configured on the resource, the result is included here. */ customMappings?: CustomMappings | null | undefined; /** * The user that last updated the note. */ updatedBy?: string | null | undefined; /** * The user that created the note. */ createdBy?: string | null | undefined; /** * The timestamp when the note was last updated */ updatedAt?: string | null | undefined; /** * The timestamp when the note was created */ createdAt?: string | null | undefined; /** * The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. */ passThrough?: Array | undefined; }; /** @internal */ export declare const Note$inboundSchema: z.ZodType; /** @internal */ export type Note$Outbound = { id?: string | undefined; title?: string | null | undefined; content?: string | null | undefined; owner_id?: string | null | undefined; contact_id?: string | null | undefined; company_id?: string | null | undefined; opportunity_id?: string | null | undefined; lead_id?: string | null | undefined; active?: boolean | null | undefined; custom_mappings?: CustomMappings$Outbound | null | undefined; updated_by?: string | null | undefined; created_by?: string | null | undefined; updated_at?: string | null | undefined; created_at?: string | null | undefined; pass_through?: Array | undefined; }; /** @internal */ export declare const Note$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace Note$ { /** @deprecated use `Note$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Note$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Note$Outbound` instead. */ type Outbound = Note$Outbound; } export declare function noteToJSON(note: Note): string; export declare function noteFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=note.d.ts.map