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 CrmNotesDeleteGlobals = { /** * 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 CrmNotesDeleteRequest = { /** * 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; }; export type CrmNotesDeleteResponse = { httpMeta: components.HTTPMetadata; /** * Note deleted */ deleteNoteResponse?: components.DeleteNoteResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const CrmNotesDeleteGlobals$inboundSchema: z.ZodType; /** @internal */ export type CrmNotesDeleteGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const CrmNotesDeleteGlobals$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 CrmNotesDeleteGlobals$ { /** @deprecated use `CrmNotesDeleteGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmNotesDeleteGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmNotesDeleteGlobals$Outbound` instead. */ type Outbound = CrmNotesDeleteGlobals$Outbound; } export declare function crmNotesDeleteGlobalsToJSON(crmNotesDeleteGlobals: CrmNotesDeleteGlobals): string; export declare function crmNotesDeleteGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CrmNotesDeleteRequest$inboundSchema: z.ZodType; /** @internal */ export type CrmNotesDeleteRequest$Outbound = { id: string; serviceId?: string | undefined; raw: boolean; }; /** @internal */ export declare const CrmNotesDeleteRequest$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 CrmNotesDeleteRequest$ { /** @deprecated use `CrmNotesDeleteRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmNotesDeleteRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmNotesDeleteRequest$Outbound` instead. */ type Outbound = CrmNotesDeleteRequest$Outbound; } export declare function crmNotesDeleteRequestToJSON(crmNotesDeleteRequest: CrmNotesDeleteRequest): string; export declare function crmNotesDeleteRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CrmNotesDeleteResponse$inboundSchema: z.ZodType; /** @internal */ export type CrmNotesDeleteResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; DeleteNoteResponse?: components.DeleteNoteResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const CrmNotesDeleteResponse$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 CrmNotesDeleteResponse$ { /** @deprecated use `CrmNotesDeleteResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmNotesDeleteResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmNotesDeleteResponse$Outbound` instead. */ type Outbound = CrmNotesDeleteResponse$Outbound; } export declare function crmNotesDeleteResponseToJSON(crmNotesDeleteResponse: CrmNotesDeleteResponse): string; export declare function crmNotesDeleteResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=crmnotesdelete.d.ts.map