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 HrisTimeOffRequestsUpdateGlobals = { /** * 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 HrisTimeOffRequestsUpdateRequest = { /** * 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; /** * ID of the employee you are acting upon. */ employeeId: string; timeOffRequest: components.TimeOffRequestInput; }; export type HrisTimeOffRequestsUpdateResponse = { httpMeta: components.HTTPMetadata; /** * TimeOffRequests */ updateTimeOffRequestResponse?: components.UpdateTimeOffRequestResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const HrisTimeOffRequestsUpdateGlobals$inboundSchema: z.ZodType; /** @internal */ export type HrisTimeOffRequestsUpdateGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const HrisTimeOffRequestsUpdateGlobals$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 HrisTimeOffRequestsUpdateGlobals$ { /** @deprecated use `HrisTimeOffRequestsUpdateGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `HrisTimeOffRequestsUpdateGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `HrisTimeOffRequestsUpdateGlobals$Outbound` instead. */ type Outbound = HrisTimeOffRequestsUpdateGlobals$Outbound; } export declare function hrisTimeOffRequestsUpdateGlobalsToJSON(hrisTimeOffRequestsUpdateGlobals: HrisTimeOffRequestsUpdateGlobals): string; export declare function hrisTimeOffRequestsUpdateGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const HrisTimeOffRequestsUpdateRequest$inboundSchema: z.ZodType; /** @internal */ export type HrisTimeOffRequestsUpdateRequest$Outbound = { id: string; serviceId?: string | undefined; raw: boolean; employee_id: string; TimeOffRequest: components.TimeOffRequestInput$Outbound; }; /** @internal */ export declare const HrisTimeOffRequestsUpdateRequest$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 HrisTimeOffRequestsUpdateRequest$ { /** @deprecated use `HrisTimeOffRequestsUpdateRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `HrisTimeOffRequestsUpdateRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `HrisTimeOffRequestsUpdateRequest$Outbound` instead. */ type Outbound = HrisTimeOffRequestsUpdateRequest$Outbound; } export declare function hrisTimeOffRequestsUpdateRequestToJSON(hrisTimeOffRequestsUpdateRequest: HrisTimeOffRequestsUpdateRequest): string; export declare function hrisTimeOffRequestsUpdateRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const HrisTimeOffRequestsUpdateResponse$inboundSchema: z.ZodType; /** @internal */ export type HrisTimeOffRequestsUpdateResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; UpdateTimeOffRequestResponse?: components.UpdateTimeOffRequestResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const HrisTimeOffRequestsUpdateResponse$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 HrisTimeOffRequestsUpdateResponse$ { /** @deprecated use `HrisTimeOffRequestsUpdateResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `HrisTimeOffRequestsUpdateResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `HrisTimeOffRequestsUpdateResponse$Outbound` instead. */ type Outbound = HrisTimeOffRequestsUpdateResponse$Outbound; } export declare function hrisTimeOffRequestsUpdateResponseToJSON(hrisTimeOffRequestsUpdateResponse: HrisTimeOffRequestsUpdateResponse): string; export declare function hrisTimeOffRequestsUpdateResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=hristimeoffrequestsupdate.d.ts.map