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 CrmUsersUpdateGlobals = { /** * 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 CrmUsersUpdateRequest = { /** * 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; user: components.UserInput; }; export type CrmUsersUpdateResponse = { httpMeta: components.HTTPMetadata; /** * User updated */ updateUserResponse?: components.UpdateUserResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const CrmUsersUpdateGlobals$inboundSchema: z.ZodType; /** @internal */ export type CrmUsersUpdateGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const CrmUsersUpdateGlobals$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 CrmUsersUpdateGlobals$ { /** @deprecated use `CrmUsersUpdateGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmUsersUpdateGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmUsersUpdateGlobals$Outbound` instead. */ type Outbound = CrmUsersUpdateGlobals$Outbound; } export declare function crmUsersUpdateGlobalsToJSON(crmUsersUpdateGlobals: CrmUsersUpdateGlobals): string; export declare function crmUsersUpdateGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CrmUsersUpdateRequest$inboundSchema: z.ZodType; /** @internal */ export type CrmUsersUpdateRequest$Outbound = { id: string; serviceId?: string | undefined; raw: boolean; User: components.UserInput$Outbound; }; /** @internal */ export declare const CrmUsersUpdateRequest$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 CrmUsersUpdateRequest$ { /** @deprecated use `CrmUsersUpdateRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmUsersUpdateRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmUsersUpdateRequest$Outbound` instead. */ type Outbound = CrmUsersUpdateRequest$Outbound; } export declare function crmUsersUpdateRequestToJSON(crmUsersUpdateRequest: CrmUsersUpdateRequest): string; export declare function crmUsersUpdateRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CrmUsersUpdateResponse$inboundSchema: z.ZodType; /** @internal */ export type CrmUsersUpdateResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; UpdateUserResponse?: components.UpdateUserResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const CrmUsersUpdateResponse$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 CrmUsersUpdateResponse$ { /** @deprecated use `CrmUsersUpdateResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmUsersUpdateResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmUsersUpdateResponse$Outbound` instead. */ type Outbound = CrmUsersUpdateResponse$Outbound; } export declare function crmUsersUpdateResponseToJSON(crmUsersUpdateResponse: CrmUsersUpdateResponse): string; export declare function crmUsersUpdateResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=crmusersupdate.d.ts.map