// Unless explicitly stated otherwise all files in this repository are licensed
// under the Apache License Version 2.0.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2025 Datadog, Inc.

package transport

type AppProductChange struct {
	Products Products `json:"products"`
}

type Products map[Namespace]Product

func (AppProductChange) RequestType() RequestType {
	return RequestTypeAppProductChange
}

type Product struct {
	Version string `json:"version,omitempty"`
	Enabled bool   `json:"enabled"`
	Error   Error  `json:"error"`
}
