import * as z from 'zod/v4'; declare const EventActionEntrySchema: z.ZodObject<{ id: z.ZodString; clientId: z.ZodString; clientType: z.ZodEnum<{ user: "user"; system: "system"; }>; createdAt: z.ZodString; operation: z.ZodEnum<{ "event.actions.notify.request": "event.actions.notify.request"; "event.actions.declare.request": "event.actions.declare.request"; "event.actions.register.request": "event.actions.register.request"; "event.actions.reject.request": "event.actions.reject.request"; "event.actions.validate.request": "event.actions.validate.request"; "event.actions.edit.request": "event.actions.edit.request"; "event.actions.assign.request": "event.actions.assign.request"; "event.actions.unassign.request": "event.actions.unassign.request"; "event.actions.read.request": "event.actions.read.request"; "event.actions.archive.request": "event.actions.archive.request"; "event.actions.reinstate.request": "event.actions.reinstate.request"; "event.actions.print_certificate.request": "event.actions.print_certificate.request"; "event.actions.correction.request.request": "event.actions.correction.request.request"; "event.actions.correction.approve.request": "event.actions.correction.approve.request"; "event.actions.correction.reject.request": "event.actions.correction.reject.request"; "event.actions.mark_as_duplicate.request": "event.actions.mark_as_duplicate.request"; "event.actions.mark_as_not_duplicate.request": "event.actions.mark_as_not_duplicate.request"; }>; requestData: z.ZodObject<{ eventId: z.ZodString; actionType: z.ZodString; eventType: z.ZodString; trackingId: z.ZodString; transactionId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; /** Write-side schema for the user audit record mutation (no DB-generated fields). */ export declare const UserAuditRecordInput: z.ZodDiscriminatedUnion<[z.ZodObject<{ operation: z.ZodLiteral<"user.create_user">; requestData: z.ZodObject<{ subjectId: z.ZodString; role: z.ZodString; primaryOfficeId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ operation: z.ZodEnum<{ "user.deactivate": "user.deactivate"; "user.reactivate": "user.reactivate"; }>; requestData: z.ZodObject<{ subjectId: z.ZodString; reason: z.ZodString; comment: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ operation: z.ZodEnum<{ "user.edit_user": "user.edit_user"; "user.logged_in": "user.logged_in"; "user.logged_out": "user.logged_out"; "user.password_changed": "user.password_changed"; "user.password_reset": "user.password_reset"; "user.password_reset_by_admin": "user.password_reset_by_admin"; "user.resend_invite": "user.resend_invite"; "user.username_reminder": "user.username_reminder"; "user.username_reminder_by_admin": "user.username_reminder_by_admin"; }>; requestData: z.ZodObject<{ subjectId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ operation: z.ZodLiteral<"user.email_address_changed">; requestData: z.ZodObject<{ subjectId: z.ZodString; }, z.core.$strip>; responseSummary: z.ZodObject<{ email: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ operation: z.ZodLiteral<"user.phone_number_changed">; requestData: z.ZodObject<{ subjectId: z.ZodString; }, z.core.$strip>; responseSummary: z.ZodObject<{ phoneNumber: z.ZodString; }, z.core.$strip>; }, z.core.$strip>], "operation">; export type UserAuditLog = z.infer; export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ id: z.ZodString; clientId: z.ZodString; clientType: z.ZodEnum<{ user: "user"; system: "system"; }>; createdAt: z.ZodString; operation: z.ZodLiteral<"event.create">; requestData: z.ZodObject<{ transactionId: z.ZodString; type: z.ZodString; createdAtLocation: z.ZodNullable; }, z.core.$strip>; responseSummary: z.ZodObject<{ eventId: z.ZodString; trackingId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; clientId: z.ZodString; clientType: z.ZodEnum<{ user: "user"; system: "system"; }>; createdAt: z.ZodString; operation: z.ZodLiteral<"event.get">; requestData: z.ZodObject<{ eventId: z.ZodString; }, z.core.$strip>; responseSummary: z.ZodObject<{ eventType: z.ZodString; trackingId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; clientId: z.ZodString; createdAt: z.ZodString; operation: z.ZodLiteral<"event.search">; clientType: z.ZodLiteral<"system">; requestData: z.ZodObject<{ query: z.ZodNullable>; limit: z.ZodNullable; offset: z.ZodNullable; }, z.core.$strip>; responseSummary: z.ZodObject<{ total: z.ZodNumber; eventIds: z.ZodArray; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; clientId: z.ZodString; clientType: z.ZodEnum<{ user: "user"; system: "system"; }>; createdAt: z.ZodString; operation: z.ZodEnum<{ "event.actions.notify.request": "event.actions.notify.request"; "event.actions.declare.request": "event.actions.declare.request"; "event.actions.register.request": "event.actions.register.request"; "event.actions.reject.request": "event.actions.reject.request"; "event.actions.validate.request": "event.actions.validate.request"; "event.actions.edit.request": "event.actions.edit.request"; "event.actions.assign.request": "event.actions.assign.request"; "event.actions.unassign.request": "event.actions.unassign.request"; "event.actions.read.request": "event.actions.read.request"; "event.actions.archive.request": "event.actions.archive.request"; "event.actions.reinstate.request": "event.actions.reinstate.request"; "event.actions.print_certificate.request": "event.actions.print_certificate.request"; "event.actions.correction.request.request": "event.actions.correction.request.request"; "event.actions.correction.approve.request": "event.actions.correction.approve.request"; "event.actions.correction.reject.request": "event.actions.correction.reject.request"; "event.actions.mark_as_duplicate.request": "event.actions.mark_as_duplicate.request"; "event.actions.mark_as_not_duplicate.request": "event.actions.mark_as_not_duplicate.request"; }>; requestData: z.ZodObject<{ eventId: z.ZodString; actionType: z.ZodString; eventType: z.ZodString; trackingId: z.ZodString; transactionId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; clientId: z.ZodString; clientType: z.ZodEnum<{ user: "user"; system: "system"; }>; createdAt: z.ZodString; operation: z.ZodLiteral<"event.actions.custom.request">; requestData: z.ZodObject<{ eventId: z.ZodString; actionType: z.ZodLiteral<"CUSTOM">; customAction: z.ZodString; eventType: z.ZodString; trackingId: z.ZodString; transactionId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; clientId: z.ZodString; clientType: z.ZodEnum<{ user: "user"; system: "system"; }>; createdAt: z.ZodString; operation: z.ZodLiteral<"integrations.create">; requestData: z.ZodObject<{ name: z.ZodString; scopes: z.ZodArray; }, z.core.$strip>; responseSummary: z.ZodObject<{ clientId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; clientId: z.ZodString; clientType: z.ZodEnum<{ user: "user"; system: "system"; }>; createdAt: z.ZodString; operation: z.ZodLiteral<"integrations.refreshToken">; requestData: z.ZodObject<{ clientId: z.ZodString; }, z.core.$strip>; responseSummary: z.ZodObject<{ clientId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; clientId: z.ZodString; clientType: z.ZodEnum<{ user: "user"; system: "system"; }>; createdAt: z.ZodString; operation: z.ZodLiteral<"integrations.deactivate">; requestData: z.ZodObject<{ id: z.ZodString; }, z.core.$strip>; responseSummary: z.ZodObject<{ id: z.ZodString; status: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; clientId: z.ZodString; clientType: z.ZodEnum<{ user: "user"; system: "system"; }>; createdAt: z.ZodString; operation: z.ZodLiteral<"integrations.activate">; requestData: z.ZodObject<{ id: z.ZodString; }, z.core.$strip>; responseSummary: z.ZodObject<{ id: z.ZodString; status: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; clientId: z.ZodString; clientType: z.ZodEnum<{ user: "user"; system: "system"; }>; createdAt: z.ZodString; operation: z.ZodLiteral<"integrations.delete">; requestData: z.ZodObject<{ id: z.ZodString; }, z.core.$strip>; responseSummary: z.ZodObject<{ id: z.ZodString; name: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; clientId: z.ZodString; clientType: z.ZodEnum<{ user: "user"; system: "system"; }>; createdAt: z.ZodString; operation: z.ZodLiteral<"integrations.refreshSecret">; requestData: z.ZodObject<{ id: z.ZodString; }, z.core.$strip>; responseSummary: z.ZodObject<{ clientId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; clientId: z.ZodString; clientType: z.ZodEnum<{ user: "user"; system: "system"; }>; createdAt: z.ZodString; operation: z.ZodLiteral<"attachments.upload">; requestData: z.ZodObject<{ transactionId: z.ZodString; path: z.ZodNullable; }, z.core.$strip>; responseSummary: z.ZodObject<{ fileUrl: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; clientId: z.ZodString; clientType: z.ZodEnum<{ user: "user"; system: "system"; }>; createdAt: z.ZodString; operation: z.ZodLiteral<"user.create_user">; requestData: z.ZodObject<{ subjectId: z.ZodString; role: z.ZodString; primaryOfficeId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; clientId: z.ZodString; clientType: z.ZodEnum<{ user: "user"; system: "system"; }>; createdAt: z.ZodString; operation: z.ZodEnum<{ "user.deactivate": "user.deactivate"; "user.reactivate": "user.reactivate"; }>; requestData: z.ZodObject<{ subjectId: z.ZodString; reason: z.ZodString; comment: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; clientId: z.ZodString; clientType: z.ZodEnum<{ user: "user"; system: "system"; }>; createdAt: z.ZodString; operation: z.ZodEnum<{ "user.edit_user": "user.edit_user"; "user.logged_in": "user.logged_in"; "user.logged_out": "user.logged_out"; "user.password_changed": "user.password_changed"; "user.password_reset": "user.password_reset"; "user.password_reset_by_admin": "user.password_reset_by_admin"; "user.resend_invite": "user.resend_invite"; "user.username_reminder": "user.username_reminder"; "user.username_reminder_by_admin": "user.username_reminder_by_admin"; }>; requestData: z.ZodObject<{ subjectId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; clientId: z.ZodString; clientType: z.ZodEnum<{ user: "user"; system: "system"; }>; createdAt: z.ZodString; operation: z.ZodLiteral<"user.email_address_changed">; requestData: z.ZodObject<{ subjectId: z.ZodString; }, z.core.$strip>; responseSummary: z.ZodObject<{ email: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; clientId: z.ZodString; clientType: z.ZodEnum<{ user: "user"; system: "system"; }>; createdAt: z.ZodString; operation: z.ZodLiteral<"user.phone_number_changed">; requestData: z.ZodObject<{ subjectId: z.ZodString; }, z.core.$strip>; responseSummary: z.ZodObject<{ phoneNumber: z.ZodString; }, z.core.$strip>; }, z.core.$strip>], "operation">; /** A persisted audit log entry as returned from the database. */ export type AuditLogEntry = z.infer; /** Distributes Omit over a union so each variant is narrowed correctly. */ type DistributiveOmit = T extends unknown ? Omit : never; /** Parameters for writing an audit log entry. All fields must be supplied * explicitly by the caller — do not pass JWT or context objects. */ export type AuditLogParams = DistributiveOmit; /** Union of all operation shapes (without auth or meta fields). */ export type AuditLogOperation = DistributiveOmit; /** Event action entries that carry a full event response summary. */ export type EventActionAuditLog = z.infer; /** Custom action entry — operation carries a `customAction` identifier. */ export type EventCustomActionAuditLog = Extract; export type EventCreateAuditLog = Extract; export type EventGetAuditLog = Extract; export type EventSearchAuditLog = Extract; export {}; //# sourceMappingURL=AuditLog.d.ts.map