2024-08-21 02:01:29 +02:00
|
|
|
// Copyright 2024, Command Line Inc.
|
2024-08-09 03:24:54 +02:00
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
package wcloud
|
|
|
|
|
|
|
|
import (
|
2024-09-05 23:25:45 +02:00
|
|
|
"github.com/wavetermdev/waveterm/pkg/telemetry"
|
2024-08-09 03:24:54 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
type NoTelemetryInputType struct {
|
|
|
|
ClientId string `json:"clientid"`
|
|
|
|
Value bool `json:"value"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type TelemetryInputType struct {
|
2024-09-19 20:57:40 +02:00
|
|
|
UserId string `json:"userid"`
|
|
|
|
ClientId string `json:"clientid"`
|
|
|
|
AppType string `json:"apptype,omitempty"`
|
|
|
|
AutoUpdateEnabled bool `json:"autoupdateenabled,omitempty"`
|
|
|
|
AutoUpdateChannel string `json:"autoupdatechannel,omitempty"`
|
|
|
|
CurDay string `json:"curday"`
|
|
|
|
Activity []*telemetry.ActivityType `json:"activity"`
|
2024-08-09 03:24:54 +02:00
|
|
|
}
|