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 CrmLeadsDeleteGlobals = { /** * 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 CrmLeadsDeleteRequest = { /** * 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 CrmLeadsDeleteResponse = { httpMeta: components.HTTPMetadata; /** * Lead deleted */ deleteLeadResponse?: components.DeleteLeadResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const CrmLeadsDeleteGlobals$inboundSchema: z.ZodType; /** @internal */ export type CrmLeadsDeleteGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const CrmLeadsDeleteGlobals$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 CrmLeadsDeleteGlobals$ { /** @deprecated use `CrmLeadsDeleteGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmLeadsDeleteGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmLeadsDeleteGlobals$Outbound` instead. */ type Outbound = CrmLeadsDeleteGlobals$Outbound; } export declare function crmLeadsDeleteGlobalsToJSON(crmLeadsDeleteGlobals: CrmLeadsDeleteGlobals): string; export declare function crmLeadsDeleteGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CrmLeadsDeleteRequest$inboundSchema: z.ZodType; /** @internal */ export type CrmLeadsDeleteRequest$Outbound = { id: string; serviceId?: string | undefined; raw: boolean; }; /** @internal */ export declare const CrmLeadsDeleteRequest$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 CrmLeadsDeleteRequest$ { /** @deprecated use `CrmLeadsDeleteRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmLeadsDeleteRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmLeadsDeleteRequest$Outbound` instead. */ type Outbound = CrmLeadsDeleteRequest$Outbound; } export declare function crmLeadsDeleteRequestToJSON(crmLeadsDeleteRequest: CrmLeadsDeleteRequest): string; export declare function crmLeadsDeleteRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CrmLeadsDeleteResponse$inboundSchema: z.ZodType; /** @internal */ export type CrmLeadsDeleteResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; DeleteLeadResponse?: components.DeleteLeadResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const CrmLeadsDeleteResponse$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 CrmLeadsDeleteResponse$ { /** @deprecated use `CrmLeadsDeleteResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmLeadsDeleteResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmLeadsDeleteResponse$Outbound` instead. */ type Outbound = CrmLeadsDeleteResponse$Outbound; } export declare function crmLeadsDeleteResponseToJSON(crmLeadsDeleteResponse: CrmLeadsDeleteResponse): string; export declare function crmLeadsDeleteResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=crmleadsdelete.d.ts.map