package wireguard

type Peer struct {
	DeviceID            string   `json:"device_id"`
	PublicKey           string   `json:"public_key"`
	AssignedIP          string   `json:"assigned_ip"`
	AllowedDestinations []string `json:"allowed_destinations"`
}

type GatewayBundle struct {
	GatewayID string `json:"gateway_id"`
	Revision  int    `json:"revision"`
	Interface struct {
		Address    string `json:"address"`
		NetworkCIDR string `json:"network_cidr"`
		ListenPort int    `json:"listen_port"`
	} `json:"interface"`
	Peers []Peer `json:"peers"`
}
