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 CrmActivitiesUpdateGlobals = { /** * 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 CrmActivitiesUpdateRequest = { /** * 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; activity: components.ActivityInput; }; export type CrmActivitiesUpdateResponse = { httpMeta: components.HTTPMetadata; /** * Activity updated */ updateActivityResponse?: components.UpdateActivityResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const CrmActivitiesUpdateGlobals$inboundSchema: z.ZodType; /** @internal */ export type CrmActivitiesUpdateGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const CrmActivitiesUpdateGlobals$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 CrmActivitiesUpdateGlobals$ { /** @deprecated use `CrmActivitiesUpdateGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmActivitiesUpdateGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmActivitiesUpdateGlobals$Outbound` instead. */ type Outbound = CrmActivitiesUpdateGlobals$Outbound; } export declare function crmActivitiesUpdateGlobalsToJSON(crmActivitiesUpdateGlobals: CrmActivitiesUpdateGlobals): string; export declare function crmActivitiesUpdateGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CrmActivitiesUpdateRequest$inboundSchema: z.ZodType; /** @internal */ export type CrmActivitiesUpdateRequest$Outbound = { id: string; serviceId?: string | undefined; raw: boolean; Activity: components.ActivityInput$Outbound; }; /** @internal */ export declare const CrmActivitiesUpdateRequest$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 CrmActivitiesUpdateRequest$ { /** @deprecated use `CrmActivitiesUpdateRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmActivitiesUpdateRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmActivitiesUpdateRequest$Outbound` instead. */ type Outbound = CrmActivitiesUpdateRequest$Outbound; } export declare function crmActivitiesUpdateRequestToJSON(crmActivitiesUpdateRequest: CrmActivitiesUpdateRequest): string; export declare function crmActivitiesUpdateRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CrmActivitiesUpdateResponse$inboundSchema: z.ZodType; /** @internal */ export type CrmActivitiesUpdateResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; UpdateActivityResponse?: components.UpdateActivityResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const CrmActivitiesUpdateResponse$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 CrmActivitiesUpdateResponse$ { /** @deprecated use `CrmActivitiesUpdateResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmActivitiesUpdateResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmActivitiesUpdateResponse$Outbound` instead. */ type Outbound = CrmActivitiesUpdateResponse$Outbound; } export declare function crmActivitiesUpdateResponseToJSON(crmActivitiesUpdateResponse: CrmActivitiesUpdateResponse): string; export declare function crmActivitiesUpdateResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=crmactivitiesupdate.d.ts.map