org export as json

This commit is contained in:
2026-01-30 00:30:50 +00:00
parent abc3568800
commit f469d43c8e
7 changed files with 168 additions and 0 deletions

View File

@@ -331,6 +331,16 @@ export const apiContract = c.router({
404: ApiErrorSchema,
},
},
organisationExport: {
method: "GET",
path: "/organisation/export",
query: OrgByIdQuerySchema,
responses: {
200: z.any(),
403: ApiErrorSchema,
404: ApiErrorSchema,
},
},
organisationUpdate: {
method: "POST",
path: "/organisation/update",