feat: expiry endpoint

This commit is contained in:
Ephraim Atta-Duncan
2024-11-17 11:02:52 +00:00
parent ca2b6bea95
commit e31a10a943
8 changed files with 237 additions and 47 deletions

View File

@ -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>;