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 CrmActivitiesDeleteGlobals = { /** * 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 CrmActivitiesDeleteRequest = { /** * 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 CrmActivitiesDeleteResponse = { httpMeta: components.HTTPMetadata; /** * Activity deleted */ deleteActivityResponse?: components.DeleteActivityResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const CrmActivitiesDeleteGlobals$inboundSchema: z.ZodType; /** @internal */ export type CrmActivitiesDeleteGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const CrmActivitiesDeleteGlobals$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 CrmActivitiesDeleteGlobals$ { /** @deprecated use `CrmActivitiesDeleteGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmActivitiesDeleteGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmActivitiesDeleteGlobals$Outbound` instead. */ type Outbound = CrmActivitiesDeleteGlobals$Outbound; } export declare function crmActivitiesDeleteGlobalsToJSON(crmActivitiesDeleteGlobals: CrmActivitiesDeleteGlobals): string; export declare function crmActivitiesDeleteGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CrmActivitiesDeleteRequest$inboundSchema: z.ZodType; /** @internal */ export type CrmActivitiesDeleteRequest$Outbound = { id: string; serviceId?: string | undefined; raw: boolean; }; /** @internal */ export declare const CrmActivitiesDeleteRequest$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 CrmActivitiesDeleteRequest$ { /** @deprecated use `CrmActivitiesDeleteRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmActivitiesDeleteRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmActivitiesDeleteRequest$Outbound` instead. */ type Outbound = CrmActivitiesDeleteRequest$Outbound; } export declare function crmActivitiesDeleteRequestToJSON(crmActivitiesDeleteRequest: CrmActivitiesDeleteRequest): string; export declare function crmActivitiesDeleteRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CrmActivitiesDeleteResponse$inboundSchema: z.ZodType; /** @internal */ export type CrmActivitiesDeleteResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; DeleteActivityResponse?: components.DeleteActivityResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const CrmActivitiesDeleteResponse$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 CrmActivitiesDeleteResponse$ { /** @deprecated use `CrmActivitiesDeleteResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmActivitiesDeleteResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmActivitiesDeleteResponse$Outbound` instead. */ type Outbound = CrmActivitiesDeleteResponse$Outbound; } export declare function crmActivitiesDeleteResponseToJSON(crmActivitiesDeleteResponse: CrmActivitiesDeleteResponse): string; export declare function crmActivitiesDeleteResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=crmactivitiesdelete.d.ts.map