import { z } from 'zod'
import { wireSecret } from '@pikku/core/secret'

export const notificationWebhookSecretSchema = z.string().min(16)

wireSecret({
  secretId: 'NOTIFICATION_WEBHOOK_SECRET',
  name: 'notificationWebhookSecret',
  displayName: 'Notification Webhook Secret',
  description: 'Shared secret used to sign outbound webhook payloads for card event notifications.',
  schema: notificationWebhookSecretSchema,
})
