mirror of
https://github.com/documenso/documenso.git
synced 2025-11-21 04:01:45 +10:00
fix: create audit log router
This commit is contained in:
@ -326,6 +326,18 @@ export const ZDownloadCertificateMutationSchema = z.object({
|
||||
documentId: z.number(),
|
||||
});
|
||||
|
||||
export const ZCreateAuditLogMutationSchema = z.object({
|
||||
documentId: z.number(),
|
||||
type: z.literal('DOCUMENT_SIGNING_LINK_COPIED'),
|
||||
data: z.object({
|
||||
recipientEmail: z.string(),
|
||||
recipientName: z.string(),
|
||||
recipientId: z.number(),
|
||||
recipientRole: z.string(),
|
||||
isBulkCopy: z.boolean(),
|
||||
}),
|
||||
});
|
||||
|
||||
export const ZMoveDocumentToTeamSchema = z.object({
|
||||
documentId: z.number().describe('The ID of the document to move to a team.'),
|
||||
teamId: z.number().describe('The ID of the team to move the document to.'),
|
||||
|
||||
Reference in New Issue
Block a user