12345678910111213141516171819 |
- import { z } from "zod";
- class ClientEventApi {
- GET_Event = {
- res: z.object({
- code: z.enum(["success"]),
- event: z.object({
- eventId: z.string().uuid(),
- eventInstId: z.string().uuid(),
- code: z.string(),
- eventTypeCode: z.string(),
- publicName: z.string(),
- timezone: z.string(),
- }),
- }),
- };
- }
- export const clientEventApi = new ClientEventApi();
|