/** * Generated by orval 🍺 * Do not edit manually. * Lincodex API * OpenAPI spec version: 0.1.0 */ import * as zod from 'zod'; export const supportCaseDecisionReasonMax = 4000; export const SupportCaseDecision = zod.object({ "outcome": zod.enum(['upheld', 'partially_upheld', 'not_upheld', 'answered', 'assessed']).describe('Outcome of a decision as the user sees it. The allowed outcomes depend on the case type.\n\n- upheld: the appeal or the complaint is upheld in full.\n- partially_upheld: the appeal or the complaint is upheld in part.\n- not_upheld: the appeal or the complaint is not upheld.\n- answered: a support case was answered.\n- assessed: the expert finished a manual assessment. The resulting category is part of the assessment results, not of the case.'), "reason": zod.string().min(1).max(supportCaseDecisionReasonMax).describe('Text that support or a moderator wrote for the user: a public reply or the public reason of a decision. Plain text; clients show it as text, never as HTML. Internal notes of the staff are never public texts.'), "decided_at": zod.iso.datetime({"offset":true}).describe('UTC instant in RFC 3339 format with the Z suffix, for example 2026-10-05T09:30:00Z. Servers always emit UTC. Every date-time field in this contract uses this schema.') }).describe('Decision visible to the user. It exists only once the case is `resolved`. It holds the outcome and the public reason; it never names the moderator or the expert and never contains internal notes, evidence, sanctions against another party, or risk signals. An upheld grade appeal never rewrites the original result: the corrected result is a separate decision of the assessment, and both stay in the history of that attempt.') export type SupportCaseDecision = zod.input; export type SupportCaseDecisionOutput = zod.output;