Query consumer data for a product using a consent ID.
Resolves the consumer via the consent record, fetches their data, and records a QueryEvent for history tracking.
product_id : UUID
The product to query against.
request : ProductQueryInput
The query input containing consent_id.
deps : GraphQLServiceDeps
Injected GraphQL service dependencies.
result : ProductQueryOutput
The query result with consumer data and event ID.
POST /api/v1/products/{product_id}/query
{
"consent_id": "consent-john-doe"
}