chore: add openapi description for enterprise field (#1520)
This commit is contained in:
@@ -161,7 +161,10 @@ export const ZCreateDocumentMutationSchema = z.object({
|
|||||||
globalAccessAuth: ZDocumentAccessAuthTypesSchema.optional(),
|
globalAccessAuth: ZDocumentAccessAuthTypesSchema.optional(),
|
||||||
globalActionAuth: ZDocumentActionAuthTypesSchema.optional(),
|
globalActionAuth: ZDocumentActionAuthTypesSchema.optional(),
|
||||||
})
|
})
|
||||||
.optional(),
|
.optional()
|
||||||
|
.openapi({
|
||||||
|
description: 'The globalActionAuth property is only available for Enterprise accounts.',
|
||||||
|
}),
|
||||||
formValues: z.record(z.string(), z.union([z.string(), z.boolean(), z.number()])).optional(),
|
formValues: z.record(z.string(), z.union([z.string(), z.boolean(), z.number()])).optional(),
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -325,7 +328,10 @@ export const ZCreateRecipientMutationSchema = z.object({
|
|||||||
.object({
|
.object({
|
||||||
actionAuth: ZRecipientActionAuthTypesSchema.optional(),
|
actionAuth: ZRecipientActionAuthTypesSchema.optional(),
|
||||||
})
|
})
|
||||||
.optional(),
|
.optional()
|
||||||
|
.openapi({
|
||||||
|
description: 'The authOptions property is only available for Enterprise accounts.',
|
||||||
|
}),
|
||||||
});
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user