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 CrmContactsDeleteGlobals = { /** * 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 CrmContactsDeleteRequest = { /** * 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 CrmContactsDeleteResponse = { httpMeta: components.HTTPMetadata; /** * Contact deleted */ deleteContactResponse?: components.DeleteContactResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const CrmContactsDeleteGlobals$inboundSchema: z.ZodType; /** @internal */ export type CrmContactsDeleteGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const CrmContactsDeleteGlobals$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 CrmContactsDeleteGlobals$ { /** @deprecated use `CrmContactsDeleteGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmContactsDeleteGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmContactsDeleteGlobals$Outbound` instead. */ type Outbound = CrmContactsDeleteGlobals$Outbound; } export declare function crmContactsDeleteGlobalsToJSON(crmContactsDeleteGlobals: CrmContactsDeleteGlobals): string; export declare function crmContactsDeleteGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CrmContactsDeleteRequest$inboundSchema: z.ZodType; /** @internal */ export type CrmContactsDeleteRequest$Outbound = { id: string; serviceId?: string | undefined; raw: boolean; }; /** @internal */ export declare const CrmContactsDeleteRequest$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 CrmContactsDeleteRequest$ { /** @deprecated use `CrmContactsDeleteRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmContactsDeleteRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmContactsDeleteRequest$Outbound` instead. */ type Outbound = CrmContactsDeleteRequest$Outbound; } export declare function crmContactsDeleteRequestToJSON(crmContactsDeleteRequest: CrmContactsDeleteRequest): string; export declare function crmContactsDeleteRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CrmContactsDeleteResponse$inboundSchema: z.ZodType; /** @internal */ export type CrmContactsDeleteResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; DeleteContactResponse?: components.DeleteContactResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const CrmContactsDeleteResponse$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 CrmContactsDeleteResponse$ { /** @deprecated use `CrmContactsDeleteResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmContactsDeleteResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmContactsDeleteResponse$Outbound` instead. */ type Outbound = CrmContactsDeleteResponse$Outbound; } export declare function crmContactsDeleteResponseToJSON(crmContactsDeleteResponse: CrmContactsDeleteResponse): string; export declare function crmContactsDeleteResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=crmcontactsdelete.d.ts.map