import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { TaskStatus } from "./taskstatus.js"; import { TaskTypeACCEPTPOLICIES } from "./tasktypeacceptpolicies.js"; /** * If the task is disabled, the reason and date when it was disabled. */ export type AcceptPoliciesTaskSummaryDisabled = { date: Date; reason: string | null; }; export type UnacceptedPolicies = { name: string; }; export type AcceptedPolicies = { name: string; }; /** * Policy acceptance details for a person. */ export type AcceptPoliciesTaskSummary = { taskType: TaskTypeACCEPTPOLICIES; /** * 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: AcceptPoliciesTaskSummaryDisabled | null; /** * Unaccepted policies that are relevant to the person. */ unacceptedPolicies: Array; /** * Accepted policies that are relevant to the person. */ acceptedPolicies: Array; }; /** @internal */ export declare const AcceptPoliciesTaskSummaryDisabled$inboundSchema: z.ZodType; export declare function acceptPoliciesTaskSummaryDisabledFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const UnacceptedPolicies$inboundSchema: z.ZodType; export declare function unacceptedPoliciesFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AcceptedPolicies$inboundSchema: z.ZodType; export declare function acceptedPoliciesFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AcceptPoliciesTaskSummary$inboundSchema: z.ZodType; export declare function acceptPoliciesTaskSummaryFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=acceptpoliciestasksummary.d.ts.map