Add missing integrations.info endpoint (#6474)

This commit is contained in:
Tom Moor
2024-02-01 20:18:55 -08:00
committed by GitHub
parent aecefc2c01
commit 490a1b6009
2 changed files with 30 additions and 1 deletions

View File

@@ -81,6 +81,15 @@ export const IntegrationsUpdateSchema = BaseSchema.extend({
export type IntegrationsUpdateReq = z.infer<typeof IntegrationsUpdateSchema>;
export const IntegrationsInfoSchema = BaseSchema.extend({
body: z.object({
/** Id of integration to find */
id: z.string().uuid(),
}),
});
export type IntegrationsInfoReq = z.infer<typeof IntegrationsInfoSchema>;
export const IntegrationsDeleteSchema = BaseSchema.extend({
body: z.object({
/** Id of integration to be deleted */