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 CrmNotesAddGlobals = { /** * 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 CrmNotesAddRequest = { /** * Include raw response. Mostly used for debugging purposes */ raw?: boolean | undefined; /** * 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; note: components.NoteInput; }; export type CrmNotesAddResponse = { httpMeta: components.HTTPMetadata; /** * Note created */ createNoteResponse?: components.CreateNoteResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const CrmNotesAddGlobals$inboundSchema: z.ZodType; /** @internal */ export type CrmNotesAddGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const CrmNotesAddGlobals$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 CrmNotesAddGlobals$ { /** @deprecated use `CrmNotesAddGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmNotesAddGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmNotesAddGlobals$Outbound` instead. */ type Outbound = CrmNotesAddGlobals$Outbound; } export declare function crmNotesAddGlobalsToJSON(crmNotesAddGlobals: CrmNotesAddGlobals): string; export declare function crmNotesAddGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CrmNotesAddRequest$inboundSchema: z.ZodType; /** @internal */ export type CrmNotesAddRequest$Outbound = { raw: boolean; serviceId?: string | undefined; Note: components.NoteInput$Outbound; }; /** @internal */ export declare const CrmNotesAddRequest$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 CrmNotesAddRequest$ { /** @deprecated use `CrmNotesAddRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmNotesAddRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmNotesAddRequest$Outbound` instead. */ type Outbound = CrmNotesAddRequest$Outbound; } export declare function crmNotesAddRequestToJSON(crmNotesAddRequest: CrmNotesAddRequest): string; export declare function crmNotesAddRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CrmNotesAddResponse$inboundSchema: z.ZodType; /** @internal */ export type CrmNotesAddResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; CreateNoteResponse?: components.CreateNoteResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const CrmNotesAddResponse$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 CrmNotesAddResponse$ { /** @deprecated use `CrmNotesAddResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmNotesAddResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmNotesAddResponse$Outbound` instead. */ type Outbound = CrmNotesAddResponse$Outbound; } export declare function crmNotesAddResponseToJSON(crmNotesAddResponse: CrmNotesAddResponse): string; export declare function crmNotesAddResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=crmnotesadd.d.ts.map