diff --git a/src/schema.ts b/src/schema.ts index 29f9497..6088004 100644 --- a/src/schema.ts +++ b/src/schema.ts @@ -123,7 +123,7 @@ export const requestsFilterSchema = z.object({ export type RequestsFilter = z.infer; export const newRequestSchema = z.object({ - api_key: z.string().min(1), + api_key: z.any(), test: testObjectSchema, environments: z.array(environmentSchema).optional(), notification: notificationSchema.optional().nullable(), @@ -196,7 +196,7 @@ export const requestSchema = z.object({ export type Request = z.infer; export const cancelRequestSchema = z.object({ - api_key: z.string().min(1), + api_key: z.any(), }); export type CancelRequest = z.infer;