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 CrmContactsUpdateGlobals = { /** * 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 CrmContactsUpdateRequest = { /** * 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; contact: components.ContactInput; }; export type CrmContactsUpdateResponse = { httpMeta: components.HTTPMetadata; /** * Contact updated */ updateContactResponse?: components.UpdateContactResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const CrmContactsUpdateGlobals$inboundSchema: z.ZodType; /** @internal */ export type CrmContactsUpdateGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const CrmContactsUpdateGlobals$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 CrmContactsUpdateGlobals$ { /** @deprecated use `CrmContactsUpdateGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmContactsUpdateGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmContactsUpdateGlobals$Outbound` instead. */ type Outbound = CrmContactsUpdateGlobals$Outbound; } export declare function crmContactsUpdateGlobalsToJSON(crmContactsUpdateGlobals: CrmContactsUpdateGlobals): string; export declare function crmContactsUpdateGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CrmContactsUpdateRequest$inboundSchema: z.ZodType; /** @internal */ export type CrmContactsUpdateRequest$Outbound = { id: string; serviceId?: string | undefined; raw: boolean; Contact: components.ContactInput$Outbound; }; /** @internal */ export declare const CrmContactsUpdateRequest$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 CrmContactsUpdateRequest$ { /** @deprecated use `CrmContactsUpdateRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmContactsUpdateRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmContactsUpdateRequest$Outbound` instead. */ type Outbound = CrmContactsUpdateRequest$Outbound; } export declare function crmContactsUpdateRequestToJSON(crmContactsUpdateRequest: CrmContactsUpdateRequest): string; export declare function crmContactsUpdateRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CrmContactsUpdateResponse$inboundSchema: z.ZodType; /** @internal */ export type CrmContactsUpdateResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; UpdateContactResponse?: components.UpdateContactResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const CrmContactsUpdateResponse$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 CrmContactsUpdateResponse$ { /** @deprecated use `CrmContactsUpdateResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmContactsUpdateResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmContactsUpdateResponse$Outbound` instead. */ type Outbound = CrmContactsUpdateResponse$Outbound; } export declare function crmContactsUpdateResponseToJSON(crmContactsUpdateResponse: CrmContactsUpdateResponse): string; export declare function crmContactsUpdateResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=crmcontactsupdate.d.ts.map