feat(assessment): add the review band of attempt signals and the disclosed collector

This commit is contained in:
shira committed 2026-10-08 23:04:57 +03:00
1 parent 68286af8b7
commit b3c6dc870b
124 files changed
+13522 -633

No files matched your search

@@ -0,0 +1,19 @@
/**
* Generated by orval 🍺
* Do not edit manually.
* Lincodex API
* OpenAPI spec version: 0.1.0
*/
import * as zod from 'zod';
export const assessmentSignalNoticeNoticeVersionOneMax = 2147483647;
export const AssessmentSignalNotice = zod.object({
"notice_version": zod.int().min(1).max(assessmentSignalNoticeNoticeVersionOneMax).describe('Version of the notice text about the collected signals. The client shows the text of the version it knows and sends that version back when the candidate confirms; a changed text gets a new version and needs a new confirmation.').describe('The version the server currently requires the candidate to acknowledge.'),
"acknowledged": zod.boolean().describe('True when the candidate acknowledged `notice_version`.'),
"acknowledged_at": zod.union([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.'),zod.null()]).describe('Server time of the first acknowledgement of this version, or null.')
}).describe('State of the notice about the signals that are collected during a real assessment attempt. The acknowledgement is a record that the candidate was informed. It is not a consent, grants no purpose, and neither enables nor blocks signal storage; C3 remains the only consent that the signal operation checks.')
export type AssessmentSignalNotice = zod.input<typeof AssessmentSignalNotice>;
export type AssessmentSignalNoticeOutput = zod.output<typeof AssessmentSignalNotice>;