import * as z from "zod/v4"; export declare const TODOS_COMMON_SCHEMA_IDS: { readonly error: "hasna.todos.error.v1"; readonly mutationReceipt: "hasna.todos.mutation_receipt.v1"; }; export declare const TODOS_REQUEST_SCHEMA_IDS: { readonly empty: "hasna.todos.request.empty.v1"; readonly ref: "hasna.todos.request.ref.v1"; readonly versionedRef: "hasna.todos.request.versioned_ref.v1"; readonly list: "hasna.todos.request.list.v1"; readonly refList: "hasna.todos.request.ref_list.v1"; readonly existsMany: "hasna.todos.request.exists_many.v1"; readonly taskCreate: "hasna.todos.request.task_create.v1"; readonly taskUpsert: "hasna.todos.request.task_upsert.v1"; readonly taskUpdate: "hasna.todos.request.task_update.v1"; readonly taskBatch: "hasna.todos.request.task_batch.v1"; readonly taskStart: "hasna.todos.request.task_start.v1"; readonly taskComplete: "hasna.todos.request.task_complete.v1"; readonly taskFail: "hasna.todos.request.task_fail.v1"; readonly taskClaim: "hasna.todos.request.task_claim.v1"; readonly taskChanged: "hasna.todos.request.task_changed.v1"; readonly taskLock: "hasna.todos.request.task_lock.v1"; readonly commentCreate: "hasna.todos.request.comment_create.v1"; readonly dependencyCreate: "hasna.todos.request.dependency_create.v1"; readonly dependencyDelete: "hasna.todos.request.dependency_delete.v1"; readonly projectCreate: "hasna.todos.request.project_create.v1"; readonly projectUpdate: "hasna.todos.request.project_update.v1"; readonly projectRename: "hasna.todos.request.project_rename.v1"; readonly taskListCreate: "hasna.todos.request.task_list_create.v1"; readonly taskListUpdate: "hasna.todos.request.task_list_update.v1"; readonly planCreate: "hasna.todos.request.plan_create.v1"; readonly planUpdate: "hasna.todos.request.plan_update.v1"; readonly agentRegister: "hasna.todos.request.agent_register.v1"; readonly agentHeartbeat: "hasna.todos.request.agent_heartbeat.v1"; readonly agentRelease: "hasna.todos.request.agent_release.v1"; readonly search: "hasna.todos.request.search.v1"; readonly savedViewCreate: "hasna.todos.request.saved_view_create.v1"; readonly savedViewUpdate: "hasna.todos.request.saved_view_update.v1"; readonly savedViewExecute: "hasna.todos.request.saved_view_execute.v1"; readonly verificationCreate: "hasna.todos.request.verification_create.v1"; readonly verificationExport: "hasna.todos.request.verification_export.v1"; readonly taskFileRecord: "hasna.todos.request.task_file_record.v1"; readonly runStart: "hasna.todos.request.run_start.v1"; readonly runFinish: "hasna.todos.request.run_finish.v1"; readonly runEventCreate: "hasna.todos.request.run_event_create.v1"; readonly runCommandCreate: "hasna.todos.request.run_command_create.v1"; readonly runFileCreate: "hasna.todos.request.run_file_create.v1"; readonly runArtifactCreate: "hasna.todos.request.run_artifact_create.v1"; readonly runArtifactVerify: "hasna.todos.request.run_artifact_verify.v1"; readonly gitCommitLink: "hasna.todos.request.git_commit_link.v1"; readonly gitCommitUnlink: "hasna.todos.request.git_commit_unlink.v1"; readonly gitCommitFind: "hasna.todos.request.git_commit_find.v1"; readonly gitRefLink: "hasna.todos.request.git_ref_link.v1"; readonly gitRefFind: "hasna.todos.request.git_ref_find.v1"; readonly transferExport: "hasna.todos.request.transfer_export.v1"; readonly transferValidate: "hasna.todos.request.transfer_validate.v1"; readonly transferImportPreview: "hasna.todos.request.transfer_import_preview.v1"; readonly transferImportExecute: "hasna.todos.request.transfer_import_execute.v1"; readonly approvalRequest: "hasna.todos.request.approval_request.v1"; readonly approvalDecision: "hasna.todos.request.approval_decision.v1"; readonly approvalExpire: "hasna.todos.request.approval_expire.v1"; readonly taskTemplateCreate: "hasna.todos.request.task_template_create.v1"; readonly taskTemplateUpdate: "hasna.todos.request.task_template_update.v1"; readonly taskTemplateInstantiate: "hasna.todos.request.task_template_instantiate.v1"; readonly reportGenerate: "hasna.todos.request.report_generate.v1"; readonly workspaceBootstrap: "hasna.todos.request.workspace_bootstrap.v1"; readonly serverStart: "hasna.todos.request.server_start.v1"; readonly databaseBackup: "hasna.todos.request.database_backup.v1"; readonly databaseRestore: "hasna.todos.request.database_restore.v1"; readonly databaseCheck: "hasna.todos.request.database_check.v1"; readonly databaseCompact: "hasna.todos.request.database_compact.v1"; readonly upgradeValidate: "hasna.todos.request.upgrade_validate.v1"; readonly upgradeExecute: "hasna.todos.request.upgrade_execute.v1"; readonly projectionRebuild: "hasna.todos.request.projection_rebuild.v1"; }; export declare const TODOS_RESPONSE_SCHEMA_IDS: { readonly serviceStatus: "hasna.todos.response.service_status.v1"; readonly authority: "hasna.todos.response.authority.v1"; readonly artifactDocument: "hasna.todos.response.artifact_document.v1"; readonly capabilityPage: "hasna.todos.response.capability_page.v1"; readonly capability: "hasna.todos.response.capability.v1"; readonly taskPage: "hasna.todos.response.task_page.v1"; readonly task: "hasna.todos.response.task.v1"; readonly count: "hasna.todos.response.count.v1"; readonly existsMany: "hasna.todos.response.exists_many.v1"; readonly mutation: "hasna.todos.response.mutation.v1"; readonly batch: "hasna.todos.response.batch.v1"; readonly taskContext: "hasna.todos.response.task_context.v1"; readonly activityPage: "hasna.todos.response.activity_page.v1"; readonly commentPage: "hasna.todos.response.comment_page.v1"; readonly comment: "hasna.todos.response.comment.v1"; readonly dependencyPage: "hasna.todos.response.dependency_page.v1"; readonly dependency: "hasna.todos.response.dependency.v1"; readonly projectPage: "hasna.todos.response.project_page.v1"; readonly project: "hasna.todos.response.project.v1"; readonly taskListPage: "hasna.todos.response.task_list_page.v1"; readonly taskList: "hasna.todos.response.task_list.v1"; readonly planPage: "hasna.todos.response.plan_page.v1"; readonly plan: "hasna.todos.response.plan.v1"; readonly agentPage: "hasna.todos.response.agent_page.v1"; readonly agent: "hasna.todos.response.agent.v1"; readonly stats: "hasna.todos.response.stats.v1"; readonly savedViewPage: "hasna.todos.response.saved_view_page.v1"; readonly savedView: "hasna.todos.response.saved_view.v1"; readonly verificationPage: "hasna.todos.response.verification_page.v1"; readonly verification: "hasna.todos.response.verification.v1"; readonly verificationExport: "hasna.todos.response.verification_export.v1"; readonly taskFilePage: "hasna.todos.response.task_file_page.v1"; readonly taskFile: "hasna.todos.response.task_file.v1"; readonly runPage: "hasna.todos.response.run_page.v1"; readonly run: "hasna.todos.response.run.v1"; readonly runLedger: "hasna.todos.response.run_ledger.v1"; readonly runEventPage: "hasna.todos.response.run_event_page.v1"; readonly runEvent: "hasna.todos.response.run_event.v1"; readonly runCommandPage: "hasna.todos.response.run_command_page.v1"; readonly runCommand: "hasna.todos.response.run_command.v1"; readonly runFilePage: "hasna.todos.response.run_file_page.v1"; readonly runFile: "hasna.todos.response.run_file.v1"; readonly runArtifactPage: "hasna.todos.response.run_artifact_page.v1"; readonly runArtifact: "hasna.todos.response.run_artifact.v1"; readonly gitCommitPage: "hasna.todos.response.git_commit_page.v1"; readonly gitCommit: "hasna.todos.response.git_commit.v1"; readonly gitRefPage: "hasna.todos.response.git_ref_page.v1"; readonly gitRef: "hasna.todos.response.git_ref.v1"; readonly traceability: "hasna.todos.response.traceability.v1"; readonly projectionPage: "hasna.todos.response.projection_page.v1"; readonly projection: "hasna.todos.response.projection.v1"; readonly transferBundle: "hasna.todos.response.transfer_bundle.v1"; readonly transferValidation: "hasna.todos.response.transfer_validation.v1"; readonly transferImportPreview: "hasna.todos.response.transfer_import_preview.v1"; readonly migrationReceiptPage: "hasna.todos.response.migration_receipt_page.v1"; readonly migrationReceipt: "hasna.todos.response.migration_receipt.v1"; readonly deletionRecordPage: "hasna.todos.response.deletion_record_page.v1"; readonly deletionRecord: "hasna.todos.response.deletion_record.v1"; readonly approvalPage: "hasna.todos.response.approval_page.v1"; readonly approval: "hasna.todos.response.approval.v1"; readonly taskTemplatePage: "hasna.todos.response.task_template_page.v1"; readonly taskTemplate: "hasna.todos.response.task_template.v1"; readonly report: "hasna.todos.response.report.v1"; readonly serverStart: "hasna.todos.response.server_start.v1"; }; export declare const TODOS_REQUEST_SCHEMAS: Readonly<{ "hasna.todos.request.empty.v1": z.ZodObject<{}, z.core.$strict>; "hasna.todos.request.ref.v1": z.ZodObject<{ ref: z.ZodString; }, z.core.$strict>; "hasna.todos.request.versioned_ref.v1": z.ZodObject<{ ref: z.ZodString; expectedVersion: z.ZodNumber; }, z.core.$strict>; "hasna.todos.request.list.v1": z.ZodObject<{ cursor: z.ZodNullable; limit: z.ZodNumber; projectId: z.ZodNullable; taskListId: z.ZodNullable; planId: z.ZodNullable; agentId: z.ZodNullable; status: z.ZodNullable; changedAfter: z.ZodNullable; }, z.core.$strict>; "hasna.todos.request.ref_list.v1": z.ZodObject<{ ref: z.ZodString; cursor: z.ZodNullable; limit: z.ZodNumber; }, z.core.$strict>; "hasna.todos.request.exists_many.v1": z.ZodObject<{ refs: z.ZodArray; }, z.core.$strict>; "hasna.todos.request.task_create.v1": z.ZodObject<{ title: z.ZodString; description: z.ZodNullable; priority: z.ZodEnum<{ low: "low"; medium: "medium"; high: "high"; critical: "critical"; }>; projectId: z.ZodNullable; taskListId: z.ZodNullable; planId: z.ZodNullable; parentTaskId: z.ZodNullable; assignedAgentId: z.ZodNullable; fingerprint: z.ZodNullable; tags: z.ZodArray; acceptanceCriteria: z.ZodArray; dueAt: z.ZodNullable; externalOwnerRefs: z.ZodArray>; }, z.core.$strict>; "hasna.todos.request.task_upsert.v1": z.ZodObject<{ fingerprint: z.ZodString; create: z.ZodObject<{ title: z.ZodString; description: z.ZodNullable; priority: z.ZodEnum<{ low: "low"; medium: "medium"; high: "high"; critical: "critical"; }>; projectId: z.ZodNullable; taskListId: z.ZodNullable; planId: z.ZodNullable; parentTaskId: z.ZodNullable; assignedAgentId: z.ZodNullable; fingerprint: z.ZodNullable; tags: z.ZodArray; acceptanceCriteria: z.ZodArray; dueAt: z.ZodNullable; externalOwnerRefs: z.ZodArray>; }, z.core.$strict>; update: z.ZodObject<{ title: z.ZodOptional; description: z.ZodOptional>; priority: z.ZodOptional>; projectId: z.ZodOptional>; taskListId: z.ZodOptional>; planId: z.ZodOptional>; parentTaskId: z.ZodOptional>; assignedAgentId: z.ZodOptional>; tags: z.ZodOptional>; acceptanceCriteria: z.ZodOptional>; dueAt: z.ZodOptional>; }, z.core.$strict>; expectedVersion: z.ZodNullable; }, z.core.$strict>; "hasna.todos.request.task_update.v1": z.ZodObject<{ ref: z.ZodString; expectedVersion: z.ZodNumber; changes: z.ZodObject<{ title: z.ZodOptional; description: z.ZodOptional>; priority: z.ZodOptional>; projectId: z.ZodOptional>; taskListId: z.ZodOptional>; planId: z.ZodOptional>; parentTaskId: z.ZodOptional>; assignedAgentId: z.ZodOptional>; tags: z.ZodOptional>; acceptanceCriteria: z.ZodOptional>; dueAt: z.ZodOptional>; }, z.core.$strict>; }, z.core.$strict>; "hasna.todos.request.task_batch.v1": z.ZodObject<{ operations: z.ZodArray; input: z.ZodObject<{ title: z.ZodString; description: z.ZodNullable; priority: z.ZodEnum<{ low: "low"; medium: "medium"; high: "high"; critical: "critical"; }>; projectId: z.ZodNullable; taskListId: z.ZodNullable; planId: z.ZodNullable; parentTaskId: z.ZodNullable; assignedAgentId: z.ZodNullable; fingerprint: z.ZodNullable; tags: z.ZodArray; acceptanceCriteria: z.ZodArray; dueAt: z.ZodNullable; externalOwnerRefs: z.ZodArray>; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"update">; ref: z.ZodString; expectedVersion: z.ZodNumber; changes: z.ZodObject<{ title: z.ZodOptional; description: z.ZodOptional>; priority: z.ZodOptional>; projectId: z.ZodOptional>; taskListId: z.ZodOptional>; planId: z.ZodOptional>; parentTaskId: z.ZodOptional>; assignedAgentId: z.ZodOptional>; tags: z.ZodOptional>; acceptanceCriteria: z.ZodOptional>; dueAt: z.ZodOptional>; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"delete">; ref: z.ZodString; expectedVersion: z.ZodNumber; }, z.core.$strict>]>>; }, z.core.$strict>; "hasna.todos.request.task_start.v1": z.ZodObject<{ targetStatus: z.ZodLiteral<"in_progress">; ref: z.ZodString; expectedVersion: z.ZodNumber; summary: z.ZodNullable; }, z.core.$strict>; "hasna.todos.request.task_complete.v1": z.ZodObject<{ targetStatus: z.ZodLiteral<"completed">; ref: z.ZodString; expectedVersion: z.ZodNumber; summary: z.ZodNullable; }, z.core.$strict>; "hasna.todos.request.task_fail.v1": z.ZodObject<{ targetStatus: z.ZodLiteral<"failed">; ref: z.ZodString; expectedVersion: z.ZodNumber; summary: z.ZodNullable; }, z.core.$strict>; "hasna.todos.request.task_claim.v1": z.ZodObject<{ agentId: z.ZodString; projectId: z.ZodNullable; taskListId: z.ZodNullable; planId: z.ZodNullable; tags: z.ZodArray; }, z.core.$strict>; "hasna.todos.request.task_changed.v1": z.ZodObject<{ changedAfter: z.ZodISODateTime; cursor: z.ZodNullable; limit: z.ZodNumber; }, z.core.$strict>; "hasna.todos.request.task_lock.v1": z.ZodObject<{ ref: z.ZodString; ownerRef: z.ZodObject<{ owner: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; expectedVersion: z.ZodNumber; expiresAt: z.ZodNullable; }, z.core.$strict>; "hasna.todos.request.comment_create.v1": z.ZodObject<{ taskRef: z.ZodString; authorRef: z.ZodObject<{ owner: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; kind: z.ZodEnum<{ comment: "comment"; note: "note"; progress: "progress"; }>; content: z.ZodString; progressPercent: z.ZodNullable; }, z.core.$strict>; "hasna.todos.request.dependency_create.v1": z.ZodObject<{ sourceTaskRef: z.ZodString; targetTaskRef: z.ZodString; kind: z.ZodEnum<{ requires: "requires"; blocks: "blocks"; }>; }, z.core.$strict>; "hasna.todos.request.dependency_delete.v1": z.ZodObject<{ ref: z.ZodString; expectedVersion: z.ZodNumber; }, z.core.$strict>; "hasna.todos.request.project_create.v1": z.ZodObject<{ slug: z.ZodString; name: z.ZodString; description: z.ZodNullable; repositoryRef: z.ZodNullable>; }, z.core.$strict>; "hasna.todos.request.project_update.v1": z.ZodObject<{ ref: z.ZodString; expectedVersion: z.ZodNumber; name: z.ZodOptional; description: z.ZodOptional>; repositoryRef: z.ZodOptional>>; }, z.core.$strict>; "hasna.todos.request.project_rename.v1": z.ZodObject<{ ref: z.ZodString; expectedVersion: z.ZodNumber; slug: z.ZodString; name: z.ZodNullable; }, z.core.$strict>; "hasna.todos.request.task_list_create.v1": z.ZodObject<{ projectId: z.ZodNullable; slug: z.ZodString; name: z.ZodString; description: z.ZodNullable; }, z.core.$strict>; "hasna.todos.request.task_list_update.v1": z.ZodObject<{ ref: z.ZodString; expectedVersion: z.ZodNumber; slug: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional>; }, z.core.$strict>; "hasna.todos.request.plan_create.v1": z.ZodObject<{ slug: z.ZodString; projectId: z.ZodNullable; taskListId: z.ZodNullable; name: z.ZodString; description: z.ZodNullable; objective: z.ZodString; taskIds: z.ZodArray; }, z.core.$strict>; "hasna.todos.request.plan_update.v1": z.ZodObject<{ ref: z.ZodString; expectedVersion: z.ZodNumber; name: z.ZodOptional; description: z.ZodOptional>; status: z.ZodOptional>; objective: z.ZodOptional; taskIds: z.ZodOptional>; }, z.core.$strict>; "hasna.todos.request.agent_register.v1": z.ZodObject<{ id: z.ZodString; displayName: z.ZodString; roles: z.ZodArray>; activeProjectId: z.ZodNullable; activeTaskListId: z.ZodNullable; }, z.core.$strict>; "hasna.todos.request.agent_heartbeat.v1": z.ZodObject<{ ref: z.ZodString; expectedVersion: z.ZodNumber; observedAt: z.ZodISODateTime; activeProjectId: z.ZodNullable; activeTaskListId: z.ZodNullable; }, z.core.$strict>; "hasna.todos.request.agent_release.v1": z.ZodObject<{ ref: z.ZodString; expectedVersion: z.ZodNumber; releasedAt: z.ZodISODateTime; }, z.core.$strict>; "hasna.todos.request.search.v1": z.ZodObject<{ query: z.ZodString; filters: z.ZodObject<{ projectIds: z.ZodArray; taskListIds: z.ZodArray; planIds: z.ZodArray; agentIds: z.ZodArray; statuses: z.ZodArray>; priorities: z.ZodArray>; tags: z.ZodArray; changedAfter: z.ZodNullable; dueBefore: z.ZodNullable; }, z.core.$strict>; cursor: z.ZodNullable; limit: z.ZodNumber; }, z.core.$strict>; "hasna.todos.request.saved_view_create.v1": z.ZodObject<{ name: z.ZodString; description: z.ZodNullable; query: z.ZodObject<{ query: z.ZodString; filters: z.ZodObject<{ projectIds: z.ZodArray; taskListIds: z.ZodArray; planIds: z.ZodArray; agentIds: z.ZodArray; statuses: z.ZodArray>; priorities: z.ZodArray>; tags: z.ZodArray; changedAfter: z.ZodNullable; dueBefore: z.ZodNullable; }, z.core.$strict>; cursor: z.ZodNullable; limit: z.ZodNumber; }, z.core.$strict>; audience: z.ZodEnum<{ private: "private"; organization: "organization"; }>; }, z.core.$strict>; "hasna.todos.request.saved_view_update.v1": z.ZodObject<{ ref: z.ZodString; expectedVersion: z.ZodNumber; name: z.ZodOptional; description: z.ZodOptional>; query: z.ZodOptional; taskListIds: z.ZodArray; planIds: z.ZodArray; agentIds: z.ZodArray; statuses: z.ZodArray>; priorities: z.ZodArray>; tags: z.ZodArray; changedAfter: z.ZodNullable; dueBefore: z.ZodNullable; }, z.core.$strict>; cursor: z.ZodNullable; limit: z.ZodNumber; }, z.core.$strict>>; audience: z.ZodOptional>; }, z.core.$strict>; "hasna.todos.request.saved_view_execute.v1": z.ZodObject<{ ref: z.ZodString; cursor: z.ZodNullable; limit: z.ZodNumber; }, z.core.$strict>; "hasna.todos.request.verification_create.v1": z.ZodObject<{ taskId: z.ZodNullable; runId: z.ZodNullable; verifierRef: z.ZodObject<{ owner: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; status: z.ZodEnum<{ failed: "failed"; passed: "passed"; inconclusive: "inconclusive"; }>; summary: z.ZodString; confidence: z.ZodNullable; commands: z.ZodArray>; checks: z.ZodArray; summary: z.ZodNullable; durationMs: z.ZodNullable; }, z.core.$strict>>; contentRefs: z.ZodArray; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>>; startedAt: z.ZodISODateTime; completedAt: z.ZodNullable; }, z.core.$strict>; "hasna.todos.request.verification_export.v1": z.ZodObject<{ taskId: z.ZodNullable; runId: z.ZodNullable; contentType: z.ZodLiteral<"application/json">; }, z.core.$strict>; "hasna.todos.request.task_file_record.v1": z.ZodObject<{ taskId: z.ZodString; logicalName: z.ZodString; relativePath: z.ZodNullable; contentRef: z.ZodObject<{ algorithm: z.ZodLiteral<"sha256">; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>; purpose: z.ZodEnum<{ attachment: "attachment"; evidence: "evidence"; deliverable: "deliverable"; }>; }, z.core.$strict>; "hasna.todos.request.run_start.v1": z.ZodObject<{ objective: z.ZodString; taskIds: z.ZodArray; planId: z.ZodNullable; agentId: z.ZodNullable; }, z.core.$strict>; "hasna.todos.request.run_finish.v1": z.ZodObject<{ ref: z.ZodString; expectedVersion: z.ZodNumber; status: z.ZodEnum<{ succeeded: "succeeded"; failed: "failed"; cancelled: "cancelled"; }>; completedAt: z.ZodISODateTime; ledgerDigest: z.ZodString; }, z.core.$strict>; "hasna.todos.request.run_event_create.v1": z.ZodObject<{ runId: z.ZodString; sequence: z.ZodNumber; type: z.ZodString; summary: z.ZodString; occurredAt: z.ZodISODateTime; evidenceIds: z.ZodArray; }, z.core.$strict>; "hasna.todos.request.run_command_create.v1": z.ZodObject<{ runId: z.ZodString; sequence: z.ZodNumber; command: z.ZodString; exitCode: z.ZodNullable; durationMs: z.ZodNullable; outputRefs: z.ZodArray; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>>; completedAt: z.ZodNullable; }, z.core.$strict>; "hasna.todos.request.run_file_create.v1": z.ZodObject<{ runId: z.ZodString; logicalName: z.ZodString; relativePath: z.ZodNullable; contentRef: z.ZodObject<{ algorithm: z.ZodLiteral<"sha256">; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>; role: z.ZodEnum<{ output: "output"; input: "input"; evidence: "evidence"; }>; }, z.core.$strict>; "hasna.todos.request.run_artifact_create.v1": z.ZodObject<{ runId: z.ZodString; name: z.ZodString; kind: z.ZodString; contentRef: z.ZodObject<{ algorithm: z.ZodLiteral<"sha256">; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>; }, z.core.$strict>; "hasna.todos.request.run_artifact_verify.v1": z.ZodObject<{ runId: z.ZodString; ref: z.ZodString; expectedVersion: z.ZodNumber; verificationEvidenceId: z.ZodString; }, z.core.$strict>; "hasna.todos.request.git_commit_link.v1": z.ZodObject<{ taskId: z.ZodString; repositoryRef: z.ZodObject<{ owner: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; objectId: z.ZodObject<{ algorithm: z.ZodEnum<{ sha256: "sha256"; sha1: "sha1"; }>; value: z.ZodString; }, z.core.$strict>; message: z.ZodString; authorRef: z.ZodObject<{ owner: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; committedAt: z.ZodISODateTime; changedFiles: z.ZodArray; }, z.core.$strict>; "hasna.todos.request.git_commit_unlink.v1": z.ZodObject<{ taskId: z.ZodString; commitRef: z.ZodString; expectedVersion: z.ZodNumber; }, z.core.$strict>; "hasna.todos.request.git_commit_find.v1": z.ZodObject<{ repositoryRef: z.ZodObject<{ owner: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; objectId: z.ZodObject<{ algorithm: z.ZodEnum<{ sha256: "sha256"; sha1: "sha1"; }>; value: z.ZodString; }, z.core.$strict>; }, z.core.$strict>; "hasna.todos.request.git_ref_link.v1": z.ZodObject<{ taskId: z.ZodString; repositoryRef: z.ZodObject<{ owner: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; type: z.ZodEnum<{ branch: "branch"; pull_request: "pull_request"; tag: "tag"; }>; name: z.ZodString; target: z.ZodObject<{ algorithm: z.ZodEnum<{ sha256: "sha256"; sha1: "sha1"; }>; value: z.ZodString; }, z.core.$strict>; published: z.ZodBoolean; providerObservedAt: z.ZodNullable; }, z.core.$strict>; "hasna.todos.request.git_ref_find.v1": z.ZodObject<{ repositoryRef: z.ZodObject<{ owner: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; type: z.ZodEnum<{ branch: "branch"; pull_request: "pull_request"; tag: "tag"; }>; name: z.ZodString; }, z.core.$strict>; "hasna.todos.request.transfer_export.v1": z.ZodObject<{ bundleId: z.ZodString; createdAt: z.ZodISODateTime; projectIds: z.ZodArray; sectionNames: z.ZodArray>; }, z.core.$strict>; "hasna.todos.request.transfer_validate.v1": z.ZodObject<{ bundle: z.ZodObject<{ schema: z.ZodLiteral<"hasna.todos.transfer_bundle.v1">; version: z.ZodLiteral<"1">; bundleId: z.ZodString; createdAt: z.ZodISODateTime; source: z.ZodObject<{ authorityId: z.ZodString; }, z.core.$strict>; contractVersion: z.ZodLiteral<"1.0.0">; contractDigest: z.ZodString; manifestVersion: z.ZodLiteral<"1">; manifestDigest: z.ZodString; sections: z.ZodObject<{ projects: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; repositoryRef: z.ZodNullable>; archivedAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; task_lists: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; slug: z.ZodString; name: z.ZodString; description: z.ZodNullable; archivedAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; plans: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; taskListId: z.ZodNullable; name: z.ZodString; description: z.ZodNullable; status: z.ZodEnum<{ draft: "draft"; active: "active"; archived: "archived"; completed: "completed"; }>; objective: z.ZodString; taskIds: z.ZodArray; completedAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; tasks: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; title: z.ZodString; description: z.ZodNullable; status: z.ZodEnum<{ pending: "pending"; failed: "failed"; cancelled: "cancelled"; blocked: "blocked"; ready: "ready"; in_progress: "in_progress"; completed: "completed"; }>; priority: z.ZodEnum<{ low: "low"; medium: "medium"; high: "high"; critical: "critical"; }>; projectId: z.ZodNullable; taskListId: z.ZodNullable; planId: z.ZodNullable; parentTaskId: z.ZodNullable; assignedAgentId: z.ZodNullable; fingerprint: z.ZodNullable; tags: z.ZodArray; acceptanceCriteria: z.ZodArray; dueAt: z.ZodNullable; completedAt: z.ZodNullable; externalOwnerRefs: z.ZodArray>; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; comments: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; kind: z.ZodEnum<{ comment: "comment"; note: "note"; progress: "progress"; }>; content: z.ZodString; progressPercent: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; dependencies: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; activities: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; resourceRef: z.ZodObject<{ owner: z.ZodString; kind: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; action: z.ZodString; summary: z.ZodString; occurredAt: z.ZodISODateTime; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; verification_evidence: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; summary: z.ZodNullable; durationMs: z.ZodNullable; }, z.core.$strict>>; owner: z.ZodString; status: z.ZodEnum<{ failed: "failed"; passed: "passed"; inconclusive: "inconclusive"; }>; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; summary: z.ZodString; startedAt: z.ZodISODateTime; completedAt: z.ZodNullable; taskId: z.ZodNullable; runId: z.ZodNullable; verifierRef: z.ZodObject<{ owner: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; confidence: z.ZodNullable; contentRefs: z.ZodArray; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>>; commandReceipts: z.ZodArray; exitCode: z.ZodNullable; durationMs: z.ZodNullable; outputRefs: z.ZodArray; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>>; }, z.core.$strict>>; }, z.core.$strict>>; }, z.core.$strict>; task_files: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>; purpose: z.ZodEnum<{ attachment: "attachment"; evidence: "evidence"; deliverable: "deliverable"; }>; }, z.core.$strict>>; }, z.core.$strict>; runs: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; taskIds: z.ZodArray; planId: z.ZodNullable; agentId: z.ZodNullable; startedAt: z.ZodNullable; completedAt: z.ZodNullable; ledgerDigest: z.ZodString; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; run_events: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; run_commands: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; exitCode: z.ZodNullable; durationMs: z.ZodNullable; outputRefs: z.ZodArray; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>>; completedAt: z.ZodNullable; }, z.core.$strict>>; }, z.core.$strict>; run_files: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>; role: z.ZodEnum<{ output: "output"; input: "input"; evidence: "evidence"; }>; }, z.core.$strict>>; }, z.core.$strict>; run_artifacts: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>; verified: z.ZodBoolean; verificationEvidenceId: z.ZodNullable; }, z.core.$strict>>; }, z.core.$strict>; git_commits: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; objectId: z.ZodObject<{ algorithm: z.ZodEnum<{ sha256: "sha256"; sha1: "sha1"; }>; value: z.ZodString; }, z.core.$strict>; message: z.ZodString; authorRef: z.ZodObject<{ owner: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; committedAt: z.ZodISODateTime; changedFileDigests: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>; git_refs: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; type: z.ZodEnum<{ branch: "branch"; pull_request: "pull_request"; tag: "tag"; }>; name: z.ZodString; target: z.ZodObject<{ algorithm: z.ZodEnum<{ sha256: "sha256"; sha1: "sha1"; }>; value: z.ZodString; }, z.core.$strict>; published: z.ZodBoolean; providerObservedAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; traceability: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; gitRefIds: z.ZodArray; verificationEvidenceIds: z.ZodArray; projectionIds: z.ZodArray; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; task_to_pr_projections: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray>>; }, z.core.$strict>; saved_views: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; query: z.ZodObject<{ query: z.ZodString; filters: z.ZodObject<{ projectIds: z.ZodArray; taskListIds: z.ZodArray; planIds: z.ZodArray; agentIds: z.ZodArray; statuses: z.ZodArray>; priorities: z.ZodArray>; tags: z.ZodArray; changedAfter: z.ZodNullable; dueBefore: z.ZodNullable; }, z.core.$strict>; cursor: z.ZodNullable; limit: z.ZodNumber; }, z.core.$strict>; audience: z.ZodEnum<{ private: "private"; organization: "organization"; }>; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; task_templates: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; titlePattern: z.ZodString; descriptionPattern: z.ZodNullable; priority: z.ZodEnum<{ low: "low"; medium: "medium"; high: "high"; critical: "critical"; }>; tags: z.ZodArray; acceptanceCriteria: z.ZodArray; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; approvals: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; status: z.ZodEnum<{ pending: "pending"; rejected: "rejected"; expired: "expired"; approved: "approved"; }>; reason: z.ZodString; requestedBy: z.ZodObject<{ owner: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; decidedBy: z.ZodNullable>; requestedAt: z.ZodISODateTime; decidedAt: z.ZodNullable; expiresAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; deletion_records: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; reasonCode: z.ZodString; deletedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; }, z.core.$strict>; dependencyClosure: z.ZodArray; }, z.core.$strict>>; referenceClosure: z.ZodArray; id: z.ZodString; kind: z.ZodOptional>; version: z.ZodOptional; digest: z.ZodOptional; }, z.core.$strict>; references: z.ZodArray; id: z.ZodString; kind: z.ZodOptional>; version: z.ZodOptional; digest: z.ZodOptional; }, z.core.$strict>>; }, z.core.$strict>>; attachmentContentReferences: z.ZodArray; id: z.ZodString; }, z.core.$strict>; index: z.ZodNumber; contentRef: z.ZodObject<{ algorithm: z.ZodLiteral<"sha256">; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>; }, z.core.$strict>>; referenceOnly: z.ZodObject<{ owner: z.ZodString; agentIds: z.ZodArray; externalOwnerRefs: z.ZodArray>; ownerQualifiedRefs: z.ZodArray>; }, z.core.$strict>; bundleChecksum: z.ZodString; }, z.core.$strict>; dryRun: z.ZodLiteral; }, z.core.$strict>; "hasna.todos.request.transfer_import_preview.v1": z.ZodObject<{ bundle: z.ZodObject<{ schema: z.ZodLiteral<"hasna.todos.transfer_bundle.v1">; version: z.ZodLiteral<"1">; bundleId: z.ZodString; createdAt: z.ZodISODateTime; source: z.ZodObject<{ authorityId: z.ZodString; }, z.core.$strict>; contractVersion: z.ZodLiteral<"1.0.0">; contractDigest: z.ZodString; manifestVersion: z.ZodLiteral<"1">; manifestDigest: z.ZodString; sections: z.ZodObject<{ projects: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; repositoryRef: z.ZodNullable>; archivedAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; task_lists: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; slug: z.ZodString; name: z.ZodString; description: z.ZodNullable; archivedAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; plans: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; taskListId: z.ZodNullable; name: z.ZodString; description: z.ZodNullable; status: z.ZodEnum<{ draft: "draft"; active: "active"; archived: "archived"; completed: "completed"; }>; objective: z.ZodString; taskIds: z.ZodArray; completedAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; tasks: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; title: z.ZodString; description: z.ZodNullable; status: z.ZodEnum<{ pending: "pending"; failed: "failed"; cancelled: "cancelled"; blocked: "blocked"; ready: "ready"; in_progress: "in_progress"; completed: "completed"; }>; priority: z.ZodEnum<{ low: "low"; medium: "medium"; high: "high"; critical: "critical"; }>; projectId: z.ZodNullable; taskListId: z.ZodNullable; planId: z.ZodNullable; parentTaskId: z.ZodNullable; assignedAgentId: z.ZodNullable; fingerprint: z.ZodNullable; tags: z.ZodArray; acceptanceCriteria: z.ZodArray; dueAt: z.ZodNullable; completedAt: z.ZodNullable; externalOwnerRefs: z.ZodArray>; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; comments: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; kind: z.ZodEnum<{ comment: "comment"; note: "note"; progress: "progress"; }>; content: z.ZodString; progressPercent: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; dependencies: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; activities: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; resourceRef: z.ZodObject<{ owner: z.ZodString; kind: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; action: z.ZodString; summary: z.ZodString; occurredAt: z.ZodISODateTime; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; verification_evidence: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; summary: z.ZodNullable; durationMs: z.ZodNullable; }, z.core.$strict>>; owner: z.ZodString; status: z.ZodEnum<{ failed: "failed"; passed: "passed"; inconclusive: "inconclusive"; }>; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; summary: z.ZodString; startedAt: z.ZodISODateTime; completedAt: z.ZodNullable; taskId: z.ZodNullable; runId: z.ZodNullable; verifierRef: z.ZodObject<{ owner: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; confidence: z.ZodNullable; contentRefs: z.ZodArray; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>>; commandReceipts: z.ZodArray; exitCode: z.ZodNullable; durationMs: z.ZodNullable; outputRefs: z.ZodArray; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>>; }, z.core.$strict>>; }, z.core.$strict>>; }, z.core.$strict>; task_files: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>; purpose: z.ZodEnum<{ attachment: "attachment"; evidence: "evidence"; deliverable: "deliverable"; }>; }, z.core.$strict>>; }, z.core.$strict>; runs: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; taskIds: z.ZodArray; planId: z.ZodNullable; agentId: z.ZodNullable; startedAt: z.ZodNullable; completedAt: z.ZodNullable; ledgerDigest: z.ZodString; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; run_events: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; run_commands: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; exitCode: z.ZodNullable; durationMs: z.ZodNullable; outputRefs: z.ZodArray; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>>; completedAt: z.ZodNullable; }, z.core.$strict>>; }, z.core.$strict>; run_files: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>; role: z.ZodEnum<{ output: "output"; input: "input"; evidence: "evidence"; }>; }, z.core.$strict>>; }, z.core.$strict>; run_artifacts: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>; verified: z.ZodBoolean; verificationEvidenceId: z.ZodNullable; }, z.core.$strict>>; }, z.core.$strict>; git_commits: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; objectId: z.ZodObject<{ algorithm: z.ZodEnum<{ sha256: "sha256"; sha1: "sha1"; }>; value: z.ZodString; }, z.core.$strict>; message: z.ZodString; authorRef: z.ZodObject<{ owner: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; committedAt: z.ZodISODateTime; changedFileDigests: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>; git_refs: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; type: z.ZodEnum<{ branch: "branch"; pull_request: "pull_request"; tag: "tag"; }>; name: z.ZodString; target: z.ZodObject<{ algorithm: z.ZodEnum<{ sha256: "sha256"; sha1: "sha1"; }>; value: z.ZodString; }, z.core.$strict>; published: z.ZodBoolean; providerObservedAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; traceability: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; gitRefIds: z.ZodArray; verificationEvidenceIds: z.ZodArray; projectionIds: z.ZodArray; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; task_to_pr_projections: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray>>; }, z.core.$strict>; saved_views: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; query: z.ZodObject<{ query: z.ZodString; filters: z.ZodObject<{ projectIds: z.ZodArray; taskListIds: z.ZodArray; planIds: z.ZodArray; agentIds: z.ZodArray; statuses: z.ZodArray>; priorities: z.ZodArray>; tags: z.ZodArray; changedAfter: z.ZodNullable; dueBefore: z.ZodNullable; }, z.core.$strict>; cursor: z.ZodNullable; limit: z.ZodNumber; }, z.core.$strict>; audience: z.ZodEnum<{ private: "private"; organization: "organization"; }>; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; task_templates: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; titlePattern: z.ZodString; descriptionPattern: z.ZodNullable; priority: z.ZodEnum<{ low: "low"; medium: "medium"; high: "high"; critical: "critical"; }>; tags: z.ZodArray; acceptanceCriteria: z.ZodArray; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; approvals: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; status: z.ZodEnum<{ pending: "pending"; rejected: "rejected"; expired: "expired"; approved: "approved"; }>; reason: z.ZodString; requestedBy: z.ZodObject<{ owner: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; decidedBy: z.ZodNullable>; requestedAt: z.ZodISODateTime; decidedAt: z.ZodNullable; expiresAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; deletion_records: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; reasonCode: z.ZodString; deletedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; }, z.core.$strict>; dependencyClosure: z.ZodArray; }, z.core.$strict>>; referenceClosure: z.ZodArray; id: z.ZodString; kind: z.ZodOptional>; version: z.ZodOptional; digest: z.ZodOptional; }, z.core.$strict>; references: z.ZodArray; id: z.ZodString; kind: z.ZodOptional>; version: z.ZodOptional; digest: z.ZodOptional; }, z.core.$strict>>; }, z.core.$strict>>; attachmentContentReferences: z.ZodArray; id: z.ZodString; }, z.core.$strict>; index: z.ZodNumber; contentRef: z.ZodObject<{ algorithm: z.ZodLiteral<"sha256">; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>; }, z.core.$strict>>; referenceOnly: z.ZodObject<{ owner: z.ZodString; agentIds: z.ZodArray; externalOwnerRefs: z.ZodArray>; ownerQualifiedRefs: z.ZodArray>; }, z.core.$strict>; bundleChecksum: z.ZodString; }, z.core.$strict>; targetAuthorityId: z.ZodString; dryRun: z.ZodLiteral; }, z.core.$strict>; "hasna.todos.request.transfer_import_execute.v1": z.ZodObject<{ bundle: z.ZodObject<{ schema: z.ZodLiteral<"hasna.todos.transfer_bundle.v1">; version: z.ZodLiteral<"1">; bundleId: z.ZodString; createdAt: z.ZodISODateTime; source: z.ZodObject<{ authorityId: z.ZodString; }, z.core.$strict>; contractVersion: z.ZodLiteral<"1.0.0">; contractDigest: z.ZodString; manifestVersion: z.ZodLiteral<"1">; manifestDigest: z.ZodString; sections: z.ZodObject<{ projects: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; repositoryRef: z.ZodNullable>; archivedAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; task_lists: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; slug: z.ZodString; name: z.ZodString; description: z.ZodNullable; archivedAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; plans: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; taskListId: z.ZodNullable; name: z.ZodString; description: z.ZodNullable; status: z.ZodEnum<{ draft: "draft"; active: "active"; archived: "archived"; completed: "completed"; }>; objective: z.ZodString; taskIds: z.ZodArray; completedAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; tasks: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; title: z.ZodString; description: z.ZodNullable; status: z.ZodEnum<{ pending: "pending"; failed: "failed"; cancelled: "cancelled"; blocked: "blocked"; ready: "ready"; in_progress: "in_progress"; completed: "completed"; }>; priority: z.ZodEnum<{ low: "low"; medium: "medium"; high: "high"; critical: "critical"; }>; projectId: z.ZodNullable; taskListId: z.ZodNullable; planId: z.ZodNullable; parentTaskId: z.ZodNullable; assignedAgentId: z.ZodNullable; fingerprint: z.ZodNullable; tags: z.ZodArray; acceptanceCriteria: z.ZodArray; dueAt: z.ZodNullable; completedAt: z.ZodNullable; externalOwnerRefs: z.ZodArray>; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; comments: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; kind: z.ZodEnum<{ comment: "comment"; note: "note"; progress: "progress"; }>; content: z.ZodString; progressPercent: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; dependencies: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; activities: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; resourceRef: z.ZodObject<{ owner: z.ZodString; kind: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; action: z.ZodString; summary: z.ZodString; occurredAt: z.ZodISODateTime; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; verification_evidence: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; summary: z.ZodNullable; durationMs: z.ZodNullable; }, z.core.$strict>>; owner: z.ZodString; status: z.ZodEnum<{ failed: "failed"; passed: "passed"; inconclusive: "inconclusive"; }>; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; summary: z.ZodString; startedAt: z.ZodISODateTime; completedAt: z.ZodNullable; taskId: z.ZodNullable; runId: z.ZodNullable; verifierRef: z.ZodObject<{ owner: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; confidence: z.ZodNullable; contentRefs: z.ZodArray; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>>; commandReceipts: z.ZodArray; exitCode: z.ZodNullable; durationMs: z.ZodNullable; outputRefs: z.ZodArray; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>>; }, z.core.$strict>>; }, z.core.$strict>>; }, z.core.$strict>; task_files: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>; purpose: z.ZodEnum<{ attachment: "attachment"; evidence: "evidence"; deliverable: "deliverable"; }>; }, z.core.$strict>>; }, z.core.$strict>; runs: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; taskIds: z.ZodArray; planId: z.ZodNullable; agentId: z.ZodNullable; startedAt: z.ZodNullable; completedAt: z.ZodNullable; ledgerDigest: z.ZodString; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; run_events: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; run_commands: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; exitCode: z.ZodNullable; durationMs: z.ZodNullable; outputRefs: z.ZodArray; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>>; completedAt: z.ZodNullable; }, z.core.$strict>>; }, z.core.$strict>; run_files: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>; role: z.ZodEnum<{ output: "output"; input: "input"; evidence: "evidence"; }>; }, z.core.$strict>>; }, z.core.$strict>; run_artifacts: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>; verified: z.ZodBoolean; verificationEvidenceId: z.ZodNullable; }, z.core.$strict>>; }, z.core.$strict>; git_commits: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; objectId: z.ZodObject<{ algorithm: z.ZodEnum<{ sha256: "sha256"; sha1: "sha1"; }>; value: z.ZodString; }, z.core.$strict>; message: z.ZodString; authorRef: z.ZodObject<{ owner: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; committedAt: z.ZodISODateTime; changedFileDigests: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>; git_refs: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; type: z.ZodEnum<{ branch: "branch"; pull_request: "pull_request"; tag: "tag"; }>; name: z.ZodString; target: z.ZodObject<{ algorithm: z.ZodEnum<{ sha256: "sha256"; sha1: "sha1"; }>; value: z.ZodString; }, z.core.$strict>; published: z.ZodBoolean; providerObservedAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; traceability: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; gitRefIds: z.ZodArray; verificationEvidenceIds: z.ZodArray; projectionIds: z.ZodArray; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; task_to_pr_projections: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray>>; }, z.core.$strict>; saved_views: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; query: z.ZodObject<{ query: z.ZodString; filters: z.ZodObject<{ projectIds: z.ZodArray; taskListIds: z.ZodArray; planIds: z.ZodArray; agentIds: z.ZodArray; statuses: z.ZodArray>; priorities: z.ZodArray>; tags: z.ZodArray; changedAfter: z.ZodNullable; dueBefore: z.ZodNullable; }, z.core.$strict>; cursor: z.ZodNullable; limit: z.ZodNumber; }, z.core.$strict>; audience: z.ZodEnum<{ private: "private"; organization: "organization"; }>; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; task_templates: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; titlePattern: z.ZodString; descriptionPattern: z.ZodNullable; priority: z.ZodEnum<{ low: "low"; medium: "medium"; high: "high"; critical: "critical"; }>; tags: z.ZodArray; acceptanceCriteria: z.ZodArray; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; approvals: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; status: z.ZodEnum<{ pending: "pending"; rejected: "rejected"; expired: "expired"; approved: "approved"; }>; reason: z.ZodString; requestedBy: z.ZodObject<{ owner: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; decidedBy: z.ZodNullable>; requestedAt: z.ZodISODateTime; decidedAt: z.ZodNullable; expiresAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; deletion_records: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; reasonCode: z.ZodString; deletedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; }, z.core.$strict>; dependencyClosure: z.ZodArray; }, z.core.$strict>>; referenceClosure: z.ZodArray; id: z.ZodString; kind: z.ZodOptional>; version: z.ZodOptional; digest: z.ZodOptional; }, z.core.$strict>; references: z.ZodArray; id: z.ZodString; kind: z.ZodOptional>; version: z.ZodOptional; digest: z.ZodOptional; }, z.core.$strict>>; }, z.core.$strict>>; attachmentContentReferences: z.ZodArray; id: z.ZodString; }, z.core.$strict>; index: z.ZodNumber; contentRef: z.ZodObject<{ algorithm: z.ZodLiteral<"sha256">; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>; }, z.core.$strict>>; referenceOnly: z.ZodObject<{ owner: z.ZodString; agentIds: z.ZodArray; externalOwnerRefs: z.ZodArray>; ownerQualifiedRefs: z.ZodArray>; }, z.core.$strict>; bundleChecksum: z.ZodString; }, z.core.$strict>; targetAuthorityId: z.ZodString; importPlanId: z.ZodString; importPlanDigest: z.ZodString; checkpoint: z.ZodNullable; sourceAuthorityId: z.ZodString; bundleId: z.ZodString; bundleChecksum: z.ZodString; importPlanId: z.ZodString; importPlanDigest: z.ZodString; contractDigest: z.ZodString; manifestDigest: z.ZodString; targetAuthorityId: z.ZodString; idempotencyKey: z.ZodString; sequence: z.ZodNumber; completedSections: z.ZodArray>; nextSection: z.ZodNullable>; state: z.ZodEnum<{ pending: "pending"; interrupted: "interrupted"; committed: "committed"; }>; digest: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>; "hasna.todos.request.approval_request.v1": z.ZodObject<{ resourceRef: z.ZodObject<{ owner: z.ZodString; kind: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; reason: z.ZodString; requestedBy: z.ZodObject<{ owner: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; expiresAt: z.ZodNullable; }, z.core.$strict>; "hasna.todos.request.approval_decision.v1": z.ZodObject<{ ref: z.ZodString; expectedVersion: z.ZodNumber; decidedBy: z.ZodObject<{ owner: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; reason: z.ZodString; }, z.core.$strict>; "hasna.todos.request.approval_expire.v1": z.ZodObject<{ ref: z.ZodString; expectedVersion: z.ZodNumber; expiredAt: z.ZodISODateTime; }, z.core.$strict>; "hasna.todos.request.task_template_create.v1": z.ZodObject<{ name: z.ZodString; description: z.ZodNullable; titlePattern: z.ZodString; descriptionPattern: z.ZodNullable; priority: z.ZodEnum<{ low: "low"; medium: "medium"; high: "high"; critical: "critical"; }>; tags: z.ZodArray; acceptanceCriteria: z.ZodArray; }, z.core.$strict>; "hasna.todos.request.task_template_update.v1": z.ZodObject<{ ref: z.ZodString; expectedVersion: z.ZodNumber; name: z.ZodOptional; description: z.ZodOptional>; titlePattern: z.ZodOptional; descriptionPattern: z.ZodOptional>; priority: z.ZodOptional>; tags: z.ZodOptional>; acceptanceCriteria: z.ZodOptional>; }, z.core.$strict>; "hasna.todos.request.task_template_instantiate.v1": z.ZodObject<{ ref: z.ZodString; projectId: z.ZodNullable; taskListId: z.ZodNullable; planId: z.ZodNullable; variables: z.ZodRecord; }, z.core.$strict>; "hasna.todos.request.report_generate.v1": z.ZodObject<{ kind: z.ZodEnum<{ traceability: "traceability"; task_summary: "task_summary"; plan_progress: "plan_progress"; run_evidence: "run_evidence"; }>; projectId: z.ZodNullable; taskListId: z.ZodNullable; planId: z.ZodNullable; taskId: z.ZodNullable; asOf: z.ZodISODateTime; }, z.core.$strict>; "hasna.todos.request.workspace_bootstrap.v1": z.ZodObject<{ projectSlug: z.ZodString; projectName: z.ZodString; repositoryRef: z.ZodObject<{ owner: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; createDefaultTaskList: z.ZodBoolean; }, z.core.$strict>; "hasna.todos.request.server_start.v1": z.ZodObject<{ interface: z.ZodEnum<{ workspace: "workspace"; loopback: "loopback"; }>; port: z.ZodNumber; expectedState: z.ZodLiteral<"stopped">; }, z.core.$strict>; "hasna.todos.request.database_backup.v1": z.ZodObject<{ label: z.ZodString; createdAt: z.ZodISODateTime; }, z.core.$strict>; "hasna.todos.request.database_restore.v1": z.ZodObject<{ backupContentRef: z.ZodObject<{ algorithm: z.ZodLiteral<"sha256">; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>; expectedCurrentDigest: z.ZodString; }, z.core.$strict>; "hasna.todos.request.database_check.v1": z.ZodObject<{ expectedSchemaVersion: z.ZodString; }, z.core.$strict>; "hasna.todos.request.database_compact.v1": z.ZodObject<{ expectedCurrentDigest: z.ZodString; }, z.core.$strict>; "hasna.todos.request.upgrade_validate.v1": z.ZodObject<{ targetVersion: z.ZodString; packageContentRef: z.ZodObject<{ algorithm: z.ZodLiteral<"sha256">; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>; expectedContractVersion: z.ZodLiteral<"1.0.0">; }, z.core.$strict>; "hasna.todos.request.upgrade_execute.v1": z.ZodObject<{ targetVersion: z.ZodString; packageContentRef: z.ZodObject<{ algorithm: z.ZodLiteral<"sha256">; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>; validationDigest: z.ZodString; }, z.core.$strict>; "hasna.todos.request.projection_rebuild.v1": z.ZodObject<{ taskRefs: z.ZodArray; expectedManifestDigest: z.ZodString; }, z.core.$strict>; }>; export declare const TODOS_RESPONSE_SCHEMAS: Readonly<{ "hasna.todos.response.service_status.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ status: z.ZodEnum<{ ready: "ready"; unavailable: "unavailable"; healthy: "healthy"; }>; authorityId: z.ZodString; contractVersion: z.ZodLiteral<"1.0.0">; manifestVersion: z.ZodLiteral<"1">; observedAt: z.ZodISODateTime; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.authority.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ issuedAt: z.ZodISODateTime; authority: z.ZodObject<{ id: z.ZodString; endpoint: z.ZodNullable; }, z.core.$strict>; contractVersion: z.ZodLiteral<"1.0.0">; contractDigest: z.ZodString; manifestVersion: z.ZodLiteral<"1">; manifestDigest: z.ZodString; capabilityIds: z.ZodArray; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.artifact_document.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ mediaType: z.ZodLiteral<"application/json">; digest: z.ZodString; document: z.ZodRecord; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.capability_page.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ items: z.ZodArray; operationIds: z.ZodArray; audiences: z.ZodArray>; }, z.core.$strict>>; count: z.ZodNumber; nextCursor: z.ZodNullable; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.capability.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ id: z.ZodString; availability: z.ZodEnum<{ core: "core"; gated: "gated"; }>; operationIds: z.ZodArray; audiences: z.ZodArray>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.task_page.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ items: z.ZodArray; title: z.ZodString; description: z.ZodNullable; status: z.ZodEnum<{ pending: "pending"; failed: "failed"; cancelled: "cancelled"; blocked: "blocked"; ready: "ready"; in_progress: "in_progress"; completed: "completed"; }>; priority: z.ZodEnum<{ low: "low"; medium: "medium"; high: "high"; critical: "critical"; }>; projectId: z.ZodNullable; taskListId: z.ZodNullable; planId: z.ZodNullable; parentTaskId: z.ZodNullable; assignedAgentId: z.ZodNullable; fingerprint: z.ZodNullable; tags: z.ZodArray; acceptanceCriteria: z.ZodArray; dueAt: z.ZodNullable; completedAt: z.ZodNullable; externalOwnerRefs: z.ZodArray>; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; count: z.ZodNumber; nextCursor: z.ZodNullable; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.task.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ shortId: z.ZodNullable; title: z.ZodString; description: z.ZodNullable; status: z.ZodEnum<{ pending: "pending"; failed: "failed"; cancelled: "cancelled"; blocked: "blocked"; ready: "ready"; in_progress: "in_progress"; completed: "completed"; }>; priority: z.ZodEnum<{ low: "low"; medium: "medium"; high: "high"; critical: "critical"; }>; projectId: z.ZodNullable; taskListId: z.ZodNullable; planId: z.ZodNullable; parentTaskId: z.ZodNullable; assignedAgentId: z.ZodNullable; fingerprint: z.ZodNullable; tags: z.ZodArray; acceptanceCriteria: z.ZodArray; dueAt: z.ZodNullable; completedAt: z.ZodNullable; externalOwnerRefs: z.ZodArray>; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.count.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ count: z.ZodNumber; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.exists_many.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ results: z.ZodArray>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.mutation.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ operationId: z.ZodString; resourceId: z.ZodString; changed: z.ZodBoolean; replayed: z.ZodBoolean; version: z.ZodNullable; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.batch.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ receipts: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.task_context.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ task: z.ZodObject<{ shortId: z.ZodNullable; title: z.ZodString; description: z.ZodNullable; status: z.ZodEnum<{ pending: "pending"; failed: "failed"; cancelled: "cancelled"; blocked: "blocked"; ready: "ready"; in_progress: "in_progress"; completed: "completed"; }>; priority: z.ZodEnum<{ low: "low"; medium: "medium"; high: "high"; critical: "critical"; }>; projectId: z.ZodNullable; taskListId: z.ZodNullable; planId: z.ZodNullable; parentTaskId: z.ZodNullable; assignedAgentId: z.ZodNullable; fingerprint: z.ZodNullable; tags: z.ZodArray; acceptanceCriteria: z.ZodArray; dueAt: z.ZodNullable; completedAt: z.ZodNullable; externalOwnerRefs: z.ZodArray>; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>; project: z.ZodNullable; repositoryRef: z.ZodNullable>; archivedAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; taskList: z.ZodNullable; slug: z.ZodString; name: z.ZodString; description: z.ZodNullable; archivedAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; plan: z.ZodNullable; taskListId: z.ZodNullable; name: z.ZodString; description: z.ZodNullable; status: z.ZodEnum<{ draft: "draft"; active: "active"; archived: "archived"; completed: "completed"; }>; objective: z.ZodString; taskIds: z.ZodArray; completedAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; comments: z.ZodArray; kind: z.ZodEnum<{ comment: "comment"; note: "note"; progress: "progress"; }>; content: z.ZodString; progressPercent: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; dependencies: z.ZodArray; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; verificationEvidence: z.ZodArray; runId: z.ZodNullable; verifierRef: z.ZodObject<{ owner: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; status: z.ZodEnum<{ failed: "failed"; passed: "passed"; inconclusive: "inconclusive"; }>; summary: z.ZodString; confidence: z.ZodNullable; commands: z.ZodArray>; checks: z.ZodArray; summary: z.ZodNullable; durationMs: z.ZodNullable; }, z.core.$strict>>; contentRefs: z.ZodArray; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>>; startedAt: z.ZodISODateTime; completedAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; files: z.ZodArray; contentRef: z.ZodObject<{ algorithm: z.ZodLiteral<"sha256">; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>; purpose: z.ZodEnum<{ attachment: "attachment"; evidence: "evidence"; deliverable: "deliverable"; }>; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; traceability: z.ZodNullable; gitRefIds: z.ZodArray; verificationEvidenceIds: z.ZodArray; projectionIds: z.ZodArray; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.activity_page.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ items: z.ZodArray; resourceRef: z.ZodObject<{ owner: z.ZodString; kind: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; action: z.ZodString; summary: z.ZodString; occurredAt: z.ZodISODateTime; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; count: z.ZodNumber; nextCursor: z.ZodNullable; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.comment_page.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ items: z.ZodArray; kind: z.ZodEnum<{ comment: "comment"; note: "note"; progress: "progress"; }>; content: z.ZodString; progressPercent: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; count: z.ZodNumber; nextCursor: z.ZodNullable; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.comment.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ taskId: z.ZodString; authorRef: z.ZodObject<{ owner: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; kind: z.ZodEnum<{ comment: "comment"; note: "note"; progress: "progress"; }>; content: z.ZodString; progressPercent: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.dependency_page.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ items: z.ZodArray; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; count: z.ZodNumber; nextCursor: z.ZodNullable; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.dependency.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ sourceTaskId: z.ZodString; targetTaskId: z.ZodString; kind: z.ZodEnum<{ requires: "requires"; blocks: "blocks"; }>; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.project_page.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ items: z.ZodArray; repositoryRef: z.ZodNullable>; archivedAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; count: z.ZodNumber; nextCursor: z.ZodNullable; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.project.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ slug: z.ZodString; name: z.ZodString; description: z.ZodNullable; repositoryRef: z.ZodNullable>; archivedAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.task_list_page.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ items: z.ZodArray; slug: z.ZodString; name: z.ZodString; description: z.ZodNullable; archivedAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; count: z.ZodNumber; nextCursor: z.ZodNullable; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.task_list.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ projectId: z.ZodNullable; slug: z.ZodString; name: z.ZodString; description: z.ZodNullable; archivedAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.plan_page.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ items: z.ZodArray; taskListId: z.ZodNullable; name: z.ZodString; description: z.ZodNullable; status: z.ZodEnum<{ draft: "draft"; active: "active"; archived: "archived"; completed: "completed"; }>; objective: z.ZodString; taskIds: z.ZodArray; completedAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; count: z.ZodNumber; nextCursor: z.ZodNullable; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.plan.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ slug: z.ZodString; projectId: z.ZodNullable; taskListId: z.ZodNullable; name: z.ZodString; description: z.ZodNullable; status: z.ZodEnum<{ draft: "draft"; active: "active"; archived: "archived"; completed: "completed"; }>; objective: z.ZodString; taskIds: z.ZodArray; completedAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.agent_page.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ items: z.ZodArray; roles: z.ZodArray>; activeProjectId: z.ZodNullable; activeTaskListId: z.ZodNullable; lastHeartbeatAt: z.ZodNullable; releasedAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; count: z.ZodNumber; nextCursor: z.ZodNullable; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.agent.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ displayName: z.ZodString; status: z.ZodEnum<{ active: "active"; inactive: "inactive"; released: "released"; }>; roles: z.ZodArray>; activeProjectId: z.ZodNullable; activeTaskListId: z.ZodNullable; lastHeartbeatAt: z.ZodNullable; releasedAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.stats.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ asOfDate: z.ZodISODate; tasks: z.ZodObject<{ total: z.ZodNumber; pending: z.ZodNumber; ready: z.ZodNumber; inProgress: z.ZodNumber; blocked: z.ZodNumber; completed: z.ZodNumber; failed: z.ZodNumber; cancelled: z.ZodNumber; }, z.core.$strict>; projects: z.ZodNumber; plans: z.ZodNumber; activeAgents: z.ZodNumber; activeRuns: z.ZodNumber; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.saved_view_page.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ items: z.ZodArray; query: z.ZodObject<{ query: z.ZodString; filters: z.ZodObject<{ projectIds: z.ZodArray; taskListIds: z.ZodArray; planIds: z.ZodArray; agentIds: z.ZodArray; statuses: z.ZodArray>; priorities: z.ZodArray>; tags: z.ZodArray; changedAfter: z.ZodNullable; dueBefore: z.ZodNullable; }, z.core.$strict>; cursor: z.ZodNullable; limit: z.ZodNumber; }, z.core.$strict>; audience: z.ZodEnum<{ private: "private"; organization: "organization"; }>; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; count: z.ZodNumber; nextCursor: z.ZodNullable; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.saved_view.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ name: z.ZodString; description: z.ZodNullable; query: z.ZodObject<{ query: z.ZodString; filters: z.ZodObject<{ projectIds: z.ZodArray; taskListIds: z.ZodArray; planIds: z.ZodArray; agentIds: z.ZodArray; statuses: z.ZodArray>; priorities: z.ZodArray>; tags: z.ZodArray; changedAfter: z.ZodNullable; dueBefore: z.ZodNullable; }, z.core.$strict>; cursor: z.ZodNullable; limit: z.ZodNumber; }, z.core.$strict>; audience: z.ZodEnum<{ private: "private"; organization: "organization"; }>; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.verification_page.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ items: z.ZodArray; runId: z.ZodNullable; verifierRef: z.ZodObject<{ owner: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; status: z.ZodEnum<{ failed: "failed"; passed: "passed"; inconclusive: "inconclusive"; }>; summary: z.ZodString; confidence: z.ZodNullable; commands: z.ZodArray>; checks: z.ZodArray; summary: z.ZodNullable; durationMs: z.ZodNullable; }, z.core.$strict>>; contentRefs: z.ZodArray; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>>; startedAt: z.ZodISODateTime; completedAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; count: z.ZodNumber; nextCursor: z.ZodNullable; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.verification.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ taskId: z.ZodNullable; runId: z.ZodNullable; verifierRef: z.ZodObject<{ owner: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; status: z.ZodEnum<{ failed: "failed"; passed: "passed"; inconclusive: "inconclusive"; }>; summary: z.ZodString; confidence: z.ZodNullable; commands: z.ZodArray>; checks: z.ZodArray; summary: z.ZodNullable; durationMs: z.ZodNullable; }, z.core.$strict>>; contentRefs: z.ZodArray; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>>; startedAt: z.ZodISODateTime; completedAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.verification_export.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ records: z.ZodArray; runId: z.ZodNullable; verifierRef: z.ZodObject<{ owner: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; status: z.ZodEnum<{ failed: "failed"; passed: "passed"; inconclusive: "inconclusive"; }>; summary: z.ZodString; confidence: z.ZodNullable; commands: z.ZodArray>; checks: z.ZodArray; summary: z.ZodNullable; durationMs: z.ZodNullable; }, z.core.$strict>>; contentRefs: z.ZodArray; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>>; startedAt: z.ZodISODateTime; completedAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; digest: z.ZodString; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.task_file_page.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ items: z.ZodArray; contentRef: z.ZodObject<{ algorithm: z.ZodLiteral<"sha256">; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>; purpose: z.ZodEnum<{ attachment: "attachment"; evidence: "evidence"; deliverable: "deliverable"; }>; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; count: z.ZodNumber; nextCursor: z.ZodNullable; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.task_file.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ taskId: z.ZodString; logicalName: z.ZodString; relativePath: z.ZodNullable; contentRef: z.ZodObject<{ algorithm: z.ZodLiteral<"sha256">; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>; purpose: z.ZodEnum<{ attachment: "attachment"; evidence: "evidence"; deliverable: "deliverable"; }>; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.run_page.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ items: z.ZodArray; taskIds: z.ZodArray; planId: z.ZodNullable; agentId: z.ZodNullable; startedAt: z.ZodNullable; completedAt: z.ZodNullable; ledgerDigest: z.ZodString; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; count: z.ZodNumber; nextCursor: z.ZodNullable; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.run.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ objective: z.ZodString; status: z.ZodEnum<{ running: "running"; succeeded: "succeeded"; failed: "failed"; cancelled: "cancelled"; queued: "queued"; }>; taskIds: z.ZodArray; planId: z.ZodNullable; agentId: z.ZodNullable; startedAt: z.ZodNullable; completedAt: z.ZodNullable; ledgerDigest: z.ZodString; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.run_ledger.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ run: z.ZodObject<{ objective: z.ZodString; status: z.ZodEnum<{ running: "running"; succeeded: "succeeded"; failed: "failed"; cancelled: "cancelled"; queued: "queued"; }>; taskIds: z.ZodArray; planId: z.ZodNullable; agentId: z.ZodNullable; startedAt: z.ZodNullable; completedAt: z.ZodNullable; ledgerDigest: z.ZodString; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>; events: z.ZodArray; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; commands: z.ZodArray; durationMs: z.ZodNullable; outputRefs: z.ZodArray; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>>; completedAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; files: z.ZodArray; contentRef: z.ZodObject<{ algorithm: z.ZodLiteral<"sha256">; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>; role: z.ZodEnum<{ output: "output"; input: "input"; evidence: "evidence"; }>; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; artifacts: z.ZodArray; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>; verified: z.ZodBoolean; verificationEvidenceId: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; digest: z.ZodString; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.run_event_page.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ items: z.ZodArray; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; count: z.ZodNumber; nextCursor: z.ZodNullable; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.run_event.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ runId: z.ZodString; sequence: z.ZodNumber; type: z.ZodString; summary: z.ZodString; occurredAt: z.ZodISODateTime; evidenceIds: z.ZodArray; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.run_command_page.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ items: z.ZodArray; durationMs: z.ZodNullable; outputRefs: z.ZodArray; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>>; completedAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; count: z.ZodNumber; nextCursor: z.ZodNullable; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.run_command.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ runId: z.ZodString; sequence: z.ZodNumber; command: z.ZodString; exitCode: z.ZodNullable; durationMs: z.ZodNullable; outputRefs: z.ZodArray; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>>; completedAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.run_file_page.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ items: z.ZodArray; contentRef: z.ZodObject<{ algorithm: z.ZodLiteral<"sha256">; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>; role: z.ZodEnum<{ output: "output"; input: "input"; evidence: "evidence"; }>; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; count: z.ZodNumber; nextCursor: z.ZodNullable; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.run_file.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ runId: z.ZodString; logicalName: z.ZodString; relativePath: z.ZodNullable; contentRef: z.ZodObject<{ algorithm: z.ZodLiteral<"sha256">; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>; role: z.ZodEnum<{ output: "output"; input: "input"; evidence: "evidence"; }>; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.run_artifact_page.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ items: z.ZodArray; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>; verified: z.ZodBoolean; verificationEvidenceId: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; count: z.ZodNumber; nextCursor: z.ZodNullable; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.run_artifact.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ runId: z.ZodString; name: z.ZodString; kind: z.ZodString; contentRef: z.ZodObject<{ algorithm: z.ZodLiteral<"sha256">; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>; verified: z.ZodBoolean; verificationEvidenceId: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.git_commit_page.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ items: z.ZodArray; objectId: z.ZodObject<{ algorithm: z.ZodEnum<{ sha256: "sha256"; sha1: "sha1"; }>; value: z.ZodString; }, z.core.$strict>; message: z.ZodString; authorRef: z.ZodObject<{ owner: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; committedAt: z.ZodISODateTime; changedFiles: z.ZodArray; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; count: z.ZodNumber; nextCursor: z.ZodNullable; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.git_commit.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ repositoryRef: z.ZodObject<{ owner: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; objectId: z.ZodObject<{ algorithm: z.ZodEnum<{ sha256: "sha256"; sha1: "sha1"; }>; value: z.ZodString; }, z.core.$strict>; message: z.ZodString; authorRef: z.ZodObject<{ owner: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; committedAt: z.ZodISODateTime; changedFiles: z.ZodArray; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.git_ref_page.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ items: z.ZodArray; type: z.ZodEnum<{ branch: "branch"; pull_request: "pull_request"; tag: "tag"; }>; name: z.ZodString; target: z.ZodObject<{ algorithm: z.ZodEnum<{ sha256: "sha256"; sha1: "sha1"; }>; value: z.ZodString; }, z.core.$strict>; published: z.ZodBoolean; providerObservedAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; count: z.ZodNumber; nextCursor: z.ZodNullable; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.git_ref.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ repositoryRef: z.ZodObject<{ owner: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; type: z.ZodEnum<{ branch: "branch"; pull_request: "pull_request"; tag: "tag"; }>; name: z.ZodString; target: z.ZodObject<{ algorithm: z.ZodEnum<{ sha256: "sha256"; sha1: "sha1"; }>; value: z.ZodString; }, z.core.$strict>; published: z.ZodBoolean; providerObservedAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.traceability.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ taskId: z.ZodString; commitIds: z.ZodArray; gitRefIds: z.ZodArray; verificationEvidenceIds: z.ZodArray; projectionIds: z.ZodArray; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.projection_page.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ items: z.ZodArray>>; count: z.ZodNumber; nextCursor: z.ZodNullable; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.projection.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodType>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.transfer_bundle.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ schema: z.ZodLiteral<"hasna.todos.transfer_bundle.v1">; version: z.ZodLiteral<"1">; bundleId: z.ZodString; createdAt: z.ZodISODateTime; source: z.ZodObject<{ authorityId: z.ZodString; }, z.core.$strict>; contractVersion: z.ZodLiteral<"1.0.0">; contractDigest: z.ZodString; manifestVersion: z.ZodLiteral<"1">; manifestDigest: z.ZodString; sections: z.ZodObject<{ projects: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; repositoryRef: z.ZodNullable>; archivedAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; task_lists: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; slug: z.ZodString; name: z.ZodString; description: z.ZodNullable; archivedAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; plans: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; taskListId: z.ZodNullable; name: z.ZodString; description: z.ZodNullable; status: z.ZodEnum<{ draft: "draft"; active: "active"; archived: "archived"; completed: "completed"; }>; objective: z.ZodString; taskIds: z.ZodArray; completedAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; tasks: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; title: z.ZodString; description: z.ZodNullable; status: z.ZodEnum<{ pending: "pending"; failed: "failed"; cancelled: "cancelled"; blocked: "blocked"; ready: "ready"; in_progress: "in_progress"; completed: "completed"; }>; priority: z.ZodEnum<{ low: "low"; medium: "medium"; high: "high"; critical: "critical"; }>; projectId: z.ZodNullable; taskListId: z.ZodNullable; planId: z.ZodNullable; parentTaskId: z.ZodNullable; assignedAgentId: z.ZodNullable; fingerprint: z.ZodNullable; tags: z.ZodArray; acceptanceCriteria: z.ZodArray; dueAt: z.ZodNullable; completedAt: z.ZodNullable; externalOwnerRefs: z.ZodArray>; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; comments: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; kind: z.ZodEnum<{ comment: "comment"; note: "note"; progress: "progress"; }>; content: z.ZodString; progressPercent: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; dependencies: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; activities: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; resourceRef: z.ZodObject<{ owner: z.ZodString; kind: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; action: z.ZodString; summary: z.ZodString; occurredAt: z.ZodISODateTime; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; verification_evidence: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; summary: z.ZodNullable; durationMs: z.ZodNullable; }, z.core.$strict>>; owner: z.ZodString; status: z.ZodEnum<{ failed: "failed"; passed: "passed"; inconclusive: "inconclusive"; }>; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; summary: z.ZodString; startedAt: z.ZodISODateTime; completedAt: z.ZodNullable; taskId: z.ZodNullable; runId: z.ZodNullable; verifierRef: z.ZodObject<{ owner: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; confidence: z.ZodNullable; contentRefs: z.ZodArray; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>>; commandReceipts: z.ZodArray; exitCode: z.ZodNullable; durationMs: z.ZodNullable; outputRefs: z.ZodArray; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>>; }, z.core.$strict>>; }, z.core.$strict>>; }, z.core.$strict>; task_files: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>; purpose: z.ZodEnum<{ attachment: "attachment"; evidence: "evidence"; deliverable: "deliverable"; }>; }, z.core.$strict>>; }, z.core.$strict>; runs: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; taskIds: z.ZodArray; planId: z.ZodNullable; agentId: z.ZodNullable; startedAt: z.ZodNullable; completedAt: z.ZodNullable; ledgerDigest: z.ZodString; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; run_events: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; run_commands: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; exitCode: z.ZodNullable; durationMs: z.ZodNullable; outputRefs: z.ZodArray; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>>; completedAt: z.ZodNullable; }, z.core.$strict>>; }, z.core.$strict>; run_files: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>; role: z.ZodEnum<{ output: "output"; input: "input"; evidence: "evidence"; }>; }, z.core.$strict>>; }, z.core.$strict>; run_artifacts: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>; verified: z.ZodBoolean; verificationEvidenceId: z.ZodNullable; }, z.core.$strict>>; }, z.core.$strict>; git_commits: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; objectId: z.ZodObject<{ algorithm: z.ZodEnum<{ sha256: "sha256"; sha1: "sha1"; }>; value: z.ZodString; }, z.core.$strict>; message: z.ZodString; authorRef: z.ZodObject<{ owner: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; committedAt: z.ZodISODateTime; changedFileDigests: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>; git_refs: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; type: z.ZodEnum<{ branch: "branch"; pull_request: "pull_request"; tag: "tag"; }>; name: z.ZodString; target: z.ZodObject<{ algorithm: z.ZodEnum<{ sha256: "sha256"; sha1: "sha1"; }>; value: z.ZodString; }, z.core.$strict>; published: z.ZodBoolean; providerObservedAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; traceability: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; gitRefIds: z.ZodArray; verificationEvidenceIds: z.ZodArray; projectionIds: z.ZodArray; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; task_to_pr_projections: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray>>; }, z.core.$strict>; saved_views: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; query: z.ZodObject<{ query: z.ZodString; filters: z.ZodObject<{ projectIds: z.ZodArray; taskListIds: z.ZodArray; planIds: z.ZodArray; agentIds: z.ZodArray; statuses: z.ZodArray>; priorities: z.ZodArray>; tags: z.ZodArray; changedAfter: z.ZodNullable; dueBefore: z.ZodNullable; }, z.core.$strict>; cursor: z.ZodNullable; limit: z.ZodNumber; }, z.core.$strict>; audience: z.ZodEnum<{ private: "private"; organization: "organization"; }>; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; task_templates: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; titlePattern: z.ZodString; descriptionPattern: z.ZodNullable; priority: z.ZodEnum<{ low: "low"; medium: "medium"; high: "high"; critical: "critical"; }>; tags: z.ZodArray; acceptanceCriteria: z.ZodArray; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; approvals: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; status: z.ZodEnum<{ pending: "pending"; rejected: "rejected"; expired: "expired"; approved: "approved"; }>; reason: z.ZodString; requestedBy: z.ZodObject<{ owner: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; decidedBy: z.ZodNullable>; requestedAt: z.ZodISODateTime; decidedAt: z.ZodNullable; expiresAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; deletion_records: z.ZodObject<{ owner: z.ZodString; count: z.ZodNumber; digest: z.ZodString; records: z.ZodArray; reasonCode: z.ZodString; deletedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; }, z.core.$strict>; dependencyClosure: z.ZodArray; }, z.core.$strict>>; referenceClosure: z.ZodArray; id: z.ZodString; kind: z.ZodOptional>; version: z.ZodOptional; digest: z.ZodOptional; }, z.core.$strict>; references: z.ZodArray; id: z.ZodString; kind: z.ZodOptional>; version: z.ZodOptional; digest: z.ZodOptional; }, z.core.$strict>>; }, z.core.$strict>>; attachmentContentReferences: z.ZodArray; id: z.ZodString; }, z.core.$strict>; index: z.ZodNumber; contentRef: z.ZodObject<{ algorithm: z.ZodLiteral<"sha256">; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>; }, z.core.$strict>>; referenceOnly: z.ZodObject<{ owner: z.ZodString; agentIds: z.ZodArray; externalOwnerRefs: z.ZodArray>; ownerQualifiedRefs: z.ZodArray>; }, z.core.$strict>; bundleChecksum: z.ZodString; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.transfer_validation.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ schema: z.ZodLiteral<"hasna.todos.transfer_validation.v1">; dryRun: z.ZodLiteral; valid: z.ZodBoolean; issues: z.ZodArray; path: z.ZodString; message: z.ZodString; repairable: z.ZodBoolean; }, z.core.$strict>>; conflicts: z.ZodArray>; repairIssues: z.ZodArray; resourceId: z.ZodNullable; action: z.ZodEnum<{ supply_reference: "supply_reference"; remove_cycle: "remove_cycle"; regenerate_digest: "regenerate_digest"; regenerate_closure: "regenerate_closure"; regenerate_reference_closure: "regenerate_reference_closure"; regenerate_classification: "regenerate_classification"; }>; reason: z.ZodString; }, z.core.$strict>>; verifiedCounts: z.ZodRecord; verifiedDigests: z.ZodRecord; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.transfer_import_preview.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ schema: z.ZodLiteral<"hasna.todos.transfer_import_preview.v1">; dryRun: z.ZodLiteral; sourceAuthorityId: z.ZodString; bundleId: z.ZodString; bundleChecksum: z.ZodString; contractDigest: z.ZodString; manifestDigest: z.ZodString; targetAuthorityId: z.ZodString; importPlanId: z.ZodString; valid: z.ZodBoolean; conflicts: z.ZodArray>; repairIssues: z.ZodArray; resourceId: z.ZodNullable; action: z.ZodEnum<{ supply_reference: "supply_reference"; remove_cycle: "remove_cycle"; regenerate_digest: "regenerate_digest"; regenerate_closure: "regenerate_closure"; regenerate_reference_closure: "regenerate_reference_closure"; regenerate_classification: "regenerate_classification"; }>; reason: z.ZodString; }, z.core.$strict>>; sectionCounts: z.ZodRecord; importPlanDigest: z.ZodString; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.migration_receipt_page.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ items: z.ZodArray; id: z.ZodString; receiptSequence: z.ZodNumber; previousReceiptDigest: z.ZodNullable; sourceAuthorityId: z.ZodString; targetAuthorityId: z.ZodString; bundleId: z.ZodString; bundleChecksum: z.ZodString; importPlanId: z.ZodString; importPlanDigest: z.ZodString; contractDigest: z.ZodString; manifestDigest: z.ZodString; idempotencyKey: z.ZodString; status: z.ZodLiteral<"committed">; importedCounts: z.ZodRecord; checkpoint: z.ZodObject<{ schema: z.ZodLiteral<"hasna.todos.transfer_checkpoint.v1">; sourceAuthorityId: z.ZodString; bundleId: z.ZodString; bundleChecksum: z.ZodString; importPlanId: z.ZodString; importPlanDigest: z.ZodString; contractDigest: z.ZodString; manifestDigest: z.ZodString; targetAuthorityId: z.ZodString; idempotencyKey: z.ZodString; sequence: z.ZodNumber; completedSections: z.ZodArray>; nextSection: z.ZodNullable>; state: z.ZodEnum<{ pending: "pending"; interrupted: "interrupted"; committed: "committed"; }>; digest: z.ZodString; }, z.core.$strict>; committedAt: z.ZodISODateTime; receiptDigest: z.ZodString; }, z.core.$strict>>; count: z.ZodNumber; nextCursor: z.ZodNullable; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.migration_receipt.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ schema: z.ZodLiteral<"hasna.todos.migration_receipt.v1">; id: z.ZodString; receiptSequence: z.ZodNumber; previousReceiptDigest: z.ZodNullable; sourceAuthorityId: z.ZodString; targetAuthorityId: z.ZodString; bundleId: z.ZodString; bundleChecksum: z.ZodString; importPlanId: z.ZodString; importPlanDigest: z.ZodString; contractDigest: z.ZodString; manifestDigest: z.ZodString; idempotencyKey: z.ZodString; status: z.ZodLiteral<"committed">; importedCounts: z.ZodRecord; checkpoint: z.ZodObject<{ schema: z.ZodLiteral<"hasna.todos.transfer_checkpoint.v1">; sourceAuthorityId: z.ZodString; bundleId: z.ZodString; bundleChecksum: z.ZodString; importPlanId: z.ZodString; importPlanDigest: z.ZodString; contractDigest: z.ZodString; manifestDigest: z.ZodString; targetAuthorityId: z.ZodString; idempotencyKey: z.ZodString; sequence: z.ZodNumber; completedSections: z.ZodArray>; nextSection: z.ZodNullable>; state: z.ZodEnum<{ pending: "pending"; interrupted: "interrupted"; committed: "committed"; }>; digest: z.ZodString; }, z.core.$strict>; committedAt: z.ZodISODateTime; receiptDigest: z.ZodString; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.deletion_record_page.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ items: z.ZodArray; reasonCode: z.ZodString; deletedAt: z.ZodISODateTime; }, z.core.$strict>>; count: z.ZodNumber; nextCursor: z.ZodNullable; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.deletion_record.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ id: z.ZodString; owner: z.ZodString; entityKind: z.ZodString; entityIdDigest: z.ZodString; priorRecordDigest: z.ZodString; tombstoneVersion: z.ZodNumber; redaction: z.ZodLiteral<"full">; reasonCode: z.ZodString; deletedAt: z.ZodISODateTime; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.approval_page.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ items: z.ZodArray; status: z.ZodEnum<{ pending: "pending"; rejected: "rejected"; expired: "expired"; approved: "approved"; }>; reason: z.ZodString; requestedBy: z.ZodObject<{ owner: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; decidedBy: z.ZodNullable>; requestedAt: z.ZodISODateTime; decidedAt: z.ZodNullable; expiresAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; count: z.ZodNumber; nextCursor: z.ZodNullable; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.approval.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ resourceRef: z.ZodObject<{ owner: z.ZodString; kind: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; status: z.ZodEnum<{ pending: "pending"; rejected: "rejected"; expired: "expired"; approved: "approved"; }>; reason: z.ZodString; requestedBy: z.ZodObject<{ owner: z.ZodString; id: z.ZodString; digest: z.ZodString; }, z.core.$strict>; decidedBy: z.ZodNullable>; requestedAt: z.ZodISODateTime; decidedAt: z.ZodNullable; expiresAt: z.ZodNullable; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.task_template_page.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ items: z.ZodArray; titlePattern: z.ZodString; descriptionPattern: z.ZodNullable; priority: z.ZodEnum<{ low: "low"; medium: "medium"; high: "high"; critical: "critical"; }>; tags: z.ZodArray; acceptanceCriteria: z.ZodArray; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; count: z.ZodNumber; nextCursor: z.ZodNullable; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.task_template.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ name: z.ZodString; description: z.ZodNullable; titlePattern: z.ZodString; descriptionPattern: z.ZodNullable; priority: z.ZodEnum<{ low: "low"; medium: "medium"; high: "high"; critical: "critical"; }>; tags: z.ZodArray; acceptanceCriteria: z.ZodArray; id: z.ZodString; owner: z.ZodString; version: z.ZodNumber; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.report.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ reportId: z.ZodString; kind: z.ZodEnum<{ traceability: "traceability"; task_summary: "task_summary"; plan_progress: "plan_progress"; run_evidence: "run_evidence"; }>; contentRef: z.ZodObject<{ algorithm: z.ZodLiteral<"sha256">; digest: z.ZodString; mediaType: z.ZodString; byteLength: z.ZodNumber; }, z.core.$strict>; generatedAt: z.ZodISODateTime; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; "hasna.todos.response.server_start.v1": z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; data: z.ZodObject<{ authorityId: z.ZodString; interface: z.ZodEnum<{ workspace: "workspace"; loopback: "loopback"; }>; port: z.ZodNumber; state: z.ZodLiteral<"started">; startedAt: z.ZodISODateTime; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; requestId: z.ZodString; }, z.core.$strict>]>; }>; export declare const TODOS_COMMON_SCHEMAS: Readonly<{ "hasna.todos.error.v1": z.ZodObject<{ code: z.ZodEnum<{ TODOS_INVALID_INPUT: "TODOS_INVALID_INPUT"; TODOS_AUTHENTICATION_FAILED: "TODOS_AUTHENTICATION_FAILED"; TODOS_SCOPE_REQUIRED: "TODOS_SCOPE_REQUIRED"; TODOS_TENANT_MISMATCH: "TODOS_TENANT_MISMATCH"; TODOS_ACCESS_DENIED: "TODOS_ACCESS_DENIED"; TODOS_NOT_FOUND: "TODOS_NOT_FOUND"; TODOS_AMBIGUOUS_REFERENCE: "TODOS_AMBIGUOUS_REFERENCE"; TODOS_VERSION_CONFLICT: "TODOS_VERSION_CONFLICT"; TODOS_RESOURCE_CONFLICT: "TODOS_RESOURCE_CONFLICT"; TODOS_LOCK_CONFLICT: "TODOS_LOCK_CONFLICT"; TODOS_PRECONDITION_FAILED: "TODOS_PRECONDITION_FAILED"; TODOS_APPROVAL_REQUIRED: "TODOS_APPROVAL_REQUIRED"; TODOS_CAPABILITY_REQUIRED: "TODOS_CAPABILITY_REQUIRED"; TODOS_OPERATION_UNSUPPORTED: "TODOS_OPERATION_UNSUPPORTED"; TODOS_IDEMPOTENCY_REQUIRED: "TODOS_IDEMPOTENCY_REQUIRED"; TODOS_IDEMPOTENCY_CONFLICT: "TODOS_IDEMPOTENCY_CONFLICT"; TODOS_RATE_LIMITED: "TODOS_RATE_LIMITED"; TODOS_QUOTA_EXCEEDED: "TODOS_QUOTA_EXCEEDED"; TODOS_UPGRADE_REQUIRED: "TODOS_UPGRADE_REQUIRED"; TODOS_AUTHORITY_MISMATCH: "TODOS_AUTHORITY_MISMATCH"; TODOS_AUTHORITY_UNAVAILABLE: "TODOS_AUTHORITY_UNAVAILABLE"; TODOS_INTERNAL: "TODOS_INTERNAL"; TODOS_TRANSFER_INVALID: "TODOS_TRANSFER_INVALID"; TODOS_TRANSFER_CHECKSUM_MISMATCH: "TODOS_TRANSFER_CHECKSUM_MISMATCH"; TODOS_TRANSFER_REFERENCE_MISSING: "TODOS_TRANSFER_REFERENCE_MISSING"; TODOS_PROJECTION_PREDECESSOR_CONFLICT: "TODOS_PROJECTION_PREDECESSOR_CONFLICT"; }>; message: z.ZodString; retryable: z.ZodBoolean; details: z.ZodArray; reason: z.ZodString; expected: z.ZodOptional>; actual: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; "hasna.todos.mutation_receipt.v1": z.ZodObject<{ operationId: z.ZodString; resourceId: z.ZodString; changed: z.ZodBoolean; replayed: z.ZodBoolean; version: z.ZodNullable; }, z.core.$strict>; }>;