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 HrisDepartmentsUpdateGlobals = { /** * 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 HrisDepartmentsUpdateRequest = { /** * 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; department: components.DepartmentInput; }; export type HrisDepartmentsUpdateResponse = { httpMeta: components.HTTPMetadata; /** * Departments */ updateDepartmentResponse?: components.UpdateDepartmentResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const HrisDepartmentsUpdateGlobals$inboundSchema: z.ZodType; /** @internal */ export type HrisDepartmentsUpdateGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const HrisDepartmentsUpdateGlobals$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 HrisDepartmentsUpdateGlobals$ { /** @deprecated use `HrisDepartmentsUpdateGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `HrisDepartmentsUpdateGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `HrisDepartmentsUpdateGlobals$Outbound` instead. */ type Outbound = HrisDepartmentsUpdateGlobals$Outbound; } export declare function hrisDepartmentsUpdateGlobalsToJSON(hrisDepartmentsUpdateGlobals: HrisDepartmentsUpdateGlobals): string; export declare function hrisDepartmentsUpdateGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const HrisDepartmentsUpdateRequest$inboundSchema: z.ZodType; /** @internal */ export type HrisDepartmentsUpdateRequest$Outbound = { id: string; serviceId?: string | undefined; raw: boolean; Department: components.DepartmentInput$Outbound; }; /** @internal */ export declare const HrisDepartmentsUpdateRequest$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 HrisDepartmentsUpdateRequest$ { /** @deprecated use `HrisDepartmentsUpdateRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `HrisDepartmentsUpdateRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `HrisDepartmentsUpdateRequest$Outbound` instead. */ type Outbound = HrisDepartmentsUpdateRequest$Outbound; } export declare function hrisDepartmentsUpdateRequestToJSON(hrisDepartmentsUpdateRequest: HrisDepartmentsUpdateRequest): string; export declare function hrisDepartmentsUpdateRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const HrisDepartmentsUpdateResponse$inboundSchema: z.ZodType; /** @internal */ export type HrisDepartmentsUpdateResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; UpdateDepartmentResponse?: components.UpdateDepartmentResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const HrisDepartmentsUpdateResponse$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 HrisDepartmentsUpdateResponse$ { /** @deprecated use `HrisDepartmentsUpdateResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `HrisDepartmentsUpdateResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `HrisDepartmentsUpdateResponse$Outbound` instead. */ type Outbound = HrisDepartmentsUpdateResponse$Outbound; } export declare function hrisDepartmentsUpdateResponseToJSON(hrisDepartmentsUpdateResponse: HrisDepartmentsUpdateResponse): string; export declare function hrisDepartmentsUpdateResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=hrisdepartmentsupdate.d.ts.map