2025-10-07 01:51:41 +08:00
|
|
|
import { z } from 'zod';
|
2025-10-07 02:45:06 +08:00
|
|
|
import { BaseScreenshotSearchSchema } from './requests.base';
|
2025-10-07 03:10:31 +08:00
|
|
|
import { PutMetricScreenshotRequestSchema } from './requests.metrics';
|
2025-10-07 01:51:41 +08:00
|
|
|
|
2025-10-07 03:10:31 +08:00
|
|
|
export const PutChatScreenshotRequestSchema = PutMetricScreenshotRequestSchema;
|
|
|
|
export const PutChatScreenshotParamsSchema = z.object({
|
|
|
|
id: z.string().uuid('Asset ID must be a valid UUID'),
|
2025-10-07 01:51:41 +08:00
|
|
|
});
|
|
|
|
|
|
|
|
export type PutChatScreenshotRequest = z.infer<typeof PutChatScreenshotRequestSchema>;
|
2025-10-07 02:06:07 +08:00
|
|
|
|
|
|
|
export const GetChatScreenshotParamsSchema = z.object({
|
|
|
|
id: z.string(),
|
|
|
|
});
|
|
|
|
|
|
|
|
export type GetChatScreenshotParams = z.infer<typeof GetChatScreenshotParamsSchema>;
|
|
|
|
|
2025-10-09 12:23:59 +08:00
|
|
|
export const GetChatScreenshotQuerySchema = z.object({}).merge(BaseScreenshotSearchSchema);
|
2025-10-07 02:06:07 +08:00
|
|
|
|
|
|
|
export type GetChatScreenshotQuery = z.infer<typeof GetChatScreenshotQuerySchema>;
|