import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type CrmNotesUpdateGlobals = { /** * ID of the consumer which you want to get or push data from */ consumerId?: string | undefined; /** * The ID of your Unify application */ appId?: string | undefined; }; export type CrmNotesUpdateRequest = { /** * ID of the record you are acting upon. */ id: string; /** * Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. */ serviceId?: string | undefined; /** * Include raw response. Mostly used for debugging purposes */ raw?: boolean | undefined; note: components.NoteInput; }; export type CrmNotesUpdateResponse = { httpMeta: components.HTTPMetadata; /** * Note updated */ updateNoteResponse?: components.UpdateNoteResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const CrmNotesUpdateGlobals$inboundSchema: z.ZodType; /** @internal */ export type CrmNotesUpdateGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const CrmNotesUpdateGlobals$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 CrmNotesUpdateGlobals$ { /** @deprecated use `CrmNotesUpdateGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmNotesUpdateGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmNotesUpdateGlobals$Outbound` instead. */ type Outbound = CrmNotesUpdateGlobals$Outbound; } export declare function crmNotesUpdateGlobalsToJSON(crmNotesUpdateGlobals: CrmNotesUpdateGlobals): string; export declare function crmNotesUpdateGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CrmNotesUpdateRequest$inboundSchema: z.ZodType; /** @internal */ export type CrmNotesUpdateRequest$Outbound = { id: string; serviceId?: string | undefined; raw: boolean; Note: components.NoteInput$Outbound; }; /** @internal */ export declare const CrmNotesUpdateRequest$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 CrmNotesUpdateRequest$ { /** @deprecated use `CrmNotesUpdateRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmNotesUpdateRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmNotesUpdateRequest$Outbound` instead. */ type Outbound = CrmNotesUpdateRequest$Outbound; } export declare function crmNotesUpdateRequestToJSON(crmNotesUpdateRequest: CrmNotesUpdateRequest): string; export declare function crmNotesUpdateRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CrmNotesUpdateResponse$inboundSchema: z.ZodType; /** @internal */ export type CrmNotesUpdateResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; UpdateNoteResponse?: components.UpdateNoteResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const CrmNotesUpdateResponse$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 CrmNotesUpdateResponse$ { /** @deprecated use `CrmNotesUpdateResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmNotesUpdateResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmNotesUpdateResponse$Outbound` instead. */ type Outbound = CrmNotesUpdateResponse$Outbound; } export declare function crmNotesUpdateResponseToJSON(crmNotesUpdateResponse: CrmNotesUpdateResponse): string; export declare function crmNotesUpdateResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=crmnotesupdate.d.ts.map