-- name: githubratelimitwait__create_wait :one
INSERT INTO github_rate_limit_waits (
    project_id,
    run_id,
    contour_kind,
    signal_origin,
    operation_class,
    state,
    limit_kind,
    confidence,
    recovery_hint_kind,
    signal_id,
    request_fingerprint,
    correlation_id,
    resume_action_kind,
    resume_payload_json,
    manual_action_kind,
    auto_resume_attempts_used,
    max_auto_resume_attempts,
    resume_not_before,
    last_resume_attempt_at,
    first_detected_at,
    last_signal_at,
    resolved_at
)
VALUES (
    $1::uuid,
    $2::uuid,
    $3,
    $4,
    $5,
    $6,
    $7,
    $8,
    $9,
    $10,
    $11,
    $12,
    $13,
    $14,
    $15,
    $16,
    $17,
    $18,
    $19,
    $20,
    $21,
    $22
)
RETURNING *;
