import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { CustomTask } from "./customtask.js"; import { TaskStatus } from "./taskstatus.js"; import { TaskTypeCOMPLETECUSTOMOFFBOARDINGTASKS } from "./tasktypecompletecustomoffboardingtasks.js"; /** * If the task is disabled, the reason and date when it was disabled. */ export type CompleteOffboardingCustomTasksTaskSummaryDisabled = { date: Date; reason: string | null; }; /** * Task summary for completing all offboarding custom tasks. */ export type CompleteOffboardingCustomTasksTaskSummary = { taskType: TaskTypeCOMPLETECUSTOMOFFBOARDINGTASKS; /** * The status of a task. * * @remarks * - COMPLETE: The task has been completed. * - DUE_SOON: The task is due soon. * - OVERDUE: The task is overdue. * - NONE: The task is not assigned. */ status: TaskStatus; /** * The due date of the task. */ dueDate: Date | null; /** * The date the task was completed. */ completionDate: Date | null; /** * If the task is disabled, the reason and date when it was disabled. */ disabled: CompleteOffboardingCustomTasksTaskSummaryDisabled | null; /** * Incomplete custom tasks that are relevant given a person's requirements. */ incompleteCustomOffboardingTasks: Array; /** * Custom tasks that have been completed and are relevant given a person's current requirements. */ completedCustomOffboardingTasks: Array; }; /** @internal */ export declare const CompleteOffboardingCustomTasksTaskSummaryDisabled$inboundSchema: z.ZodType; export declare function completeOffboardingCustomTasksTaskSummaryDisabledFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CompleteOffboardingCustomTasksTaskSummary$inboundSchema: z.ZodType; export declare function completeOffboardingCustomTasksTaskSummaryFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=completeoffboardingcustomtaskstasksummary.d.ts.map