Add route with functionality for building out the true up review profile.

Этот коммит содержится в:
Conor Macpherson
2022-12-08 16:11:43 -05:00
родитель 6e6a1ec01c
Коммит c0735ae689
6 изменённых файлов: 175 добавлений и 6 удалений

Просмотреть файл

@@ -7,20 +7,23 @@ type TrueUpReviewProfile struct {
ServerId string `json:"server_id"`
ServerVersion string `json:"server_version"`
ServerInstallationType string `json:"server_installation_type"`
CustomerName *string `json:"customer_name"` // Might not be availabe?
LicenseId string `json:"licnes_id"`
LicnesedSeats int `json:"license_seats"`
LicensedSeats int `json:"licensed_seats"`
LicensePlan string `json:"license_plan"`
ActiveUsers int `json:"active_users"`
CustomerName string `json:"customer_name"`
ActiveUsers int64 `json:"active_users"`
AuthenticationFeatures []string `json:"authentication_features"`
Plugins TrueUpReviewPlugins `json:"plugins"`
TotalWebhooks int `json:"webhooks_count"`
TotalWebhooks int64 `json:"webhooks_count"`
TotalPlaybooks int `json:"playbooks_count"`
TotalBoards int `json:"boards_count"`
TotalCalls int `json:"calls_count"`
}
type TrueUpReviewPlugins struct {
TotalPlugins int `json:"total_plugins"`
PluginNames []string `json:"plugin_names"`
TotalPlugins int `json:"total_plugins"`
TotalActivePlugins int `json:"total_active_plugins"`
TotalInactivePlugins int `json:"total_inactive_plugins"`
ActivePluginNames []string `json:"active_plugin_names"`
InactivePluginNames []string `json:"inactive_plugin_names"`
}