Files
cfw-autumn/shared/api/webhooks/vercel/vercelResourceProvisioned.ts
2026-03-23 16:29:36 +00:00

22 lines
613 B
TypeScript

import { z } from "zod/v4";
export const VercelResourceProvisionedSchema = z.object({
resource: z
.object({
id: z.string().meta({
description: "The unique identifier of the provisioned resource.",
}),
name: z.string().meta({
description: "The display name of the provisioned resource.",
}),
})
.meta({ description: "The resource that was provisioned." }),
installation_id: z.string().meta({
description: "The Vercel integration configuration ID.",
}),
access_token: z.string().meta({
description:
"An access token that can be used to patch the resource's secrets.",
}),
});