mirror of
https://github.com/documenso/documenso.git
synced 2025-11-19 19:21:39 +10:00
feat: expiry endpoint
This commit is contained in:
@ -80,3 +80,12 @@ export const ZRejectDocumentWithTokenMutationSchema = z.object({
|
||||
export type TRejectDocumentWithTokenMutationSchema = z.infer<
|
||||
typeof ZRejectDocumentWithTokenMutationSchema
|
||||
>;
|
||||
|
||||
export const ZSetSignerExpirySchema = z.object({
|
||||
documentId: z.number(),
|
||||
signerId: z.number(),
|
||||
expiry: z.date(),
|
||||
teamId: z.number().optional(),
|
||||
});
|
||||
|
||||
export type TSetSignerExpirySchema = z.infer<typeof ZSetSignerExpirySchema>;
|
||||
|
||||
Reference in New Issue
Block a user